brouter/misc/profiles2/river.brf
multimodaal 4ba29cac95
Update river profile
Add support for routing over fairways which are used for navigable routes in a body of water
(where waterway=river or waterway=canal are not appropriate).
2021-05-22 14:13:02 +02:00

21 lines
468 B
Text

---context:global # following code refers to global config
# the elevation parameters
assign downhillcost 0
assign downhillcutoff 1.5
assign uphillcost 0
assign uphillcutoff 1.5
---context:way # following code refers to way-tags
assign turncost 0
assign initialcost 0
assign costfactor
switch or waterway=canal or waterway=river or waterway=fairway waterway=lock_gate 1
100000
---context:node # following code refers to node tags
assign initialcost 0