[OSM-dev] OSRM lua profile / Error in prepare
f at zz.de
Wed Jul 24 10:19:24 UTC 2013
i am trying to tweak a lua profile that i get the "shortest" way on
tarmac roads e.g. no cycle/footway/track/service and no motorway,
ignoring all turn restrictions, oneways, roundabouts, traffic_lights
For this the way_function simply sets:
way.speed = 10
way.type = 1
and returns 0 on areas motorways etc.
I fail to find the difference between returning 0 and
way.ignore_in_grid = true
Also i get a error in osrm-prepare
[info createHierarchy.cpp:78] Using restrictions from file: germany.osrm.restrictions
[info createHierarchy.cpp:120] Parsing speedprofile from profile.lua
[error Contractor/../DataStructures/ImportEdge.h:44] Type: -1
which is not very helpful on what i did wrong.
I am using cc73ed19b3f83cc7e718a94580c79d02aea8567a May 14
Florian Lohoff f at zz.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 828 bytes
Desc: Digital signature
More information about the dev