Hi,
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
etc.

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 

Flo
-- 
Florian Lohoff                                                 [email protected]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to