Debian Codegraph @

resources/styles/marine/points

raw
1 leisure=marina [0x4300 resolution 20]
2
3 ############################################################################
4 # begin seamark marine objects
5
6 ################################################
7 # add mkgmap:xt- tags
8
9 seamark:light:ref=* { add mkgmap:xt-int-desig='${seamark:light:ref}'; }
10 seamark:beacon_lateral:ref=* { add mkgmap:xt-int-desig='${seamark:beacon_lateral:ref}'; }
11 seamark:buoy_lateral:ref=* { add mkgmap:xt-int-desig='${seamark:buoy_lateral:ref}'; }
12
13 seamark:light:height=* { add mkgmap:xt-height-above-datum='${seamark:light:height}'; }
14 seamark:light:colour=* { add mkgmap:xt-light='${seamark:light:colour}'; }
15 seamark:light:period=* { add mkgmap:xt-period='${seamark:light:period}'; }
16 seamark:light:group=* { add mkgmap:xt-note='Group: ${seamark:light:group}'; }
17
18 # deprecated
19 seamark:light:signal:period=* { add mkgmap:xt-period='${seamark:light:signal:period}'; }
20 seamark:light:signal:sequence=* { add mkgmap:xt-note='${seamark:light:signal:sequence}'; }
21 light:signal_sequence=* & seamark:light:sequence!=* { add seamark:light:sequence='${light:signal_sequence}'; }
22 light:character=* & seamark:light:character!=* { add seamark:light:character='${light:character}'; }
23 light:range=* & seamark:light:range!=* { add seamark:light:range='${light:range}'; }
24 light:colour=* { add mkgmap:xt-light='${light:colour}'; }
25 light:ele=* { add mkgmap:xt-height-above-datum='${light:ele}'; }
26 light:signal_group=* { add mkgmap:xt-note='Group: ${light:signal_group}'; }
27 light:signal_period=* { add mkgmap:xt-period='${light:signal_period}'; }
28
29 seamark:buoy_special_purpose:colour=* { add mkgmap:xt-colour='${seamark:buoy_special_purpose:colour}'; }
30 seamark:buoy_lateral:colour=* { add mkgmap:xt-colour='${seamark:buoy_lateral:colour}'; }
31
32 seamark:buoy_safe_water:colour='red,white,red' { add mkgmap:xt-colour='red-white'; }
33 seamark:buoy_safe_water:colour=* { add mkgmap:xt-colour='${seamark:buoy_safe_water:colour}'; }
34
35 seamark:buoy_race:colour=* { add mkgmap:xt-colour='${seamark:buoy_race:colour}'; }
36
37 seamark:beacon_isolated_danger:colour=* { add mkgmap:xt-colour='${seamark:beacon_isolated_danger:colour}'; }
38 seamark:beacon_special_purpose:colour=* { add mkgmap:xt-colour='${seamark:beacon_special_purpose:colour}'; }
39 seamark:beacon_safe_water:colour=* { add mkgmap:xt-colour='${seamark:beacon_safe_water:colour}'; }
40 seamark:beacon_lateral:colour=* { add mkgmap:xt-colour='${seamark:beacon_lateral:colour}'; }
41
42 # sectors
43 seamark:light:1!=* & seamark:light:1:sector_start=*
44 & seamark:light:1:sector_end=* & seamark:light:1:colour=*
45 & seamark:light:1:range=*
46 {add seamark:light:1='${seamark:light:1:colour}:${seamark:light:1:sector_start}:${seamark:light:1:sector_end}:${seamark:light:1:range}'}
47
48 seamark:light:2!=* & seamark:light:2:sector_start=*
49 & seamark:light:2:sector_end=* & seamark:light:2:colour=*
50 & seamark:light:2:range=*
51 {add seamark:light:2='${seamark:light:2:colour}:${seamark:light:2:sector_start}:${seamark:light:2:sector_end}:${seamark:light:2:range}'}
52
53 seamark:light:3!=* & seamark:light:3:sector_start=*
54 & seamark:light:3:sector_end=* & seamark:light:3:colour=*
55 & seamark:light:3:range=*
56 {add seamark:light:3='${seamark:light:3:colour}:${seamark:light:3:sector_start}:${seamark:light:3:sector_end}:${seamark:light:3:range}'}
57
58 seamark:light:4!=* & seamark:light:4:sector_start=*
59 & seamark:light:4:sector_end=* & seamark:light:4:colour=*
60 & seamark:light:4:range=*
61 {add seamark:light:4='${seamark:light:4:colour}:${seamark:light:4:sector_start}:${seamark:light:4:sector_end}:${seamark:light:4:range}'}
62
63 seamark:light:5!=* & seamark:light:5:sector_start=*
64 & seamark:light:5:sector_end=* & seamark:light:5:colour=*
65 & seamark:light:5:range=*
66 {add seamark:light:5='${seamark:light:5:colour}:${seamark:light:5:sector_start}:${seamark:light:5:sector_end}:${seamark:light:5:range}'}
67
68 seamark:light:6!=* & seamark:light:6:sector_start=*
69 & seamark:light:6:sector_end=* & seamark:light:6:colour=*
70 & seamark:light:6:range=*
71 {add seamark:light:6='${seamark:light:6:colour}:${seamark:light:6:sector_start}:${seamark:light:6:sector_end}:${seamark:light:6:range}'}
72
73 seamark:light:7!=* & seamark:light:7:sector_start=*
74 & seamark:light:7:sector_end=* & seamark:light:7:colour=*
75 & seamark:light:7:range=*
76 {add seamark:light:7='${seamark:light:7:colour}:${seamark:light:7:sector_start}:${seamark:light:7:sector_end}:${seamark:light:7:range}'}
77
78 seamark:light:8!=* & seamark:light:8:sector_start=*
79 & seamark:light:8:sector_end=* & seamark:light:8:colour=*
80 & seamark:light:8:range=*
81 {add seamark:light:8='${seamark:light:8:colour}:${seamark:light:8:sector_start}:${seamark:light:8:sector_end}:${seamark:light:8:range}'}
82
83 seamark:light:9!=* & seamark:light:9:sector_start=*
84 & seamark:light:9:sector_end=* & seamark:light:9:colour=*
85 & seamark:light:9:range=*
86 {add seamark:light:9='${seamark:light:9:colour}:${seamark:light:9:sector_start}:${seamark:light:9:sector_end}:${seamark:light:9:range}'}
87
88 seamark:light:10!=* & seamark:light:10:sector_start=*
89 & seamark:light:10:sector_end=* & seamark:light:10:colour=*
90 & seamark:light:10:range=*
91 {add seamark:light:10='${seamark:light:10:colour}:${seamark:light:10:sector_start}:${seamark:light:10:sector_end}:${seamark:light:10:range}'}
92
93 seamark:light:11!=* & seamark:light:11:sector_start=*
94 & seamark:light:11:sector_end=* & seamark:light:11:colour=*
95 & seamark:light:11:range=*
96 {add seamark:light:11='${seamark:light:11:colour}:${seamark:light:11:sector_start}:${seamark:light:11:sector_end}:${seamark:light:11:range}'}
97
98 seamark:light:12!=* & seamark:light:12:sector_start=*
99 & seamark:light:12:sector_end=* & seamark:light:12:colour=*
100 & seamark:light:12:range=*
101 {add seamark:light:12='${seamark:light:12:colour}:${seamark:light:12:sector_start}:${seamark:light:12:sector_end}:${seamark:light:12:range}'}
102
103 seamark:light:13!=* & seamark:light:13:sector_start=*
104 & seamark:light:13:sector_end=* & seamark:light:13:colour=*
105 & seamark:light:13:range=*
106 {add seamark:light:13='${seamark:light:13:colour}:${seamark:light:13:sector_start}:${seamark:light:13:sector_end}:${seamark:light:13:range}'}
107
108 seamark:light:14!=* & seamark:light:14:sector_start=*
109 & seamark:light:14:sector_end=* & seamark:light:14:colour=*
110 & seamark:light:14:range=*
111 {add seamark:light:14='${seamark:light:14:colour}:${seamark:light:14:sector_start}:${seamark:light:14:sector_end}:${seamark:light:14:range}'}
112
113 seamark:light:15!=* & seamark:light:15:sector_start=*
114 & seamark:light:15:sector_end=* & seamark:light:15:colour=*
115 & seamark:light:15:range=*
116 {add seamark:light:15='${seamark:light:15:colour}:${seamark:light:15:sector_start}:${seamark:light:15:sector_end}:${seamark:light:15:range}'}
117
118
119 ######
120 # define types
121
122 # buoys
123 seamark:buoy_lateral:shape=spar [0x010207 resolution 22]
124 seamark:buoy_lateral:category=port { add mkgmap:xt-colour='red'; } [0x010209 resolution 22]
125 seamark:buoy_lateral:category=starboard { add mkgmap:xt-colour='green'; } [0x01020a resolution 22]
126 seamark:buoy_lateral:category=preferred_channel_port { add mkgmap:xt-colour='green-red-green'; } [0x010209 resolution 22]
127 seamark:buoy_lateral:category=preferred_channel_starboard { add mkgmap:xt-colour='red-green-red'; } [0x01020a resolution 22]
128 seamark:type=buoy_lateral [0x010200 resolution 22]
129
130 seamark:buoy_cardinal:category=north { add mkgmap:xt-colour='black-yellow'; } [0x010202 resolution 22]
131 seamark:buoy_cardinal:category=south { add mkgmap:xt-colour='yellow-black'; } [0x010203 resolution 22]
132 seamark:buoy_cardinal:category=east { add mkgmap:xt-colour='black-yellow-black'; } [0x010204 resolution 22]
133 seamark:buoy_cardinal:category=west { add mkgmap:xt-colour='yellow-black-yellow'; } [0x010205 resolution 22]
134
135 seamark:buoy_special_purpose:shape=pillar [0x010207 resolution 22]
136 seamark:buoy_special_purpose:shape=spar [0x010207 resolution 22]
137 seamark:buoy_special_purpose:shape=barrel [0x01020d resolution 22]
138 seamark:type=buoy_special_purpose [0x01020b resolution 22]
139
140 seamark:type=buoy_isolated_danger { add mkgmap:xt-colour='black-red-black'; } [0x010208 resolution 22]
141
142 seamark:type=buoy_safe_water [0x01020c resolution 22]
143
144 seamark:buoy_race:shape=* { add mkgmap:xt-note='Race Buoy' } [0x010200 resolution 22]
145
146 #lights
147 seamark=lighthouse & seamark:light:colour='red' [0x010107 resolution 20]
148 seamark=lighthouse & seamark:light:colour='green' [0x010108 resolution 20]
149 # approved?
150 seamark:lighthouse:colour='red,white,red' & seamark:lighthouse:light='yes' { add mkgmap:xt-light='red'; } [0x010107 resolution 20]
151 seamark:lighthouse:colour='green,white,green' & seamark:lighthouse:light='yes' { add mkgmap:xt-light='green'; } [0x010108 resolution 20]
152
153 seamark=lighthouse [0x010100 resolution 20]
154 seamark:type=landmark [0x010100 resolution 20]
155 seamark:type=light_major [0x010100 resolution 20]
156 seamark:type=light_minor [0x010100 resolution 22]
157 seamark:type=light_vessel [0x010100 resolution 20]
158 seamark:type=light_float [0x010100 resolution 20]
159
160 #beacons
161 seamark:beacon_lateral:category=port [0x010213 resolution 22]
162 seamark:beacon_lateral:category=starboard [0x010214 resolution 22]
163 seamark:beacon_lateral:category=preferred_channel_port [0x010206 resolution 22]
164 seamark:beacon_lateral:category=preferred_channel_starboard [0x010206 resolution 22]
165 seamark:type:beacon_lateral=* [0x010206 resolution 22]
166
167 seamark:beacon_cardinal:category=north { add mkgmap:xt-colour='black-yellow'; } [0x01020e resolution 22]
168 seamark:beacon_cardinal:category=south { add mkgmap:xt-colour='yellow-black'; } [0x01020f resolution 22]
169 seamark:beacon_cardinal:category=east { add mkgmap:xt-colour='black-yellow-black'; } [0x010210 resolution 22]
170 seamark:beacon_cardinal:category=west { add mkgmap:xt-colour='yellow-black-yellow'; } [0x010211 resolution 22]
171
172 seamark:type=beacon_special_purpose [0x010215 resolution 22]
173 seamark:type=beacon_safe_water [0x010206 resolution 22]
174 seamark:type=beacon_isolated_danger [0x010212 resolution 22]
175
176 seamark:light:1=* [0x010100 resolution 20]
177
178 #other
179 waterway=depth & name=* { name '${name|subst:,=>.}' } [ 0x6200 resolution 22]
180 waterway=fuel { add mkgmap:xt-facilities='0x40'; }[ 0x010903 resolution 22 ]
181 waterway=wreck [ 0x010402 resolution 22 ]
182 historic=wreck [ 0x010402 resolution 22 ]
183
184 # end seamark marine objects
185 ############################################################################
186