<div dir="ltr"><div><div><div>Hello Emil,<br></div>As a matter of fact, the criterion which I'm trying to add is the cyclability, with an integer value from 1 to 5. With my project team, we already managed to include a Lua function in the bicycle profile which set this value according to tags like 'cycleway' and others. After that, we want to pass the value (as an attribute) all the way through the processing chain to the algorithm files.<br></div>I'm not sure if I'm clear, if not tell me.<br><br></div>Romain.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-18 15:17 GMT+01:00 Emil Tin <span dir="ltr"><<a href="mailto:ZF0F@tmf.kk.dk" target="_blank">ZF0F@tmf.kk.dk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="DA">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Keeping speed and impedance separate is not an easy task.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">I worked on it a good while back in this branch, but it was never complete:  <a href="https://github.com/Project-OSRM/osrm-backend/tree/feature/lua_impedance" target="_blank">https://github.com/Project-OSRM/osrm-backend/tree/feature/lua_impedance</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">See also
<a href="https://github.com/Project-OSRM/osrm-backend/issues/77" target="_blank">https://github.com/Project-OSRM/osrm-backend/issues/77</a>.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:11.0pt"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US">Kind regards<br>
<br>
<b>Emil Tin</b><br>
IT and Process Specialist<br>
Traffic<br>
_______________________________<br>
CITY OF COPENHAGEN <br>
Technical and Environmental Department <br>
City in Use <u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:6.0pt"><span style="font-size:6.0pt;font-family:"Verdana","sans-serif";color:black" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal" style="line-height:11.0pt"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">Njalsgade 13 Room. 118
<br>
Postbox 380 <br>
2300 Copenhagen S <u></u><u></u></span></p>
<p class="MsoNormal" style="line-height:6.0pt"><span style="font-size:6.0pt;font-family:"Verdana","sans-serif";color:black"><u></u> <u></u></span></p>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding:0cm 6.0pt 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">Direct<u></u><u></u></span></p>
</td>
<td style="padding:0cm 0cm 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">2369 5986<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 6.0pt 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">Mobile<u></u><u></u></span></p>
</td>
<td style="padding:0cm 0cm 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">2369 5986<u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 6.0pt 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">Email<u></u><u></u></span></p>
</td>
<td style="padding:0cm 0cm 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black"><a href="mailto:zf0f@tmf.kk.dk" target="_blank"><span style="color:black">zf0f@tmf.kk.dk</span></a><u></u><u></u></span></p>
</td>
</tr>
<tr>
<td style="padding:0cm 6.0pt 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">EAN<u></u><u></u></span></p>
</td>
<td style="padding:0cm 0cm 1.5pt 0cm" nowrap>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black">5798009493149<u></u><u></u></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black"><u></u> <u></u></span></p>
<p class="MsoNormal"><a href="http://www.sharingcopenhagen.dk/" target="_blank"></a><span style="font-size:8.0pt;font-family:"Verdana","sans-serif";color:black"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Fra:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Romain NKONGO [mailto:<a href="mailto:romain.rnk49@gmail.com" target="_blank">romain.rnk49@gmail.com</a>]
<br>
<b>Sendt:</b> 18. februar 2015 15:13<br>
<b>Til:</b> Mailing list to discuss Project OSRM<br>
<b>Emne:</b> [OSRM-talk] New way weight<u></u><u></u></span></p>
</div><span class="">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello again everyone,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Has anyone tried to add a new weight for the OSRM ways in addition of the speed? I try to add a cyclability criterion for the routing calculation and actually I look for every OSRM files where I could this attribute
 along with the speed so it will be taken into account in a bi-objective algorithm. Is there an easier way?<u></u><u></u></p>
</div>
<p class="MsoNormal">Thanks.<u></u><u></u></p>
</div>
</span></div>
</div>

<br>_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
<br></blockquote></div><br></div>