[GraphHopper] Problem with config-properties

Peter K peathal at yahoo.de
Tue Feb 11 19:22:42 UTC 2014


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).

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.

Regards,
Peter.

>  Hello everybody, I download the grapphopper project on my Ubuntu pc
> at this link:
> download graphhopper <https://github.com/graphhopper/graphhopper/>
>
> I follow the  wiki page
> <https://github.com/graphhopper/graphhopper/wiki/Quickstart> 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 <http://localhost:8989/>, until
> this point I have no problem, I can see the map and calculate route
> but if I modify the config example properties
> <https://raw.github.com/graphhopper/graphhopper/master/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?
>
>
>
>
>
> _______________________________________________
> 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/20140211/5026a9a0/attachment.html>


More information about the GraphHopper mailing list