File: relations

package info (click to toggle)
mkgmap 0.0.0%2Bsvn4262-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 11,544 kB
  • sloc: java: 71,295; xml: 1,659; python: 713; sh: 254; makefile: 150; perl: 31
file content (9 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
type=route
& (route=bus|route=ferry|route=subway|route=train|route=tram|
   route=road|
   route=bicycle|route=foot|route=hiking|route=ski)
{
  add ref='${name}'; # if ref is missing, use name
  set ref='${route} ${network} ${ref}' | '${route} ${ref}' | '${route} ${network}' | '${route}';
  apply { set mkgmap:route='$(mkgmap:route),${ref}' | '${ref}' }
}