<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Sorry, no. Note also that the description is a bit outdated.<div class=""><br class=""></div><div class="">Emil</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 18 Feb 2015, at 18:02 , Romain NKONGO <<a href="mailto:romain.rnk49@gmail.com" class="">romain.rnk49@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Do you have another version of the explanation on the processing chain that the one in the Git documentation, on the page "Processus Flow"? Not that this one didn't help me at all, but I'd like to know which files are used to have a better idea where to search.<br class=""><br class=""></div><div class="gmail_extra" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""><div class="gmail_quote">2015-02-18 15:43 GMT+01:00 Emil Tin<span class="Apple-converted-space"> </span><span dir="ltr" class=""><<a href="mailto:ZF0F@tmf.kk.dk" target="_blank" class="">ZF0F@tmf.kk.dk</a>></span>:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div link="blue" vlink="purple" lang="DA" class=""><div class=""><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">What you call cyclability is often called impedance. Lua is the easy part. The hard part is making you you keep speed and impedance separate all the way through the processing chain, sine you still need speed to compute the travel time.<u class=""></u><u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><u class=""></u> <u class=""></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><u class=""></u> <u class=""></u></span></p><div class=""><div class=""><p class="MsoNormal" style="line-height: 11pt;"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Med venlig hilsen<br class=""><br class=""><b class="">Emil Tin</b><br class="">IT- og Processpecialist<br class="">Trafik<br class="">_______________________________<br class="">KØBENHAVNS KOMMUNE<span class="Apple-converted-space"> </span><br class="">Teknik- og Miljøforvaltningen<span class="Apple-converted-space"> </span><br class="">Byens Anvendelse<span class="Apple-converted-space"> </span><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal" style="line-height: 6pt;"><span style="font-size: 6pt; font-family: Verdana, sans-serif;" class=""><u class=""></u> <u class=""></u></span></p></div><div class=""><p class="MsoNormal" style="line-height: 11pt;"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Njalsgade 13 Vær. 1035<span class="Apple-converted-space"> </span><br class="">Postboks 380<span class="Apple-converted-space"> </span><br class="">2300 København S<span class="Apple-converted-space"> </span><u class=""></u><u class=""></u></span></p></div><div class=""><p class="MsoNormal" style="line-height: 6pt;"><span style="font-size: 6pt; font-family: Verdana, sans-serif;" class=""><u class=""></u> <u class=""></u></span></p></div><div class=""><table border="0" cellpadding="0" cellspacing="0" class=""><tbody class=""><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Direkte<u class=""></u><u class=""></u></span></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">2369 5986<u class=""></u><u class=""></u></span></p></td></tr><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Mobil<u class=""></u><u class=""></u></span></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">2369 5986<u class=""></u><u class=""></u></span></p></td></tr><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Email<u class=""></u><u class=""></u></span></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class=""><a href="mailto:zf0f@tmf.kk.dk" target="_blank" class=""><span style="" class="">zf0f@tmf.kk.dk</span></a><u class=""></u><u class=""></u></span></p></td></tr><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">EAN<u class=""></u><u class=""></u></span></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">5798009493149<u class=""></u><u class=""></u></span></p></td></tr></tbody></table></div></div><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><u class=""></u> <u class=""></u></span></p><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class=""><p class="MsoNormal"><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">Fra:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>Romain NKONGO [mailto:<a href="mailto:romain.rnk49@gmail.com" target="_blank" class="">romain.rnk49@gmail.com</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sendt:</b><span class="Apple-converted-space"> </span>18. februar 2015 15:35<span class=""><br class=""><b class="">Til:</b><span class="Apple-converted-space"> </span>Mailing list to discuss Project OSRM<br class=""></span><b class="">Emne:</b><span class="Apple-converted-space"> </span>Re: [OSRM-talk] New way weight<u class=""></u><u class=""></u></span></p></div><div class=""><div class="h5"><p class="MsoNormal"><u class=""></u> <u class=""></u></p><div class=""><div class=""><div class=""><div class=""><p class="MsoNormal">Hello Emil,<u class=""></u><u class=""></u></p></div><p class="MsoNormal">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.<u class=""></u><u class=""></u></p></div><p class="MsoNormal" style="margin-bottom: 12pt;">I'm not sure if I'm clear, if not tell me.<u class=""></u><u class=""></u></p></div><p class="MsoNormal">Romain.<u class=""></u><u class=""></u></p></div><div class=""><p class="MsoNormal"><u class=""></u> <u class=""></u></p><div class=""><p class="MsoNormal">2015-02-18 15:17 GMT+01:00 Emil Tin <<a href="mailto:ZF0F@tmf.kk.dk" target="_blank" class="">ZF0F@tmf.kk.dk</a>>:<u class=""></u><u class=""></u></p><div class=""><div class=""><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Keeping speed and impedance separate is not an easy task.</span><u class=""></u><u class=""></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">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" class="">https://github.com/Project-OSRM/osrm-backend/tree/feature/lua_impedance</a></span><u class=""></u><u class=""></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">See also<span class="Apple-converted-space"> </span><a href="https://github.com/Project-OSRM/osrm-backend/issues/77" target="_blank" class="">https://github.com/Project-OSRM/osrm-backend/issues/77</a>.</span><u class=""></u><u class=""></u></p><p class="MsoNormal"><span lang="EN-US" style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="line-height: 11pt;"><span lang="EN-US" style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Kind regards<br class=""><br class=""><b class="">Emil Tin</b><br class="">IT and Process Specialist<br class="">Traffic<br class="">_______________________________<br class="">CITY OF COPENHAGEN<span class="Apple-converted-space"> </span><br class="">Technical and Environmental Department<span class="Apple-converted-space"> </span><br class="">City in Use<span class="Apple-converted-space"> </span></span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="line-height: 6pt;"><span lang="EN-US" style="font-size: 6pt; font-family: Verdana, sans-serif;" class=""> </span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="line-height: 11pt;"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Njalsgade 13 Room. 118<span class="Apple-converted-space"> </span><br class="">Postbox 380<span class="Apple-converted-space"> </span><br class="">2300 Copenhagen S<span class="Apple-converted-space"> </span></span><u class=""></u><u class=""></u></p><p class="MsoNormal" style="line-height: 6pt;"><span style="font-size: 6pt; font-family: Verdana, sans-serif;" class=""> </span><u class=""></u><u class=""></u></p><table border="0" cellpadding="0" cellspacing="0" class=""><tbody class=""><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Direct</span><u class=""></u><u class=""></u></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">2369 5986</span><u class=""></u><u class=""></u></p></td></tr><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Mobile</span><u class=""></u><u class=""></u></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">2369 5986</span><u class=""></u><u class=""></u></p></td></tr><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">Email</span><u class=""></u><u class=""></u></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class=""><a href="mailto:zf0f@tmf.kk.dk" target="_blank" class=""><span style="" class="">zf0f@tmf.kk.dk</span></a></span><u class=""></u><u class=""></u></p></td></tr><tr class=""><td nowrap="" style="padding: 0cm 6pt 1.5pt 0cm;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">EAN</span><u class=""></u><u class=""></u></p></td><td nowrap="" style="padding: 0cm 0cm 1.5pt;" class=""><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class="">5798009493149</span><u class=""></u><u class=""></u></p></td></tr></tbody></table><p class="MsoNormal"><span style="font-size: 8pt; font-family: Verdana, sans-serif;" class=""> </span><u class=""></u><u class=""></u></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><u class=""></u><u class=""></u></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span><u class=""></u><u class=""></u></p><div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class=""><p class="MsoNormal"><b class=""><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">Fra:</span></b><span style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>Romain NKONGO [mailto:<a href="mailto:romain.rnk49@gmail.com" target="_blank" class="">romain.rnk49@gmail.com</a>]<span class="Apple-converted-space"> </span><br class=""><b class="">Sendt:</b><span class="Apple-converted-space"> </span>18. februar 2015 15:13<br class=""><b class="">Til:</b><span class="Apple-converted-space"> </span>Mailing list to discuss Project OSRM<br class=""><b class="">Emne:</b><span class="Apple-converted-space"> </span>[OSRM-talk] New way weight</span><u class=""></u><u class=""></u></p></div><p class="MsoNormal"> <u class=""></u><u class=""></u></p><div class=""><div class=""><div class=""><p class="MsoNormal" style="margin-bottom: 12pt;">Hello again everyone,<u class=""></u><u class=""></u></p></div><p class="MsoNormal" style="margin-bottom: 12pt;">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 class=""></u><u class=""></u></p></div><p class="MsoNormal">Thanks.<u class=""></u><u class=""></u></p></div></div></div><p class="MsoNormal" style="margin-bottom: 12pt;"><br class="">_______________________________________________<br class="">OSRM-talk mailing list<br class=""><a href="mailto:OSRM-talk@openstreetmap.org" target="_blank" class="">OSRM-talk@openstreetmap.org</a><br class=""><a href="https://lists.openstreetmap.org/listinfo/osrm-talk" target="_blank" class="">https://lists.openstreetmap.org/listinfo/osrm-talk</a><u class=""></u><u class=""></u></p></div><p class="MsoNormal"><u class=""></u> <u class=""></u></p></div></div></div></div></div><br class="">_______________________________________________<br class="">OSRM-talk mailing list<br class=""><a href="mailto:OSRM-talk@openstreetmap.org" class="">OSRM-talk@openstreetmap.org</a><br class=""><a href="https://lists.openstreetmap.org/listinfo/osrm-talk" target="_blank" class="">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br class=""><br class=""></blockquote></div><br class=""></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OSRM-talk mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OSRM-talk@openstreetmap.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OSRM-talk@openstreetmap.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.openstreetmap.org/listinfo/osrm-talk" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.openstreetmap.org/listinfo/osrm-talk</a></div></blockquote></div><br class=""></div></body></html>