[OSRM-talk] Beginner question: default car profile and tracktype/smoothness/surface

Richard Fairhurst richard at systemeD.net
Tue Mar 18 12:11:55 UTC 2014


Michal Palenik wrote:
> On Mon, Mar 17, 2014 at 01:57:23PM -0300, Fernando Trebien wrote:
>> But I don't
>> think we can easily implement different interpretations of the tags on
>> a per-country basis.
>
> in postgis/anyspatialdatabase, this would be fairly easy (except for
> filling in the data by crowdsourcing).
>
> looking at
> https://github.com/DennisOSRM/Project-OSRM/blob/master/profiles/examples/postgis.lua
> it is probably connectable.

Yes, it's very easy for a Lua profile to interpret tags differently on a 
per-country basis, or even more granular than that - for example, my 
profile at cycle.travel/map interprets tags slightly differently 
depending whether the way is in a large built-up area or in the countryside.

Richard




More information about the OSRM-talk mailing list