Hello everybody, I download the grapphopper project on my Ubuntu pc at this link:
<br><a href="https://github.com/graphhopper/graphhopper/" target="_top" rel="nofollow">download graphhopper</a><br><br>I follow the <a href="https://github.com/graphhopper/graphhopper/wiki/Quickstart" target="_top" rel="nofollow">wiki page</a> but on the point 5 I do this command on my shell (I am already in the grapphopper directory):
<br><br>./graphhopper.sh web europe_italy.pbf
<br><br>And then i go to the <a href="http://localhost:8989/" target="_top" rel="nofollow">my local host</a>, until this point I have no problem, I can see the map and calculate route but if I modify the <a href="https://raw.github.com/graphhopper/graphhopper/master/config-example.properties" target="_top" rel="nofollow">config example properties</a> osmreader.acceptWay=CAR to osmreader.acceptWat=FOOT on my local host there is an error:
<br><br><i>HTTP ERROR: 503
<br><br>Problem accessing /. Reason:
<br><br> Service Unavailable
<br><br>Powered by Jetty://</i><br><br><br>If I change graphhopper/web/src/main/java/com/graphhopper/http/GraphHopperServlet.java
<br><i>String vehicleStr = getParam(req, "vehicle",
"CAR").toUpperCase(); to String vehicleStr = getParam(req, "vehicle",
"FOOT").toUpperCase();</i> too, on the local host i don't see anything a part of the buttom, if I only change the <i>String
vehicleStr = getParam(req, "vehicle", "CAR").toUpperCase(); to
String vehicleStr = getParam(req, "vehicle", "FOOT").toUpperCase();</i> 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 :
<br><br><i>Vehicle not supported: FOOT</i><br><br>Why? What I have to do to modify this accept Way?
<br><br><br><br>