[OSRM-talk] OSRM 5.14.3 set kilometers long ways as small elements

François Lacombe fl.infosreseaux at gmail.com
Tue Mar 27 08:58:39 UTC 2018


Hi Daniel,

2018-03-26 19:48 GMT+02:00 Daniel Patterson <daniel at mapbox.com>:

> Hi François,
>
>   Yes, oneways onto your custom road network sound like exactly the kind
> of thing that the small component algorithm (https://en.wikipedia.org/
> wiki/Tarjan%27s_strongly_connected_components_algorithm) would flag.  If
> your custom network is <1000 nodes, it would've been flagged previously.
>
>   If you are only routing from the normal network *onto* your custom
> network, then changing the component size like you've done is the correct
> fix here.  Just be aware, if you start on your custom network, and try to
> return to the main network, you will get "NoRoute" errors, but it sounds
> like that won't be a problem for you.
>

This is indeed what I look for, no problem to get "No route" errors, but
only when network topology doesn't allow me to find one.
I don't understand why flagging part of the graph as "small element"
prevent a route to be found.

I would agree to a potential downgrade of small elements versus normal
ones, but a route have to be returned when it exists, haven't you?


>   I'm not sure what's up with the turn icons in the debug viewer - make
> sure you've zoomed in far enough, turn icons only show up from Z12 and
> higher.
>

Yes, I look between zoom 12 and 14
Still no turn icons

I'm wondering if it's only a display issue or a more serious problem in my
data processing.
Anyway, osrm gives me routes with turns and intersections so this sounds to
be only a display issue.


All the best

François
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20180327/382a5d17/attachment.html>


More information about the OSRM-talk mailing list