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