[GraphHopper] Problem with config-properties

ratrun ratrun at gmx.at
Wed Feb 12 08:15:55 UTC 2014


Hi,

I assume you are using version 0.2. This problem should be already fixed 
in version 0.3-SNAPSHOT on git.

regards,

ratrun


Am 11.02.2014 20:22, schrieb Peter K:
> 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
>
>
>
> _______________________________________________
> 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/20140212/23794295/attachment.html>


More information about the GraphHopper mailing list