[OSRM-talk] Preferring motorways
John Aherne
johnaherne at rocs.co.uk
Mon Jan 26 15:39:57 UTC 2015
I have just got back to looking at this problem.
I have set up another system and changed my profile.lua to have the
following speed set up shown below.
But it seems to ignore it. And I get the same results as the standard
install which uses shortest route.
Since I am not great on Linux configs, I assume I am missing some trick to
make sure I pick up the correct config. In theory I have followed the
instructions and set up symlinks.
Can anyone point to something I need to look at .
Thanks for any help.
speed_profile = {
["motorway"] = 100,
["motorway_link"] = 75,
["trunk"] = 10,
["trunk_link"] = 10,
["primary"] = 10,
["primary_link"] = 10,
["secondary"] = 10,
["secondary_link"] = 10,
["tertiary"] = 10,
["tertiary_link"] = 10,
["unclassified"] = 10,
["residential"] = 10,
["living_street"] = 10,
["service"] = 10,
["track"] = 5,
["ferry"] = 5,
["shuttle_train"] = 10,
["default"] = 10
}
Regards
--
*John Aherne*
*www.rocs.co.uk <http://www.rocs.co.uk>*
020 7223 7567
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20150126/cd5d4071/attachment.html>
More information about the OSRM-talk
mailing list