Dear Daniel,
Thank you for this quick and detailed answer, I will proceed using well
know nodes then.
Take care,
Xavier

Le lun. 2 nov. 2020 à 19:39, Daniel Patterson via OSRM-talk <
[email protected]> a écrit :

> The "steps" that OSRM emits are roughly intended to be human consumable
> instructions.  We often collapse "obvious" maneuvers where it'd be annoying
> to receive a visual/verbal prompt.  For this reason, "steps" aren't great
> objects to use for data analysis, unless you're specifically interested in
> the heuristics of ideal navigation instructions.
>
> The alternative I'd suggest would be to find a couple of OSM node IDs that
> are on the way you're interested in, and use the `annotations=nodes`
> parameter to return the list of nodes along the path - search that list for
> your well-known-nodes and you should have confirmation that a path
> traversed the geometry you care about.
>
> daniel
>
> On Mon, Nov 2, 2020 at 2:12 PM Xavier Prudent <[email protected]>
> wrote:
>
>> Dear OSRMers,
>>
>> I use OSRM to determine through which bridge a car would cross the river
>> St Laurent in Quebec city (Canada).
>> When running on the default OSM map, and using steps=true in the API
>> call,
>>
>> curl -s
>> http://127.0.0.1:4040/route/v1/driving/-71.2429112,46.7469116;-71.3315801,46.7701873?steps=true&annotations=true&overview=full
>>
>> I get all steps and street names for the itinerary, except for the Pont
>> of Québec. When doing the same with openTripPlanner I find its name in the
>> steps sequence.
>>
>> Why cannot I see this bridge in the OSRM routing steps?
>>
>> Thank you,
>>
>> regards,
>>
>> Xavier Prudent
>>
>>
>> --
>>
>> *Xavier Prudent *
>>
>> *Data Scientist  - Data Mining - Machine Learning*
>>
>> Web    :* www.xavierprudent.com <http://www.xavierprudent.com>*
>> Tel (Québec)      : (514) 668 76 46
>> Skype : xavierprudent
>>
>>
>> _______________________________________________
>> OSRM-talk mailing list
>> [email protected]
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>
> _______________________________________________
> OSRM-talk mailing list
> [email protected]
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
_______________________________________________
OSRM-talk mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to