1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <rules xmlns="http://josm.openstreetmap.de/mappaint-style-1.0"
|
---|
3 | name="standard">
|
---|
4 |
|
---|
5 | <rule>
|
---|
6 | <condition k="maxspeed" v="5"/>
|
---|
7 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
8 | <icon src="vehicle/restrictions/speed5.png" priority="10000" />
|
---|
9 | </rule>
|
---|
10 |
|
---|
11 | <rule>
|
---|
12 | <condition k="maxspeed" v="7"/>
|
---|
13 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
14 | <icon src="vehicle/restrictions/speed5.png" priority="10000" />
|
---|
15 | </rule>
|
---|
16 |
|
---|
17 | <rule>
|
---|
18 | <condition k="maxspeed" v="8"/>
|
---|
19 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
20 | <icon src="vehicle/restrictions/speed10.png" priority="10000" />
|
---|
21 | </rule>
|
---|
22 |
|
---|
23 | <rule>
|
---|
24 | <condition k="maxspeed" v="10"/>
|
---|
25 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
26 | <icon src="vehicle/restrictions/speed10.png" priority="10000" />
|
---|
27 | </rule>
|
---|
28 |
|
---|
29 | <rule>
|
---|
30 | <condition k="maxspeed" v="15"/>
|
---|
31 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
32 | <icon src="vehicle/restrictions/speed15.png" priority="10000" />
|
---|
33 | </rule>
|
---|
34 |
|
---|
35 | <rule>
|
---|
36 | <condition k="maxspeed" v="20"/>
|
---|
37 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
38 | <icon src="vehicle/restrictions/speed20.png" priority="10000" />
|
---|
39 | </rule>
|
---|
40 |
|
---|
41 | <rule>
|
---|
42 | <condition k="maxspeed" v="25"/>
|
---|
43 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
44 | <icon src="vehicle/restrictions/speed25.png" priority="10000" />
|
---|
45 | </rule>
|
---|
46 |
|
---|
47 | <rule>
|
---|
48 | <condition k="maxspeed" v="30"/>
|
---|
49 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
50 | <icon src="vehicle/restrictions/speed30.png" priority="10000" />
|
---|
51 | </rule>
|
---|
52 |
|
---|
53 | <rule>
|
---|
54 | <condition k="maxspeed" v="40"/>
|
---|
55 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
56 | <icon src="vehicle/restrictions/speed40.png" priority="10000" />
|
---|
57 | </rule>
|
---|
58 |
|
---|
59 | <rule>
|
---|
60 | <condition k="maxspeed" v="50"/>
|
---|
61 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
62 | <icon src="vehicle/restrictions/speed50.png" priority="10000" />
|
---|
63 | </rule>
|
---|
64 |
|
---|
65 | <rule>
|
---|
66 | <condition k="maxspeed" v="60"/>
|
---|
67 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
68 | <icon src="vehicle/restrictions/speed60.png" priority="10000" />
|
---|
69 | </rule>
|
---|
70 |
|
---|
71 | <rule>
|
---|
72 | <condition k="maxspeed" v="70"/>
|
---|
73 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
74 | <icon src="vehicle/restrictions/speed70.png" priority="10000" />
|
---|
75 | </rule>
|
---|
76 |
|
---|
77 | <rule>
|
---|
78 | <condition k="maxspeed" v="80"/>
|
---|
79 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
80 | <icon src="vehicle/restrictions/speed80.png" priority="10000" />
|
---|
81 | </rule>
|
---|
82 |
|
---|
83 | <rule>
|
---|
84 | <condition k="maxspeed" v="90"/>
|
---|
85 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
86 | <icon src="vehicle/restrictions/speed90.png" priority="10000" />
|
---|
87 | </rule>
|
---|
88 |
|
---|
89 | <rule>
|
---|
90 | <condition k="maxspeed" v="100"/>
|
---|
91 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
92 | <icon src="vehicle/restrictions/speed100.png" priority="10000" />
|
---|
93 | </rule>
|
---|
94 |
|
---|
95 | <rule>
|
---|
96 | <condition k="maxspeed" v="110"/>
|
---|
97 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
98 | <icon src="vehicle/restrictions/speed110.png" priority="10000" />
|
---|
99 | </rule>
|
---|
100 |
|
---|
101 | <rule>
|
---|
102 | <condition k="maxspeed" v="120"/>
|
---|
103 | <linemod mode="under" width="+4" colour="#40ff40" priority="10000" />
|
---|
104 | <icon src="vehicle/restrictions/speed120.png" priority="10000" />
|
---|
105 | </rule>
|
---|
106 |
|
---|
107 | <rule>
|
---|
108 | <!-- electronic traffic signs -->
|
---|
109 | <condition k="maxspeed" v="variable"/>
|
---|
110 | <linemod mode="under" dashed="yes" width="+4" colour="#40ff40" priority="10000" />
|
---|
111 | <icon src="vehicle/restrictions/speed_blank.png" priority="10000" />
|
---|
112 | </rule>
|
---|
113 |
|
---|
114 | <rule>
|
---|
115 | <condition k="maxspeed" v="walk"/>
|
---|
116 | <linemod mode="under" dashed="yes" width="+4" colour="#40ff40" priority="10000" />
|
---|
117 | <icon src="vehicle/restrictions/speed5.png" priority="10000" />
|
---|
118 | </rule>
|
---|
119 |
|
---|
120 | <rule>
|
---|
121 | <condition k="maxspeed" v="default"/>
|
---|
122 | <linemod mode="under" dashed="yes" width="+4" colour="#40ff40" priority="10000" />
|
---|
123 | <icon src="vehicle/restrictions/speed_no.png" priority="10000" />
|
---|
124 | </rule>
|
---|
125 |
|
---|
126 | <rule>
|
---|
127 | <!-- default for unknown maxspeed -->
|
---|
128 | <condition k="maxspeed"/>
|
---|
129 | <line width="20" colour="#ffd0d0" priority="8000" />
|
---|
130 | <icon src="vehicle/restrictions/speed_blank.png" priority="8000" />
|
---|
131 | </rule>
|
---|
132 |
|
---|
133 |
|
---|
134 |
|
---|
135 | <rule>
|
---|
136 | <condition k="highway" v="motorway" />
|
---|
137 | <line width="3" colour="motorway#809bc0" priority="9000" />
|
---|
138 | <icon annotate="false" priority="-9000" />
|
---|
139 | </rule>
|
---|
140 | <rule>
|
---|
141 | <condition k="highway" v="motorway_link" />
|
---|
142 | <line width="3" colour="motorway#809bc0" priority="9000" />
|
---|
143 | <icon annotate="false" priority="-9000" />
|
---|
144 | </rule>
|
---|
145 |
|
---|
146 | <rule>
|
---|
147 | <condition k="highway" v="trunk" />
|
---|
148 | <line width="3" colour="trunk#7fc97f" priority="9000" />
|
---|
149 | <icon annotate="false" priority="-9000" />
|
---|
150 | </rule>
|
---|
151 | <rule>
|
---|
152 | <condition k="highway" v="trunk_link" />
|
---|
153 | <line width="3" colour="trunk#7fc97f" priority="9000" />
|
---|
154 | <icon annotate="false" priority="-9000" />
|
---|
155 | </rule>
|
---|
156 |
|
---|
157 | <rule>
|
---|
158 | <condition k="highway" v="primary" />
|
---|
159 | <line width="3" realwidth="8" colour="primary#fb805f" priority="9000" />
|
---|
160 | <icon annotate="false" priority="-9000" />
|
---|
161 | </rule>
|
---|
162 | <rule>
|
---|
163 | <condition k="highway" v="primary_link" />
|
---|
164 | <line width="3" realwidth="8" colour="primary#fb805f" priority="9000" />
|
---|
165 | <icon annotate="false" priority="-9000" />
|
---|
166 | </rule>
|
---|
167 |
|
---|
168 | <rule>
|
---|
169 | <condition k="highway" v="secondary" />
|
---|
170 | <line width="3" realwidth="6" colour="secondary#fdbf6f" priority="9000"/>
|
---|
171 | <icon annotate="false" priority="-9000" />
|
---|
172 | </rule>
|
---|
173 | <rule>
|
---|
174 | <condition k="highway" v="secondary_link" />
|
---|
175 | <line width="3" realwidth="6" colour="secondary#fdbf6f" priority="9000"/>
|
---|
176 | <icon annotate="false" priority="-9000" />
|
---|
177 | </rule>
|
---|
178 |
|
---|
179 | <rule>
|
---|
180 | <condition k="highway" v="tertiary" />
|
---|
181 | <line width="2" realwidth="5" colour="tertiary#f7f496" priority="9000" />
|
---|
182 | <icon annotate="false" priority="-9000" />
|
---|
183 | </rule>
|
---|
184 |
|
---|
185 | <rule>
|
---|
186 | <condition k="highway" v="residential" />
|
---|
187 | <line width="2" realwidth="5" colour="street#c0c0c0" priority="9000" />
|
---|
188 | <icon annotate="false" priority="-9000" />
|
---|
189 | </rule>
|
---|
190 |
|
---|
191 | <rule>
|
---|
192 | <condition k="highway" v="unclassified" />
|
---|
193 | <line width="2" realwidth="5" colour="street#c0c0c0" priority="9000" />
|
---|
194 | <icon annotate="false" priority="-9000" />
|
---|
195 | </rule>
|
---|
196 |
|
---|
197 | <rule>
|
---|
198 | <condition k="highway" v="road" />
|
---|
199 | <line width="2" realwidth="5" dashed="true" colour="deprecated#ff0000" priority="9000" />
|
---|
200 | <icon annotate="false" priority="-9000" />
|
---|
201 | </rule>
|
---|
202 |
|
---|
203 | <rule>
|
---|
204 | <condition k="highway" v="service" />
|
---|
205 | <line width="1" realwidth="3" colour="service#809bc0" priority="9000" />
|
---|
206 | <icon annotate="false" priority="-9000" />
|
---|
207 | </rule>
|
---|
208 |
|
---|
209 | <rule>
|
---|
210 | <condition k="highway" v="turning_circle" />
|
---|
211 | <line width="3" colour="#d0d0d0" priority="9000" />
|
---|
212 | <icon annotate="false" priority="-9000" />
|
---|
213 | </rule>
|
---|
214 |
|
---|
215 | <rule>
|
---|
216 | <condition k="highway" v="track" />
|
---|
217 | <line width="1" realwidth="3" colour="track#006600" priority="9000"/>
|
---|
218 | <icon annotate="false" priority="-9000" />
|
---|
219 | </rule>
|
---|
220 |
|
---|
221 | <rule>
|
---|
222 | <condition k="highway" v="living_street" />
|
---|
223 | <line width="1" realwidth="3" colour="street#c0c0c0" priority="9000"/>
|
---|
224 | <icon annotate="false" priority="-9000" />
|
---|
225 | </rule>
|
---|
226 |
|
---|
227 |
|
---|
228 | <!-- highway not suitable for maxspeed? -->
|
---|
229 | <rule>
|
---|
230 | <condition k="highway" v="pedestrian" />
|
---|
231 | <line width="0" colour="#303030" priority="9000" />
|
---|
232 | <icon annotate="false" priority="-9000" />
|
---|
233 | </rule>
|
---|
234 |
|
---|
235 | <rule>
|
---|
236 | <condition k="highway" v="footway" />
|
---|
237 | <line width="0" colour="#303030" priority="9000" />
|
---|
238 | <icon annotate="false" priority="-9000" />
|
---|
239 | </rule>
|
---|
240 |
|
---|
241 | <rule>
|
---|
242 | <condition k="highway" v="bridleway" />
|
---|
243 | <line width="0" colour="#303030" priority="9000" />
|
---|
244 | <icon annotate="false" priority="-9000" />
|
---|
245 | </rule>
|
---|
246 |
|
---|
247 | <rule>
|
---|
248 | <condition k="highway" v="path" />
|
---|
249 | <line width="0" colour="#303030" priority="9000" />
|
---|
250 | <icon annotate="false" priority="-9000" />
|
---|
251 | </rule>
|
---|
252 |
|
---|
253 | <rule>
|
---|
254 | <condition k="highway" v="steps" />
|
---|
255 | <line width="0" colour="#303030" priority="9000" />
|
---|
256 | <icon annotate="false" priority="-9000" />
|
---|
257 | </rule>
|
---|
258 |
|
---|
259 | <rule>
|
---|
260 | <condition k="highway" v="cycleway" />
|
---|
261 | <line width="0" colour="#303030" priority="9000" />
|
---|
262 | <icon annotate="false" priority="-9000" />
|
---|
263 | </rule>
|
---|
264 |
|
---|
265 | <rule>
|
---|
266 | <condition k="highway" v="construction" />
|
---|
267 | <line width="0" colour="#303030" priority="9000" />
|
---|
268 | <icon annotate="false" priority="-9000" />
|
---|
269 | </rule>
|
---|
270 |
|
---|
271 | <rule>
|
---|
272 | <condition k="highway"/>
|
---|
273 | <line width="20" colour="#d0d0d0" priority="-100" />
|
---|
274 | <icon annotate="false" priority="-10000" />
|
---|
275 | </rule>
|
---|
276 |
|
---|
277 |
|
---|
278 | <rule>
|
---|
279 | <condition k="amenity"/>
|
---|
280 | <line width="0" colour="#252525" priority="-10000" />
|
---|
281 | <icon annotate="false" priority="-10000" />
|
---|
282 | </rule>
|
---|
283 | <rule>
|
---|
284 | <condition k="shop"/>
|
---|
285 | <line width="0" colour="#252525" priority="-10000" />
|
---|
286 | <icon annotate="false" priority="-10000" />
|
---|
287 | </rule>
|
---|
288 | <rule>
|
---|
289 | <condition k="place"/>
|
---|
290 | <line width="0" colour="#252525" priority="-10000" />
|
---|
291 | <icon annotate="false" priority="-10000" />
|
---|
292 | </rule>
|
---|
293 | <rule>
|
---|
294 | <condition k="tourism"/>
|
---|
295 | <line width="0" colour="#252525" priority="-10000" />
|
---|
296 | <icon annotate="false" priority="-10000" />
|
---|
297 | </rule>
|
---|
298 | <rule>
|
---|
299 | <condition k="railway"/>
|
---|
300 | <line width="0" colour="#252525" priority="-10000" />
|
---|
301 | <icon annotate="false" priority="-10000" />
|
---|
302 | </rule>
|
---|
303 | <rule>
|
---|
304 | <condition k="natural"/>
|
---|
305 | <line width="0" colour="#252525" priority="-10000" />
|
---|
306 | <icon annotate="false" priority="-10000" />
|
---|
307 | </rule>
|
---|
308 | <rule>
|
---|
309 | <condition k="historic"/>
|
---|
310 | <line width="0" colour="#252525" priority="-10000" />
|
---|
311 | <icon annotate="false" priority="-10000" />
|
---|
312 | </rule>
|
---|
313 | <rule>
|
---|
314 | <condition k="man_made"/>
|
---|
315 | <line width="0" colour="#252525" priority="-10000" />
|
---|
316 | <icon annotate="false" priority="-10000" />
|
---|
317 | </rule>
|
---|
318 | <rule>
|
---|
319 | <condition k="leisure"/>
|
---|
320 | <line width="0" colour="#252525" priority="-10000" />
|
---|
321 | <icon annotate="false" priority="-10000" />
|
---|
322 | </rule>
|
---|
323 | <rule>
|
---|
324 | <condition k="sport"/>
|
---|
325 | <line width="0" colour="#252525" priority="-10000" />
|
---|
326 | <icon annotate="false" priority="-10000" />
|
---|
327 | </rule>
|
---|
328 | <rule>
|
---|
329 | <condition k="aeroway"/>
|
---|
330 | <line width="0" colour="#252525" priority="-10000" />
|
---|
331 | <icon annotate="false" priority="-10000" />
|
---|
332 | </rule>
|
---|
333 | <rule>
|
---|
334 | <condition k="power"/>
|
---|
335 | <line width="0" colour="#252525" priority="-10000" />
|
---|
336 | <icon annotate="false" priority="-10000" />
|
---|
337 | </rule>
|
---|
338 | <rule>
|
---|
339 | <condition k="landuse"/>
|
---|
340 | <line width="0" colour="#252525" priority="-10000" />
|
---|
341 | <icon annotate="false" priority="-10000" />
|
---|
342 | </rule>
|
---|
343 | <rule>
|
---|
344 | <condition k="cemetery" v="grave"/>
|
---|
345 | <line width="0" colour="#252525" priority="-10000" />
|
---|
346 | <icon annotate="false" priority="-10000" />
|
---|
347 | </rule>
|
---|
348 | <rule>
|
---|
349 | <condition k="building"/>
|
---|
350 | <line width="0" colour="#252525" priority="-10000" />
|
---|
351 | <icon annotate="false" priority="-10000" />
|
---|
352 | </rule>
|
---|
353 | <rule>
|
---|
354 | <condition k="barrier"/>
|
---|
355 | <line width="0" colour="#252525" priority="-10000" />
|
---|
356 | <icon annotate="false" priority="-10000" />
|
---|
357 | </rule>
|
---|
358 | <rule>
|
---|
359 | <condition k="waterway"/>
|
---|
360 | <line width="0" colour="#252525" priority="-10000" />
|
---|
361 | <icon annotate="false" priority="-10000" />
|
---|
362 | </rule>
|
---|
363 | <rule>
|
---|
364 | <condition k="boundary"/>
|
---|
365 | <line width="0" colour="#252525" priority="-10000" />
|
---|
366 | <icon annotate="false" priority="-10000" />
|
---|
367 | </rule>
|
---|
368 | <rule>
|
---|
369 | <condition k="addr:housenumber"/>
|
---|
370 | <line width="0" colour="#252525" priority="-10000" />
|
---|
371 | <icon annotate="false" priority="-10000" />
|
---|
372 | </rule>
|
---|
373 |
|
---|
374 |
|
---|
375 | <rule>
|
---|
376 | <condition k="highway" v="speed_camera"/>
|
---|
377 | <icon annotate="true" src="vehicle/restrictions/speed_trap.png"/>
|
---|
378 | </rule>
|
---|
379 |
|
---|
380 | </rules>
|
---|
381 |
|
---|