Debian Codegraph @

test/resources/teststyles/main/lines

raw
1 aeroway=runway [0x27 resolution 20]
2 boundary=administrative [0x1c resolution 18]
3 boundary=national [0x1e resolution 17]
4 boundary=political [0x1c resolution 17]
5
6 # Contours take their name from the elevation setting.
7 contour=elevation | contour_ext=elevation
8 { name '${ele|conv:m=>ft}'; }
9 [0x21 resolution 20]
10
11 # Set highway names to include the reference if there is one
12 highway=* {name '${name} (${ref})' | '${ref}' | '${name}' }
13 highway=bridleway {set highway=bridleway} [0x16 road_class=0 road_speed=0 resolution 23]
14 highway=byway [0x16 road_class=0 road_speed=0 resolution 23]
15 highway=cycleway [0x16 road_class=0 road_speed=1 resolution 23]
16 highway=footway [0x16 road_class=0 road_speed=0 resolution 23]
17 highway=minor [0x06 road_class=1 road_speed=2 resolution 21]
18 highway=motorway {add oneway = yes } [0x01 road_class=4 road_speed=6 resolution 12]
19 highway=motorway_link [0x01 road_class=4 road_speed=3 resolution 16]
20 highway=pedestrian [0x06 road_class=0 road_speed=0 resolution 22]
21 highway=primary [0x02 road_class=3 road_speed=4 resolution 19]
22 highway=primary_link [0x03 road_class=3 road_speed=3 resolution 19]
23 highway=residential | highway=living_street [0x06 road_class=0 road_speed=2 resolution 21]
24 highway=secondary [0x04 road_class=2 road_speed=3 resolution 20]
25 highway=path [0x16 road_class=0 road_speed=0 resolution 20]
26 highway=service [0x07 road_class=0 road_speed=1 resolution 22]
27 highway=steps [0x16 road_class=0 road_speed=0 resolution 23]
28 highway=tertiary [0x05 road_class=1 road_speed=3 resolution 20]
29 highway=track [0x0a road_class=0 road_speed=1 resolution 21]
30 highway=trunk [0x02 road_class=3 road_speed=5 resolution 16]
31 highway=trunk_link [0x02 road_class=3 road_speed=3 resolution 16]
32 highway=unclassified [0x06 road_class=1 road_speed=2 resolution 21]
33 highway=unsurfaced [0x0a road_class=0 road_speed=1 resolution 21]
34
35 # Mop up any unrecognised highway types
36 highway=* [0x07 road_class=0 road_speed=1 resolution 22]
37
38 natural=coastline [0x15 resolution 12]
39 power=line [0x29 resolution 20]
40
41 railway=light_rail [0x14 resolution 17]
42 railway=rail [0x14 resolution 17]
43 railway=subway [0x14 resolution 17]
44 railway=tram [0x14 resolution 18]
45
46 route=ferry [0x1a road_class=0 road_speed=1 resolution 18]
47
48 waterway=canal [0x1f resolution 21]
49 waterway=drain [0x1f resolution 22]
50 waterway=river [0x1f resolution 18]
51 waterway=stream [0x18 resolution 22]
52
53 <finalize>
54 name=* | ref=* {name '${name} (${ref})' | '${ref}' | '${name}' }