---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|light_rail|narrow_gauge 1
  switch railway=tram|subway 2
  100000

---context:node  # following code refers to node tags

assign initialcost 0
