[GraphHopper] Routing has gaps

Timothy Lehner tim at accelogress.com
Mon Aug 4 14:38:47 UTC 2014


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> wrote:

>
> Am 04.08.2014 um 15:22 schrieb Timothy Lehner <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
> https://lists.openstreetmap.org/listinfo/graphhopper
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140804/06f52e18/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-08-04 at 15.28.09.png
Type: image/png
Size: 42335 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140804/06f52e18/attachment.png>


More information about the GraphHopper mailing list