File: or-at-end.test

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 (30 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

WAY
highway=tertiary
name=b
oneway=1
cycleway=opposite

WAY 2
highway=tertiary
name=b
oneway=1
cycleway=opposite_lane


<<<lines>>>
highway ~ '(secondary|tertiary|unclassified|residential|minor|living_street|service)'
	& oneway=*
	& (cycleway=opposite | cycleway=opposite_lane | cycleway=opposite_track )
	{ set name='a${name}' }
	[0x2 ]


<finalize>
highway=* {name '${name}' }

<<<results>>>
WAY 1: Line 0x2, labels=[ab, null, null, null], res=24-24 oneway (1/1),(2/2),
WAY 2: Line 0x2, labels=[ab, null, null, null], res=24-24 oneway (1/1),(2/2),