<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">You either need to append vehicle=foot
to the URL (if the query had the wrong vehicle) or recreate the
graph (if the import was done only via car).<br>
<br>
If it is the first problem I think we should fix this (although I
though it was already fixed) - please open an issue for it. Just a
small tweak somewhere in the javascript.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote cite="mid:1440177bbd6.marcosi66@virgilio.it" type="cite"> Hello
everybody, I download the grapphopper project on my Ubuntu pc at
this link:
<br>
<a moz-do-not-send="true"
href="https://github.com/graphhopper/graphhopper/" target="_top"
rel="nofollow">download graphhopper</a><br>
<br>
I follow the <a moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>