source: osm/applications/editors/josm/plugins/mappaint/styles/standard/elemstyles.xml@ 3515

Last change on this file since 3515 was 3456, checked in by ulf, 17 years ago

add some items from Michael Klugmann, fix some typos

File size: 12.4 KB
Line 
1<!--
2a little help:
31. every rule starts with <rule> and ends with </rule>
42. every rule needs a condition
53. line attributes
6 - width absolute width in pixel in every zoom level
7 - realwidth relative width which will be scaled in meters, integer
8 - colour
94. area attributes
10 - colour
115. amenity attributes
12 - icon path to icon , relative from where this file is
13-->
14
15<rules>
16<!-- highway tags -->
17 <rule>
18 <condition k="highway" v="motorway"/>
19 <line width="3" realwidth="8" colour="#809bc0" width_bg="5" colour_bg="#FFFF00"/>
20 <scale_min>1</scale_min>
21 <scale_max>200000000</scale_max>
22 </rule>
23
24 <rule>
25 <condition k="highway" v="motorway_link"/>
26 <line width="3" colour="#809bc0"/>
27 <scale_min>1</scale_min>
28 <scale_max>50000</scale_max>
29 </rule>
30
31 <rule>
32 <condition k="highway" v="trunk"/>
33 <line width="3" colour="#7fc97f"/>
34 <scale_min>1</scale_min>
35 <scale_max>20000</scale_max>
36 </rule>
37
38 <rule>
39 <condition k="highway" v="trunk_link"/>
40 <line width="3" colour="#7fc97f"/>
41 <scale_min>1</scale_min>
42 <scale_max>20000</scale_max>
43 </rule>
44
45 <rule>
46 <condition k="highway" v="primary"/>
47 <line width="3" realwidth="8" colour="#fb805f"/>
48 <scale_min>1</scale_min>
49 <scale_max>700000</scale_max>
50 </rule>
51
52 <rule>
53 <condition k="highway" v="primary_link"/>
54 <line width="3" colour="#fb805f"/>
55 <scale_min>1</scale_min>
56 <scale_max>40000</scale_max>
57 </rule>
58
59 <rule>
60 <condition k="highway" v="secondary"/>
61 <line width="3" realwidth="6" colour="#fdbf6f"/>
62 <scale_min>1</scale_min>
63 <scale_max>300000</scale_max>
64 </rule>
65
66 <rule>
67 <condition k="highway" v="tertiary"/>
68 <line width="1" colour="#333333"/>
69 <scale_min>1</scale_min>
70 <scale_max>30000</scale_max>
71 </rule>
72
73 <rule>
74 <condition k="highway" v="unclassified"/>
75 <line width="2" colour="#c0c0c0"/>
76 <scale_min>1</scale_min>
77 <scale_max>40000</scale_max>
78 </rule>
79
80 <rule>
81 <condition k="highway" v="track"/>
82 <line width="1" colour="#006600"/>
83 <scale_min>1</scale_min>
84 <scale_max>20000</scale_max>
85 </rule>
86
87 <rule>
88 <condition k="highway" v="residential"/>
89 <line width="2" realwidth="5" colour="#c0c0c0"/>
90 <scale_min>1</scale_min>
91 <scale_max>40000</scale_max>
92 </rule>
93
94 <rule>
95 <condition k="highway" v="service"/>
96 <line width="1" colour="#809bc0"/>
97 <scale_min>1</scale_min>
98 <scale_max>20000</scale_max>
99 </rule>
100
101 <rule>
102 <condition k="highway" v="bridleway"/>
103 <line width="1" colour="#c08000" />
104 <scale_min>1</scale_min>
105 <scale_max>30000</scale_max>
106 </rule>
107
108 <rule>
109 <condition k="highway" v="cycleway"/>
110 <line width="1" realwidth="2" colour="#ff00ff"/>
111 <scale_min>1</scale_min>
112 <scale_max>50000</scale_max>
113 </rule>
114
115 <rule>
116 <condition k="highway" v="footway"/>
117 <line width="1" realwidth="1" colour="#00ff00" />
118 <scale_min>1</scale_min>
119 <scale_max>10000</scale_max>
120 </rule>
121
122 <rule>
123 <condition k="highway" v="pedestrian"/>
124 <line width="1" colour="#aaaaaa"/>
125 <scale_min>1</scale_min>
126 <scale_max>10000</scale_max>
127 </rule>
128
129 <rule>
130 <condition k="highway" v="steps"/>
131 <line width="1" colour="#00ff00"/>
132 <scale_min>1</scale_min>
133 <scale_max>10000</scale_max>
134 </rule>
135
136<!-- cycleway tags -->
137
138<!-- tracktype tags -->
139
140<!--waterway tags -->
141 <rule>
142 <condition k="waterway" v="river"/>
143 <line width="2" realwidth="10" colour="#0000ff" width_bg="3" colour_bg="#00001f"/>
144 <scale_min>1</scale_min>
145 <scale_max>50000</scale_max>
146 </rule>
147
148 <rule>
149 <condition k="waterway" v="riverbank"/>
150 <line width="1" colour="#00005f" width_bg="1" colour_bg="#00001f"/>
151 <scale_min>1</scale_min>
152 <scale_max>50000</scale_max>
153 </rule>
154
155 <rule>
156 <condition k="waterway" v="canal"/>
157 <line width="2" colour="#0000ff" width_bg="2" colour_bg="#00001f"/>
158 <scale_min>1</scale_min>
159 <scale_max>50000</scale_max>
160 </rule>
161
162 <rule>
163 <condition k="waterway" v="stream"/>
164 <line width="1" colour="#6600cc" />
165 <scale_min>1</scale_min>
166 <scale_max>50000</scale_max>
167 </rule>
168
169 <rule>
170 <condition k="waterway" v="drain"/>
171 <line width="1" colour="#0000ff"/>
172 <scale_min>1</scale_min>
173 <scale_max>50000</scale_max>
174 </rule>
175
176 <rule>
177 <condition k="natural" v="coastline"/>
178 <line width="1" colour="#0000ff"/>
179 <scale_min>1</scale_min>
180 <scale_max>50000</scale_max>
181 </rule>
182
183<!-- railway tags -->
184 <rule>
185 <condition k="railway" v="station" />
186 <icon annotate="true" src="station.png" />
187 <scale_min>1</scale_min>
188 <scale_max>50000</scale_max>
189 </rule>
190
191 <rule>
192 <condition k="railway" v="level_crossing" />
193 <icon annotate="true" src="crossing.png" />
194 <scale_min>1</scale_min>
195 <scale_max>50000</scale_max>
196 </rule>
197
198 <rule>
199 <condition k="railway" v="rail"/>
200 <line width="2" colour="#808080"/>
201 <scale_min>1</scale_min>
202 <scale_max>50000</scale_max>
203 </rule>
204
205 <rule>
206 <condition k="railway" v="tram"/>
207 <line width="1" colour="#606060"/>
208 <scale_min>1</scale_min>
209 <scale_max>50000</scale_max>
210 </rule>
211
212 <rule>
213 <condition k="railway" v="light_rail"/>
214 <line width="2" colour="#808080"/>
215 <scale_min>1</scale_min>
216 <scale_max>50000</scale_max>
217 </rule>
218
219 <rule>
220 <condition k="railway" v="subway"/>
221 <line width="1" colour="#202020"/>
222 <scale_min>1</scale_min>
223 <scale_max>50000</scale_max>
224 </rule>
225
226<!--aeroway tags -->
227
228 <rule>
229 <condition k="aeroway" v="runway"/>
230 <line width="3" colour="#330000" />
231 <scale_min>1</scale_min>
232 <scale_max>50000</scale_max>
233 </rule>
234
235 <rule>
236 <condition k="aeroway" v="taxiway"/>
237 <line width="2" colour="#660000" />
238 <scale_min>1</scale_min>
239 <scale_max>50000</scale_max>
240 </rule>
241
242 <rule>
243 <condition k="aeroway" v="apron"/>
244 <area colour="#D8D8D8" />
245 <scale_min>1</scale_min>
246 <scale_max>50000</scale_max>
247 </rule>
248
249<!--aerialway tags -->
250
251<!--power tags -->
252
253<!--man_made tags -->
254 <rule>
255 <condition k="man_made" v="mast" />
256 <icon annotate="true" src="mast.png" />
257 <scale_min>1</scale_min>
258 <scale_max>50000</scale_max>
259 </rule>
260
261<!--leisure tags -->
262 <rule>
263 <condition k="leisure" v="park"/>
264 <area colour="#c7f1a3"/>
265 <scale_min>1</scale_min>
266 <scale_max>50000</scale_max>
267 </rule>
268
269 <rule>
270 <condition k="leisure" v="playground"/>
271 <area colour="#c7f1a3"/>
272 <scale_min>1</scale_min>
273 <scale_max>50000</scale_max>
274 </rule>
275
276<!--amenity tags -->
277 <rule>
278 <condition k="amenity" v="restaurant" />
279 <icon annotate="true" src="restaurant.png" />
280 <scale_min>1</scale_min>
281 <scale_max>50000</scale_max>
282 </rule>
283
284 <rule>
285 <condition k="amenity" v="pub" />
286 <icon annotate="true" src="pub.png" />
287 <scale_min>1</scale_min>
288 <scale_max>50000</scale_max>
289 </rule>
290
291 <rule>
292 <condition k="amenity" v="biergarten" />
293 <icon annotate="true" src="pub.png" />
294 <scale_min>1</scale_min>
295 <scale_max>50000</scale_max>
296 </rule>
297
298 <rule>
299 <condition k="amenity" v="fast_food" />
300 <icon annotate="true" src="restaurant.png" />
301 <scale_min>1</scale_min>
302 <scale_max>50000</scale_max>
303 </rule>
304
305 <rule>
306 <condition k="amenity" v="parking" />
307 <icon annotate="true" src="carpark.png" />
308 <scale_min>1</scale_min>
309 <scale_max>50000</scale_max>
310 </rule>
311
312 <rule>
313 <condition k="amenity" v="place_of_worship" />
314 <icon annotate="true" src="church.png" />
315 <scale_min>1</scale_min>
316 <scale_max>50000</scale_max>
317 </rule>
318
319<!--shop tags -->
320
321<!--tourism tags -->
322 <rule>
323 <condition k="tourism" v="camp_site" />
324 <icon annotate="true" src="campsite.png" />
325 <scale_min>1</scale_min>
326 <scale_max>50000</scale_max>
327 </rule>
328
329 <rule>
330 <condition k="tourism" v="viewpoint" />
331 <icon annotate="true" src="viewpoint.png" />
332 <scale_min>1</scale_min>
333 <scale_max>50000</scale_max>
334 </rule>
335
336 <rule>
337 <condition k="tourism" v="attraction"/>
338 <icon annotate="true" src="interest.png"/>
339 <scale_min>1</scale_min>
340 <scale_max>50000</scale_max>
341 </rule>
342
343<!--historic tags -->
344
345<!--landuse tags -->
346 <rule>
347 <condition k="landuse" v="farm" />
348 <icon annotate="true" src="farm.png" />
349 <scale_min>1</scale_min>
350 <scale_max>50000</scale_max>
351 </rule>
352
353 <rule>
354 <condition k="landuse" v="quarry"/>
355 <area colour="#cccccc" />
356 <scale_min>1</scale_min>
357 <scale_max>50000</scale_max>
358 </rule>
359
360 <rule>
361 <condition k="landuse" v="landfill"/>
362 <area colour="#663300" />
363 <scale_min>1</scale_min>
364 <scale_max>50000</scale_max>
365 </rule>
366
367 <rule>
368 <condition k="landuse" v="bassin"/>
369 <area colour="#0000bf" />
370 <scale_min>1</scale_min>
371 <scale_max>50000</scale_max>
372 </rule>
373
374 <rule>
375 <condition k="landuse" v="forest"/>
376 <area colour="#b1efc8" />
377 <scale_min>1</scale_min>
378 <scale_max>50000</scale_max>
379 </rule>
380
381 <rule>
382 <condition k="landuse" v="cemetery"/>
383 <line width="1" colour="#bde3cb"/>
384 <scale_min>1</scale_min>
385 <scale_max>50000</scale_max>
386 </rule>
387
388 <rule>
389 <condition k="landuse" v="residential"/>
390 <area colour="#f0f0f0"/>
391 <scale_min>1</scale_min>
392 <scale_max>50000</scale_max>
393 </rule>
394
395 <rule>
396 <condition k="landuse" v="industrial"/>
397 <area colour="#ecd8ff"/>
398 <scale_min>1</scale_min>
399 <scale_max>50000</scale_max>
400 </rule>
401
402<!--military tags -->
403 <rule>
404 <condition k="military" v="danger_area" />
405 <area colour="#b62c2c"/>
406 <scale_min>1</scale_min>
407 <scale_max>50000</scale_max>
408 </rule>
409
410<!--natural tags -->
411 <rule>
412 <condition k="natural" v="peak"/>
413 <icon annotate="true" src="peak_small.png"/>
414 <scale_min>1</scale_min>
415 <scale_max>50000</scale_max>
416 </rule>
417
418 <rule>
419 <condition k="natural" v="fell"/>
420 <area colour="#002f00"/>
421 <scale_min>1</scale_min>
422 <scale_max>50000</scale_max>
423 </rule>
424
425 <rule>
426 <condition k="natural" v="scrub" />
427 <area colour="#007000" />
428 <scale_min>1</scale_min>
429 <scale_max>50000</scale_max>
430 </rule>
431
432 <rule>
433 <condition k="natural" v="heath"/>
434 <area colour="#ffffc0"/>
435 <scale_min>1</scale_min>
436 <scale_max>50000</scale_max>
437 </rule>
438
439 <rule>
440 <condition k="natural" v="wood"/>
441 <area colour="#008000" />
442 <scale_min>1</scale_min>
443 <scale_max>50000</scale_max>
444 </rule>
445
446 <rule>
447 <condition k="natural" v="water"/>
448 <area colour="#0000ff"/>
449 <scale_min>1</scale_min>
450 <scale_max>50000</scale_max>
451 </rule>
452
453 <rule>
454 <condition k="natural" v="coastline"/>
455 <line width="1" colour="#0000ff"/>
456 <scale_min>1</scale_min>
457 <scale_max>50000</scale_max>
458 </rule>
459
460<!--route tags -->
461
462<!--boundary tags -->
463
464<!--sport tags -->
465 <rule>
466 <condition k="landuse" v="football"/>
467 <area colour="#99ff99" />
468 <scale_min>1</scale_min>
469 <scale_max>50000</scale_max>
470 </rule>
471
472 <rule>
473 <condition k="sport" v="soccer" />
474 <area colour="#bde3cb"/>
475 <scale_min>1</scale_min>
476 <scale_max>50000</scale_max>
477 </rule>
478
479<!--abutters tags -->
480
481<!--accessories tags -->
482
483<!--properties tags -->
484
485<!--restrictions tags -->
486
487<!--name tags -->
488
489<!--preferences tags -->
490
491<!--place tags -->
492 <rule>
493 <condition k="place" v="city" />
494 <icon annotate="true" src="place.png" />
495 <scale_min>1</scale_min>
496 <scale_max>50000</scale_max>
497 </rule>
498
499 <rule>
500 <condition k="place" v="town" />
501 <icon annotate="true" src="place.png" />
502 <scale_min>1</scale_min>
503 <scale_max>50000</scale_max>
504 </rule>
505
506 <rule>
507 <condition k="place" v="village" />
508 <icon annotate="true" src="place.png" />
509 <scale_min>1</scale_min>
510 <scale_max>50000</scale_max>
511 </rule>
512
513 <rule>
514 <condition k="place" v="hamlet" />
515 <icon annotate="true" src="place.png" />
516 <scale_min>1</scale_min>
517 <scale_max>50000</scale_max>
518 </rule>
519
520 <rule>
521 <condition k="place" v="suburb" />
522 <icon annotate="true" src="place.png" />
523 <scale_min>1</scale_min>
524 <scale_max>50000</scale_max>
525 </rule>
526
527<!--annotation tags -->
528
529</rules>
Note: See TracBrowser for help on using the repository browser.