<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
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:<br>
bike, foot, car<br>
that you seem to use in the config.properties<br>
<br>
Regards,<br>
Peter<br>
<br>
On 29.06.2015 15:40, Fred Laurent wrote:<br>
</div>
<blockquote
cite="mid:CAHCHuSPZDmu0oOtmexbxVbrCJCdLLNiKL21B+BnMonCzGNJpJw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Sorry, thank you for your answer Sir,<br>
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<br>
hopper.setEncodingManager(new EncodingManager("bike")); I
haven't error <br>
But if I edited the config.propeties in the sections
graph.flagEncoders=bike,car I have an error :<br>
An error happend while creating graph:Encoding does not match:<br>
Graphhopper config:
bike|speedFactor=2.0|speedBits=4|turnCosts=false|version=1<br>
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/<br>
</div>
thank you<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-06-29 14:29 GMT+02:00 Emux <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:devemux86@gmail.com" target="_blank">devemux86@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 29/06/2015 03:23 μμ, Fred Laurent wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">how create graph for bike? To create
graph I make ./graphhopper import data.osm.pbf<br>
</div>
</blockquote>
<br>
</span> You can modify config properties file (GH uses it
at graph creation).<br>
<br>
Check it and you'll find in it the proper instructions for
vehicles.<span class=""><br>
<br>
<div>-- <br>
<font color="#000000">Emux</font><br>
<a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Cruiser"
target="_blank">Cruiser</a> - <a
moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29"
target="_blank">Atlas</a></div>
</span></div>
<br>
_______________________________________________<br>
GraphHopper mailing list<br>
<a moz-do-not-send="true"
href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a><br>
<a moz-do-not-send="true"
href="https://lists.openstreetmap.org/listinfo/graphhopper"
rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/graphhopper</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<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>