<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">So I have modified car.lua file : maxspeed_table_default (all values fixed to 50) and maxspeed_table ["fr:urban"] = 10 etc...<div><br></div><div>I have re-runned `osrm-extract/osrm-partition/osrm-customize/osrm-contract` and it changes nothing. I get the same result.</div><div><br></div><div>I must do something wrong...</div><div><br></div><div>Didier</div><div><br><div><div>Le mer.09/01/19 à 18:18, Daniel Patterson a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div dir="ltr">Hi Didier,<div><br></div><div> The `car.lua` file are all the rules for deciding which OSM ways to import, and what speeds to assign to them. If you modify the Lua script, you need to re-run `osrm-extract/osrm-contract`.</div><div><br></div><div> The OSRM demoserver at `<a href="http://router.project-osrm.org/">router.project-osrm.org</a>` *also* has traffic data imported (using this mechanism: <a href="https://github.com/Project-OSRM/osrm-backend/wiki/Traffic">https://github.com/Project-OSRM/osrm-backend/wiki/Traffic</a>), supplied by Mapbox, so travel times and routes may differ from datasets you generate yourself just using the `car.lua` profile locally.</div><div><br></div><div>daniel </div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 8, 2019 at 7:47 AM Didier Doumerc <<a href="mailto:doumerc.d@adimep.com">doumerc.d@adimep.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Thanks for your answer Daniel. It works fine !<div><br></div><div>I'm not sure to understand exactly the reason of "-p profiles/car.lua". Does the file car.lua contain speed limits ?</div><div><br></div><div>Then, if I change a speed, I must run another osrm-extract ?</div><div><br></div><div>In my exemple, the following request :</div><div><br></div><div><span class="gmail-m_-637621124029109929Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false" target="_blank">10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false</a></div><div><br></div><div>returns :</div><div><span class="gmail-m_-637621124029109929Apple-tab-span" style="white-space:pre-wrap"> </span>1:45 and 100,6 km</div><div><br></div><div>The same request on <a href="https://www.openstreetmap.org/directions?engine=osrm_car&route=44.3604,2.5903;44.9805,2.6271#map=10/44.6713/2.4894" target="_blank">https://www.openstreetmap.org/directions?engine=osrm_car&route=44.3604%2C2.5903%3B44.9805%2C2.6271#map=10/44.6713/2.4894</a></div><div><br></div><div><div>returns :</div><div><span class="gmail-m_-637621124029109929Apple-tab-span" style="white-space:pre-wrap"> </span>1:50 and 103 km</div></div><div><br></div><div>The second result is better than the first. Is it because of the car.lua file ?</div><div><br></div><div><br></div><div>Thanks+++<br><div><br></div><div>Didier</div><div><br><div><div>Le ven.04/01/19 à 18:52, Daniel Patterson a écrit :</div><br class="gmail-m_-637621124029109929Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div dir="ltr">Check out the Wiki page at: <a href="https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM" target="_blank">https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM</a></div><div dir="ltr"><br></div><div>With OSRM 5.x, the names of some of the tools changed. You will now want to run `osrm-extract -p profiles/car.lua yourmap.osm` then `osrm-contract yourmap.osrm`</div><div><br></div><div>daniel</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 4, 2019 at 9:33 AM Didier Doumerc <<a href="mailto:doumerc.d@adimep.com" target="_blank">doumerc.d@adimep.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Since I can't upgrade whith a new map (crash when running osrm-prepare), I try to reinstall OSRM. <br>
<br>
Once I have reinstalled ORSM, I can extract the new map, but I don't find osrm-prepare anymore. I don't know what to do before running osrm-routed.<br>
<br>
Is someone can give me a link please to a clear and complete install method ?<br>
<br>
Thanks and happy new year...<br>
<br>
Didier<br>
<br>
_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>
_______________________________________________<br>OSRM-talk mailing list<br><a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">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></blockquote></div><br></div></div></div>_______________________________________________<br>
OSRM-talk mailing list<br>
<a href="mailto:OSRM-talk@openstreetmap.org" target="_blank">OSRM-talk@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/osrm-talk" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br>
</blockquote></div>
_______________________________________________<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">https://lists.openstreetmap.org/listinfo/osrm-talk</a><br></blockquote></div><br></div></body></html>