[GraphHopper] [Graphhopper]itinerary

Fred Laurent fredlaurent31 at gmail.com
Mon Jun 29 13:40:48 UTC 2015


Sorry, thank you for your answer Sir,
Can you explain me why if I edited the config.propreties in the section
graph.flagEncoders=bike and i create graph , I run my application using
hopper.setEncodingManager(new EncodingManager("bike")); I haven't error
But if I edited the config.propeties in the sections
graph.flagEncoders=bike,car I have an error :
An error happend while creating graph:Encoding does not match:
    Graphhopper config:
bike|speedFactor=2.0|speedBits=4|turnCosts=false|version=1
    Graph:
bike|speedFactor=2.0|speedBits=4|turnCosts=false|version=1,foot|speedFactor=1.0|speedBits=4|turnCosts=false|version=1,car|speedFactor=5.0|speedBits=5|turnCosts=false|version=1,
dir:/storage/sdcard0/graphhopper/maps/data-gh/
thank you

2015-06-29 14:29 GMT+02:00 Emux <devemux86 at gmail.com>:

>  On 29/06/2015 03:23 μμ, Fred Laurent wrote:
>
> how create graph for bike? To create graph I make ./graphhopper import
> data.osm.pbf
>
>
> You can modify config properties file (GH uses it at graph creation).
>
> Check it and you'll find in it the proper instructions for vehicles.
>
> --
> Emux
> Cruiser <http://wiki.openstreetmap.org/wiki/Cruiser> - Atlas
> <http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29>
>
> _______________________________________________
> 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/20150629/3342ea92/attachment.html>


More information about the GraphHopper mailing list