2014-03-17 1:13 GMT+01:00 Fernando Trebien <fernando.treb...@gmail.com>:

> tracktype_profile = {
>   ["grade1"] = math.huge,
>   ["grade2"] = 45,
>   ["grade3"] = 30,
>   ["grade4"] = 20,
>   ["grade5"] = 15,
>   ["grade6"] = 9,
>   ["grade7"] = 6,
>   ["grade8"] = 3
> }
>



This might be OT here, but I think you shouldn't use (i.e. "map") grade6 to
8 in OSM, as they are not defined. tracktype=grade5 is already the worst
tracktype (what in your scheme seems to be grade8), so anything above
doesn't make sense logically. See also actual usage numbers:
http://taginfo.openstreetmap.org/keys/tracktype#values

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

Reply via email to