Re: [OSRM-talk] pont de Québec not in the routing steps of OSRM

2020-11-02 Thread Daniel Patterson via OSRM-talk
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 
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=true=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 *
> Tel (Québec)  : (514) 668 76 46
> Skype : xavierprudent
>
>
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


[OSRM-talk] pont de Québec not in the routing steps of OSRM

2020-11-02 Thread Xavier Prudent
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=true=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 *
Tel (Québec)  : (514) 668 76 46
Skype : xavierprudent
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk