So I have modified car.lua file : maxspeed_table_default (all values fixed to 
50) and maxspeed_table ["fr:urban"] = 10 etc...

I have re-runned `osrm-extract/osrm-partition/osrm-customize/osrm-contract` and 
it changes nothing. I get the same result.

I must do something wrong...

Didier

Le mer.09/01/19 à 18:18, Daniel Patterson a écrit :

> Hi Didier,
> 
>   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`.
> 
>   The OSRM demoserver at `router.project-osrm.org` *also* has traffic data 
> imported (using this mechanism: 
> https://github.com/Project-OSRM/osrm-backend/wiki/Traffic), supplied by 
> Mapbox, so travel times and routes may differ from datasets you generate 
> yourself just using the `car.lua` profile locally.
> 
> daniel 
> 
> On Tue, Jan 8, 2019 at 7:47 AM Didier Doumerc <doumer...@adimep.com> wrote:
> Thanks for your answer Daniel. It works fine !
> 
> I'm not sure to understand exactly the reason of "-p profiles/car.lua". Does 
> the file car.lua contain speed limits ?
> 
> Then, if I change a speed, I must run another osrm-extract ?
> 
> In my exemple, the following request  :
> 
>               
> 10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false
> 
> returns :
>               1:45 and 100,6 km
> 
> The same request on 
> https://www.openstreetmap.org/directions?engine=osrm_car&route=44.3604%2C2.5903%3B44.9805%2C2.6271#map=10/44.6713/2.4894
> 
> returns :
>               1:50 and 103 km
> 
> The second result is better than the first. Is it because of the car.lua file 
> ?
> 
> 
> Thanks+++
> 
> Didier
> 
> Le ven.04/01/19 à 18:52, Daniel Patterson a écrit :
> 
>> Check out the Wiki page at: 
>> https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
>> 
>> 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`
>> 
>> daniel
>> 
>> On Fri, Jan 4, 2019 at 9:33 AM Didier Doumerc <doumer...@adimep.com> wrote:
>> Hi,
>> 
>> Since I can't upgrade whith a new map (crash when running osrm-prepare), I 
>> try to reinstall OSRM. 
>> 
>> 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.
>> 
>> Is someone can give me a link please to a clear and complete install method ?
>> 
>> Thanks and happy new year...
>> 
>> Didier
>> 
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>> _______________________________________________
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
> 
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
> _______________________________________________
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk

_______________________________________________
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk

Reply via email to