[GraphHopper] Routing between points - path is too short/long

Joel Haasnoot joelhaasnoot at gmail.com
Wed Jan 1 19:18:56 UTC 2014


Hi Peter,
Thanks for your input - I was unaware this functionality was in the latest
master. Philipp pointed me at it off-list, and I then discovered I was
unfortunately linking the wrong version. Once I fixed that, the results
were indeed much better.

Thanks,

Joel

----------------------------------------------------------
Joel Haasnoot


On Wed, Jan 1, 2014 at 6:55 PM, Peter K <peathal at yahoo.de> wrote:

> Hey
>
> > Hi,
> > I'm using Graphhopper as a library for a project that needs to
> > precompute a few paths between points (railway lines in this case). I
> > route between two lat/lon coordinates and extract the path from the
> > response. My OSM data is a very sparse graph of just railway lines,
> > which have long edges - but I'm routing between stations. Stations
> > however are not neccesarily on the line.
>
> Can you  connect the station and the lines in a post processing step?
>
> >
> > The routing works in principle, but the resulting paths are mostly
> > either too short (guessing the end of the edge closest), or too long
> > (the end of the edge?). Too long I could fix with postprocessing (tho
> > I prefer not to do so), but too short means I'm missing part of the
> > path. I've tried increasing the resolution of the index,
> > with setPreciseIndexResolution(), but not seeing any change. Is there
> > any way to improve this? Any ideas?
>
> Do you mean GPS exact routing? This is implemented in the master.
> Besides this no issues like this are known. So I would need some more
> details what could go wrong.
>
> Regards,
> Peter.
>
> _______________________________________________
> 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/20140101/54af339d/attachment.html>


More information about the GraphHopper mailing list