24 lines
511 B
Text
24 lines
511 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 not highway= 1
|
|
switch not railway= 1
|
|
switch not or waterway= waterway=unknown 1
|
|
switch not route= 1
|
|
100000
|
|
|
|
---context:node # following code refers to node tags
|
|
|
|
assign initialcost 0
|