[GraphHopper] issue: Cannot find point
Dino Joseph Mycle
dinomycle at yahoo.com
Sat May 17 12:58:41 UTC 2014
Dear ALL,
i had installed the graphhopper in ubuntu server using the git clone command and using the asia map from the below link
http://download.geofabrik.de/asia/india.html
running the graphhopper using the command
./graphhopper.sh web asia_india.pbf
i am facing issue while giving the routing points using the below command ,
the error i get is Cannot find point
http://serveraddresss:8989/route?calc_points=false&point=9.983242,76.390418&point=9.990618,76.421088
Error
{"info":{"errors":[{"message":"Cannot find point 1: 9.9906,76.421","details":"java.lang.IllegalArgumentException"}]}}the above is inside the for loop when i checked the code, in the function getPaths()
core/src/main/java/com/graphhopper/GraphHopper.java
the function locationIndex.findClosest(point.lat, point.lon, edgeFilter); is not getting any nearby roads i think
but
if i try the same points in the graphhopper website is get nearest
points and the distance to that point. check the below link
http://graphhopper.com/maps/?point=9.983242%2C76.390418&point=9.990618%2C76.421088
i want to know why my graphhopper(myserver) setup and graphhopper.com setup giving me different results.
1) Any configuration needs to be changed to ger the live graphhopper setup ?
2) Also can someone tell me how to rebuild the jar file alone while starting the
./graphhopper.sh web asia_india.pbf so that i can put some prints ans try to debug ti improve the system ?
3) How the function
locationIndex.findClosest(point.lat, point.lon, edgeFilter); works ?, i
am not from java background, trying to understand the system
Thanks for the understanding and help
Dino Joseph Mycle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140517/b1a311cc/attachment.html>
More information about the GraphHopper
mailing list