[GraphHopper] Routing has gaps
Nop
ekkehart at gmx.de
Mon Aug 4 16:08:09 UTC 2014
Hi!
As Timothy said, the result is simplified by default. Most likely those
points were removed, as additional points along a straigt line are not
needed.
So I think everything is working fine. If you want ALL points, you need
to disable the Douglas-Peucker or set the tolerance to a very small value.
bye
Nop
Am 04.08.2014 16:38, schrieb Timothy Lehner:
> Hello All,
>
> Sorry for the confusion, I'll try to be clearer.
>
> I have an open street map with a section that may look like this:
>
>
>
> I want to travel along the green path. When routing, the route is
> returned as a list of co-ordinate points.
>
> For the stretch of road with the circles, the route says I should travel
> from the co-ordinate of the green circle, to that of the blue circle,
> however it has missed out the three nodes in between (red).
>
> As a result I cannot traverse the route, as I see no way to travel from
> the green circle, directly to the blue circle, I must travel via the red
> circles which have been omitted.
>
> I was wondering if there was a way to have the route returned detailing
> every node that needs to be visited, and in the order it needs visiting,
> (so instead of getting 2 points, here I'd expect to get 5)
>
> Does this make things clearer?
>
> Many thanks,
>
> Tim
>
>
>
> On 4 August 2014 15:20, Jan Torben Heuer <jan at komoot.de
> <mailto:jan at komoot.de>> wrote:
>
>
> Am 04.08.2014 um 15:22 schrieb Timothy Lehner <tim at accelogress.com
> <mailto:tim at accelogress.com>>:
>
>> For example, if my OpenStreetMap has a few close packed nodes, the
>> route calulcated will have maybe two latLong points. The lat long
>> points of the nodes in between are missed.
>
> Not sure what „close packed nodes“ are but:
> - There is a maximum accuracy (10e-6?) due to packing the
> coordinates into integer values.
> - There is a default douglas peucker hat simplifies geometries.
>
> Maybe one of it is the reason.
>
> Ja
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org <mailto:GraphHopper at openstreetmap.org>
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
>
>
> _______________________________________________
> GraphHopper mailing list
> GraphHopper at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/graphhopper
>
More information about the GraphHopper
mailing list