Hi, Sorry for asking again... does anyone has any tips to help me with profile lua files ? :-)
Cédric -----Message d'origine----- De : Cédric NOËL [mailto:[email protected]] Envoyé : jeudi 10 juillet 2014 17:06 À : 'Mailing list to discuss Project OSRM' Objet : Re: [OSRM-talk] Multiple profiles Thanks for your reply Frederik, it's ok to select the profile we want to use. Now, we wonder how to change the car.lua in order to forbid motorways for cars. Do you have any idea or some example to do that ? Thanks! Cédric NOËL | Technical Project Manager | ACTIMAGE Consulting SAS Business Unit : 1 rue Saint-Léon F-67000 STRASBOURG : Siège social : 15, rue du Louvre F-75001 PARIS -----Message d'origine----- De : Frederik Ramm [mailto:[email protected]] Envoyé : mercredi 9 juillet 2014 21:03 À : [email protected] Objet : Re: [OSRM-talk] Multiple profiles Hi, On 07/09/2014 02:42 PM, Cédric NOËL wrote: > We think that we can do it with different lua profiles (As for the > bike profile we hope that motorways are skipped ;-)). Note that there are a number of countries where cycling on motorways is allowed and sometimes even recommended: http://cycleseven.org/cycling-on-the-motorway > ./osrm-routed map.osrm -t 1 -p 5000 > ./osrm-routed map_motorways_banned.osrm -t 1 -p 5001 Yes, this works. > - We do not really understand how lua profiles are managed > / what we can change to do it When processing data into a routing graph, the file profile.lua is used. You can make this point to one of several pre-made profiles in the profiles subdirectory, or simply replace it with whatever you want to use. Bye Frederik -- Frederik Ramm ## eMail [email protected] ## N49°00'09" E008°23'33" _______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk _______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk _______________________________________________ OSRM-talk mailing list [email protected] https://lists.openstreetmap.org/listinfo/osrm-talk
