[OSRM-talk] Multiple profiles

Cédric NOËL cedric.noel at actimage.com
Wed Jul 16 16:30:52 UTC 2014


Sorry for asking again... does anyone has any tips to help me with profile
lua files ? :-)


-----Message d'origine-----
De : Cédric NOËL [mailto:cedric.noel at actimage.com] 
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

Now, we wonder how to change the car.lua in order to forbid motorways for
Do you have any idea or some example to do that ?


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:frederik at remote.org] Envoyé : mercredi 9 juillet
2014 21:03 À : osrm-talk at openstreetmap.org Objet : Re: [OSRM-talk] Multiple


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:


> ./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.


Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"

OSRM-talk mailing list
OSRM-talk at openstreetmap.org

OSRM-talk mailing list
OSRM-talk at openstreetmap.org

More information about the OSRM-talk mailing list