Add rail profile
This commit is contained in:
parent
741c2151b2
commit
9d074d7d7c
1 changed files with 21 additions and 0 deletions
21
misc/profiles2/rail.brf
Normal file
21
misc/profiles2/rail.brf
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
---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 railway=rail 1
|
||||||
|
100000
|
||||||
|
|
||||||
|
---context:node # following code refers to node tags
|
||||||
|
|
||||||
|
assign initialcost 0
|
Loading…
Reference in a new issue