<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 Giampaolo,<br>
<br>
> So if i decrement these values the result is an increase in
travel time is right?<br>
<br>
yes that is correct.<br>
<br>
> Are they expressed in Km/h (e.g. motorway ? 100Km/h)?<br>
<br>
Yes. And yes 100km/h seems slow for motorway but we use mean
values here. And they could be decreased by max_speed tags or even
increased (for cars only).<br>
<br>
Also keep in mind that this issue is still open:<br>
<a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/issues/230">https://github.com/graphhopper/graphhopper/issues/230</a><br>
<br>
Regards,<br>
Peter<br>
<br>
On 10.12.2014 13:20, Giampaolo wrote:<br>
</div>
<blockquote
cite="mid:CABsGe7_GA1Xv5Ub+q+x9=pUAA3fJkbNZ=0G+1UUowp+jCeQKZQ@mail.gmail.com"
type="cite">
<div dir="ltr">Thanks for the answer Peter :)<br>
<br>
Studying the code I realized that in the
class com.graphhopper.routing.util.CarFlagEncoder we have :<br>
<br>
<table class=""
style="border-spacing:0px;width:1137px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,'Segoe
UI Emoji','Segoe UI
Symbol';font-size:13px;line-height:18.2000007629395px">
<tbody>
<tr>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)">+
<span class="" style="color:rgb(150,152,150)">//
autobahn</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR102"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>motorway<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">100</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR103"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>motorway_link<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">70</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR104"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">//
bundesstraße</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR105"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>trunk<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">70</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR106"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>trunk_link<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">65</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR107"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">// linking
bigger town</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR108"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>primary<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">65</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR109"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>primary_link<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">60</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR110"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">// linking
towns + villages</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR111"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>secondary<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">60</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR112"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>secondary_link<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">50</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR113"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">// streets
without middle line separation</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR114"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>tertiary<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">50</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR115"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>tertiary_link<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">40</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR116"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>unclassified<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">30</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR117"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>residential<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">30</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR118"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">//
spielstraße</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR119"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>living_street<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">5</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR120"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>service<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">20</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR121"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">// unknown
road</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR122"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>road<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">20</span>);</td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR123"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
<span class="" style="color:rgb(150,152,150)">//
forestry stuff</span></td>
</tr>
<tr>
<td class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td id="diff-3ec2c3289eb9d48c060da4db211a4d1fR124"
class="" style="padding:0px
10px;width:50px;min-width:50px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18px;color:rgba(0,0,0,0.298039);vertical-align:top;text-align:right;border-style:solid;border-color:rgb(193,233,193);border-width:0px
1px 0px 0px;background-color:rgb(219,255,219)"><br>
</td>
<td class="" style="padding:0px
10px;font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;vertical-align:top;white-space:pre;overflow:visible;background-color:rgb(234,255,234)"><span
class=""
style="font-stretch:normal;font-size:16px;font-family:octicons;line-height:20px;display:inline-block;float:left;width:20px;height:20px;color:rgb(255,255,255);text-align:center;border-radius:3px;background-image:linear-gradient(rgb(84,144,202),rgb(65,131,196));background-color:rgb(65,131,196);background-repeat:repeat-x"></span>+
defaultSpeedMap<span class=""
style="color:rgb(167,29,93)">.</span>put(<span
class="" style="color:rgb(223,80,0)"><span class="">"</span>track<span
class="">"</span></span>, <span class=""
style="color:rgb(0,134,179)">15</span>);
</td>
</tr>
</tbody>
</table>
<br>
So in the hashMap <span
style="color:rgb(51,51,51);font-family:Consolas,'Liberation
Mono',Menlo,Courier,monospace;font-size:12px;line-height:18.2000007629395px;white-space:pre;background-color:rgb(234,255,234)">defaultSpeedMap
</span>we have the default speed values for each type of highway
(<a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Key:highway">http://wiki.openstreetmap.org/wiki/Key:highway</a>)
and i suppose that these values are used to calculate travel
times of each route.<br>
Are they expressed in Km/h (e.g. motorway ? 100Km/h)? So if i
decrement these values the result is an increase in travel time
is right?<br>
<br>
Thank for your help<br>
<br>
Giampaolo</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2014-11-27 13:22 GMT+01:00 Peter <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:graphhopper@gmx.de" target="_blank">graphhopper@gmx.de</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">
<div>This is a known issue and will be fixed soon:<br>
<a moz-do-not-send="true"
href="https://github.com/graphhopper/graphhopper/issues/230"
target="_blank">https://github.com/graphhopper/graphhopper/issues/230</a><br>
<br>
Regards,<br>
Peter<span class=""><br>
<br>
On 27.11.2014 13:19, Giampaolo wrote:<br>
</span></div>
<span class="">
<blockquote type="cite">
<div dir="ltr">Hi Peter,<br>
<br>
thanks for your answer,I managed to build distance
and time matrix :)<br>
<br>
I have a question about values returned
from res.getMillis() : they are always lower than
the values provided by google maps or bing.<br>
<br>
As example , a route of 3,7 Km in the center of
Milan city is :<br>
<br>
10 Min - GoogleMaps<br>
8 Min - Bing<br>
About 4 Min - my time matrix<br>
<br>
these values are referred to routes without
traffic.How can I make my values consistent with
those?<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2014-11-23 15:31 GMT+01:00
Peter <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:graphhopper@gmx.de"
target="_blank">graphhopper@gmx.de</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">
<div>Hi Giampaolo,<br>
<br>
you need to get the route information like
distance and time from the hopper.route()
call like in this example:<br>
<a moz-do-not-send="true"
href="https://github.com/karussell/optaplanner-graphhopper-example/blob/master/src/main/java/com/graphhopper/optaplanner/Main.java#L59"
target="_blank">https://github.com/karussell/optaplanner-graphhopper-example/blob/master/src/main/java/com/graphhopper/optaplanner/Main.java#L59</a><br>
<br>
Regards,<br>
Peter
<div>
<div><br>
<br>
<br>
On 23.11.2014 14:38, Giampaolo wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">
<p class="MsoNormal"><span
style="color:rgb(31,73,125)"
lang="EN-US">Hi all </span><span
style="font-family:Wingdings;color:rgb(31,73,125)" lang="EN-US">J</span><span
style="color:rgb(31,73,125)"
lang="EN-US"> ,<br>
<br>
My name is Giampaolo, I’m
currently trying to build a
Distance Matrix offline, based on
Italy’region OSM Map, using GH<br>
<br>
As a first step I’ve run the
main.java successfully ,my
sourcefile is lombardia.pbf (the
region that contains Milan city) ,
then I pass the
GHPoint(45.4974413, 9.1865076) of
a station point placed inside the
city, then I call hopper.route().<br>
At the end of the process, it
generates some files like edges,
names, nodes etc … <br>
<br>
Now , how can I read/open the
files created? All the path from
the GHPoint to all other nodes of
the map are placed inside these
files?</span><span lang="EN-US"></span></p>
<span style="color:rgb(31,73,125)"
lang="EN-US"><br>
thanks a lot for your support!<br>
<br>
Giampaolo</span></div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</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"
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>