[GraphHopper] Problem with config-properties
marcosi66 at virgilio.it
marcosi66 at virgilio.it
Wed Feb 5 09:53:48 UTC 2014
Hello everybody, I download the grapphopper project on my Ubuntu pc at this link:
download graphhopper
I follow the wiki page but on the point 5 I do this command on my shell (I am already in the grapphopper directory):
./graphhopper.sh web europe_italy.pbf
And then i go to the my local host, until this point I have no problem, I can see the map and calculate route but if I modify the config example properties osmreader.acceptWay=CAR to osmreader.acceptWat=FOOT on my local host there is an error:
HTTP ERROR: 503
Problem accessing /. Reason:
Service Unavailable
Powered by Jetty://
If I change graphhopper/web/src/main/java/com/graphhopper/http/GraphHopperServlet.java
String vehicleStr = getParam(req, "vehicle",
"CAR").toUpperCase(); to String vehicleStr = getParam(req, "vehicle",
"FOOT").toUpperCase(); too, on the local host i don't see anything a part of the buttom, if I only change the String
vehicleStr = getParam(req, "vehicle", "CAR").toUpperCase(); to
String vehicleStr = getParam(req, "vehicle", "FOOT").toUpperCase(); and
not the config example (otherwise I don't change
osmreader.acceptWay=CAR), and I go to localhost I can see the map but if
I want to calculate route there is an error :
Vehicle not supported: FOOT
Why? What I have to do to modify this accept Way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/graphhopper/attachments/20140205/dff2a403/attachment.html>
More information about the GraphHopper
mailing list