<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Martin,<br>
<br>
<span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">>
but please confirm that prepared graph data (provided by </span><font
face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans,
sans-serif" color="#333333"><span
style="font-size:14px;line-height:22.3999996185303px">graphhopper.sh
import *.osm</span></font><span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">)
is always the same </span><font
style="font-size:12.8000001907349px" face="Helvetica Neue,
Helvetica, Segoe UI, Arial, freesans, sans-serif"
color="#333333"><span
style="font-size:14px;line-height:22.3999996185303px">regardless
of chosen option (</span></font><span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">shortest
or fastest).</span><br>
<br>
You'll have to do two different import steps and e.g. maintain two
separate GraphHopper instances. That is the drawback of CH, but
you can also disable it and use the flexibility mode.<br>
<br>
Kind Regards,<br>
Peter<br>
<br>
On 16.03.2015 11:45, Martin Sauvage wrote:<br>
</div>
<blockquote
cite="mid:CACTC8-WbcAY0N2A5VRLWYH=zjfNY5KG1DaHMK-_HZu60QKGiuA@mail.gmail.com"
type="cite">
<div dir="ltr">
<p
style="margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px;margin-top:0px!important">Hello,</p>
<p
style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">I'm
evaluating shortest / fastest route on Android using GH 0.4:</p>
<p
style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">hopper
= new GraphHopper().forMobile();<br>
hopper.setCHWeighting("shortest");<br>
hopper.load(path);</p>
<p
style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">In
this example:</p>
<p
style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px"><span
style="line-height:22.3999996185303px"><a
moz-do-not-send="true"
href="https://graphhopper.com/maps/?point=48.064%2C-1.6228&point=48.0757%2C-1.6404&locale=fr-FR&layer=Lyrk"
target="_blank">https://graphhopper.com/maps/?point=48.064%2C-1.6228&point=48.0757%2C-1.6404&locale=fr-FR&layer=Lyrk</a></span></p>
<p
style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px"><span
style="line-height:22.3999996185303px">I don't see any
difference using "fastest" and "shortest" options while it
seems taking "Rue de la Hallerais" is the shortest.</span></p>
<p
style="margin-top:0px;margin-bottom:16px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;font-size:14px;line-height:22.3999996185303px">Peter,
yesterday you said "Note: you can either operate as shortest
or fastest for CH, not both. So once you have prepared the
graph (and eg. copied to Android) no change is currently
possible." </p>
<p style="margin-top:0px;margin-bottom:16px"><span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">I
suppose </span><font style="font-size:12.8000001907349px"
face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans,
sans-serif" color="#333333"><span
style="font-size:14px;line-height:22.3999996185303px">once
I use "</span></font><span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">hopper.load(path)"
I cannot change the option but please confirm that prepared
graph data (provided by </span><font face="Helvetica Neue,
Helvetica, Segoe UI, Arial, freesans, sans-serif"
color="#333333"><span
style="font-size:14px;line-height:22.3999996185303px">graphhopper.sh
import *.osm</span></font><span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">)
is always the same </span><font
style="font-size:12.8000001907349px" face="Helvetica Neue,
Helvetica, Segoe UI, Arial, freesans, sans-serif"
color="#333333"><span
style="font-size:14px;line-height:22.3999996185303px">regardless
of chosen option (</span></font><span
style="font-size:14px;color:rgb(51,51,51);font-family:'Helvetica
Neue',Helvetica,'Segoe
UI',Arial,freesans,sans-serif;line-height:22.3999996185303px">shortest
or fastest).</span><br>
</p>
</div>
</blockquote>
<br>
</body>
</html>