[OSRM-talk] OSRM 5.14.3 set kilometers long ways as small elements
Daniel Patterson
daniel at mapbox.com
Mon Mar 26 17:01:29 UTC 2018
Hi François,
The small component behaviour happens when a section of the graph is
disconnected from the rest. I can think of a few possible reasons you're
seeing this:
1. Your road isn't actually connected
2. Turn restrictions or one-ways are preventing access to both ends of
the road
3. Your map is really small - by default, isolated groups of <1000
nodes are flagged as separate "small components". If your total map is
<1000 nodes, then you'll probably get the whole thing flagged. You can
adjust by passing the `--small-component-size` parameter to
`osrm-extract`. Setting it to `--small-component-size 0` will mean that no
roads are marked as small, and snapping will all be to the nearest
neighbour.
If you use 3, note that it won't fix connectivity problems - even though
using `--small-component-size` will change what is used to snap, if there
is actually no route to a location (and the small component analysis is
indicating that there may not be), you will get `NoRoute` API responses.
daniel
On Mon, Mar 26, 2018 at 9:46 AM, François Lacombe <fl.infosreseaux at gmail.com
> wrote:
> Hi,
>
> As mentionned in the mail title, OSRM 5.14.3 is defining kilometers long
> ways as small which are seen with a purple casing in the debug view.
> I read this view may be buggy, and I don't see those ways in small layer
> of standard osrm-frontend.
>
> Nevertheless, osrm-routed won't use the path, despite it has a really good
> speed and rate.
> My profile was written from scratch, I can't publish it actually and I'm
> not allowed to publish a data extract (part of my client dataset)
>
> Furthermore, I have similar ways, with same weight, rate and speed which
> aren't seen as small and used by the routing engine really well.
>
> Here are the properties I get from process_way lua function :
> forward_mode = 3 (mode.walking)
> format_access = nil (both routable and not routable ways, should I have
> another value here?)
> weight = -1
> rate = 5
> speed = 45 (prefered path use rate=0.6 + speed = 0.1 ways)
>
> Is there any additionnal value I should watch to find why OSRM says I have
> small elements ?
>
>
> Any input is welcome regarding this issue, all the best
>
> François
>
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20180326/2c2d5f15/attachment.html>
More information about the OSRM-talk
mailing list