[GraphHopper] [Graphhopper]itinerary
Peter
graphhopper at gmx.de
Mon Jun 29 14:58:55 UTC 2015
Hi,
as Emux told you already IF you enable multiple vehicles in the
config.properties the Java code setup must be identical i.e. it has to
use the same order and number of vehicles:
bike, foot, car
that you seem to use in the config.properties
Regards,
Peter
On 29.06.2015 15:40, Fred Laurent wrote:
> 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
> <mailto: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 <mailto: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/20150629/afc95c5f/attachment.html>
More information about the GraphHopper
mailing list