Parent Directory | Revision Log
initial line mod support and some small fixes
1 | <?xml version="1.0"?> |
2 | <!-- |
3 | elemstyles.xml resembling the current Mapnik rendering. Written for osm2go; |
4 | may be compatible with josm. |
5 | __TEMPLATE__ |
6 | Andrew Chadwick, /andrewc at piffle org/, 2008-12-07 |
7 | --> |
8 | <rules> |
9 | |
10 | <!-- |
11 | |
12 | Classes of (typically) paved road: those designed for motor vehicles first. |
13 | |
14 | Carriageway widths are based fairly loosely on the z17 Mapnik rendering. |
15 | The "standard carriageway width" - residential, tertiary, unclassified |
16 | etc. - is 8 units inner, 10 units outer. This is quite fat compared to other |
17 | OSM2Go themes, but it gives a good approximation of what shadows what in |
18 | the finest-detail Mapnik rendering; for my mapping style, that matters: I |
19 | don't abut areas to ways most of the time. |
20 | |
21 | --> |
22 | |
23 | <rule> |
24 | <condition k="bridge" v="yes"/> |
25 | <linemod width_bg="+4"/> |
26 | </rule> |
27 | |
28 | <rule> |
29 | <!-- |
30 | Road with unknown classification. |
31 | This is considered incomplete data, so make it ugly and very visible. |
32 | --> |
33 | <condition k="highway" v="road"/> |
34 | <line width="3" colour="#cc0000" width_bg="9" colour_bg="#ff8800"/> |
35 | <scale_min>1</scale_min> |
36 | <scale_max>800000</scale_max> |
37 | </rule> |
38 | |
39 | <rule> |
40 | <condition k="highway" v="motorway"/> |
41 | <line width="10" colour="#809bc0" width_bg="12" colour_bg="#5e6e89"/> |
42 | <scale_min>1</scale_min> |
43 | <scale_max>2000000</scale_max> |
44 | </rule> |
45 | |
46 | <rule> |
47 | <condition k="highway" v="motorway_link"/> |
48 | <line width="8" colour="#809bc0" width_bg="10" colour_bg="#5e6e89"/> |
49 | <scale_min>1</scale_min> |
50 | <scale_max>2000000</scale_max> |
51 | </rule> |
52 | |
53 | <rule> |
54 | <condition k="highway" v="trunk"/> |
55 | <line width="9" colour="#a7dca8" width_bg="11" colour_bg="#8db48c"/> |
56 | <scale_min>1</scale_min> |
57 | <scale_max>200000</scale_max> |
58 | </rule> |
59 | |
60 | <rule> |
61 | <condition k="highway" v="trunk_link"/> |
62 | <line width="8" colour="#a7dca8" width_bg="10" colour_bg="#8db48c"/> |
63 | <scale_min>1</scale_min> |
64 | <scale_max>200000</scale_max> |
65 | </rule> |
66 | |
67 | <rule> |
68 | <condition k="highway" v="primary"/> |
69 | <line width="9" colour="#eb9898" width_bg="11" colour_bg="#c48080"/> |
70 | <scale_min>1</scale_min> |
71 | <scale_max>125000</scale_max> |
72 | </rule> |
73 | |
74 | <rule> |
75 | <condition k="highway" v="primary_link"/> |
76 | <line width="7" colour="#eb9898" width_bg="9" colour_bg="#c48080"/> |
77 | <scale_min>1</scale_min> |
78 | <scale_max>125000</scale_max> |
79 | </rule> |
80 | |
81 | <rule> |
82 | <condition k="highway" v="secondary"/> |
83 | <line width="8" colour="#fdd6a4" width_bg="10" colour_bg="#d9b689"/> |
84 | <scale_min>1</scale_min> |
85 | <scale_max>100000</scale_max> |
86 | </rule> |
87 | |
88 | <rule> |
89 | <condition k="highway" v="tertiary"/> |
90 | <line width="8" colour="#f8f8b0" width_bg="10" colour_bg="#ccccbb"/> |
91 | <scale_min>1</scale_min> |
92 | <scale_max>75000</scale_max> |
93 | </rule> |
94 | |
95 | <!-- |
96 | |
97 | Smaller roads: white or grey main area. |
98 | |
99 | The normal Mapnik grey casing is #c8c8c8 for white and #a8a8a8 for grey; |
100 | I've darkened them a notch and a half-notch respecively here to improve |
101 | contrast for n810 screens. |
102 | |
103 | --> |
104 | |
105 | <!-- Needs multiple conditions |
106 | <rule> |
107 | <condition k="highway" v="unclassified"/> |
108 | <condition k="area" v="yes"/> |
109 | <area colour="#ffffff"/> |
110 | <scale_min>1</scale_min> |
111 | <scale_max>40000</scale_max> |
112 | </rule> |
113 | --> |
114 | <rule> |
115 | <condition k="highway" v="unclassified"/> |
116 | <line width="8" colour="#ffffff" width_bg="10" colour_bg="#b8b8b8"/> |
117 | <scale_min>1</scale_min> |
118 | <scale_max>40000</scale_max> |
119 | </rule> |
120 | |
121 | <!-- Need multiple conditions |
122 | <rule> |
123 | <condition k="highway" v="pedestrian"/> |
124 | <condition k="area" v="yes"/> |
125 | <area colour="#e8e8e8"/> |
126 | <scale_min>1</scale_min> |
127 | <scale_max>30000</scale_max> |
128 | </rule> |
129 | --> |
130 | <rule> |
131 | <condition k="highway" v="pedestrian"/> |
132 | <line width="4" colour="#e8e8e8" width_bg="6" colour_bg="#a0a0a0"/> |
133 | <scale_min>1</scale_min> |
134 | <scale_max>30000</scale_max> |
135 | </rule> |
136 | |
137 | <rule> |
138 | <condition k="highway" v="residential"/> |
139 | <line width="8" colour="#ffffff" width_bg="10" colour_bg="#b8b8b8"/> |
140 | <scale_min>1</scale_min> |
141 | <scale_max>30000</scale_max> |
142 | </rule> |
143 | |
144 | <rule> |
145 | <condition k="highway" v="living_street"/> |
146 | <line width="8" colour="#ffffff" width_bg="10" colour_bg="#b8b8b8"/> |
147 | <scale_min>1</scale_min> |
148 | <scale_max>25000</scale_max> |
149 | </rule> |
150 | |
151 | <rule> |
152 | <condition k="highway" v="service"/> |
153 | <line width="4" colour="#ffffff" width_bg="6" colour_bg="#b8b8b8"/> |
154 | <scale_min>1</scale_min> |
155 | <scale_max>15000</scale_max> |
156 | </rule> |
157 | |
158 | <!-- |
159 | Footways, tracks, cycleways etc. Visible and editable at higher zooms. |
160 | Typically either not for motor vehicles, or not sufaced to the same |
161 | standard as the highways above. |
162 | --> |
163 | |
164 | <rule> |
165 | <condition k="highway" v="footway"/> |
166 | <line colour="#f98072" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
167 | <scale_min>1</scale_min> |
168 | <scale_max>10000</scale_max> |
169 | </rule> |
170 | |
171 | <rule> |
172 | <condition k="highway" v="steps"/> |
173 | <line colour="#f98072" colour_bg="#ffffff" dashed="true" width="3" width_bg="4"/> |
174 | <scale_min>1</scale_min> |
175 | <scale_max>10000</scale_max> |
176 | </rule> |
177 | |
178 | <rule> |
179 | <condition k="highway" v="cycleway"/> |
180 | <line colour="#5050fe" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
181 | <scale_min>1</scale_min> |
182 | <scale_max>12500</scale_max> |
183 | </rule> |
184 | |
185 | <rule> |
186 | <condition k="highway" v="bridleway"/> |
187 | <line colour="#008000" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
188 | <scale_min>1</scale_min> |
189 | <scale_max>12500</scale_max> |
190 | </rule> |
191 | |
192 | <rule> |
193 | <condition k="highway" v="byway"/> |
194 | <line colour="#f8eecc" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
195 | <scale_min>1</scale_min> |
196 | <scale_max>12500</scale_max> |
197 | </rule> |
198 | |
199 | <rule> |
200 | <condition k="highway" v="track"/> |
201 | <line colour="#996600" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
202 | <scale_min>1</scale_min> |
203 | <scale_max>12500</scale_max> |
204 | </rule> |
205 | |
206 | <rule> |
207 | <condition k="highway" v="path"/> |
208 | <line colour="#cc7733" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
209 | <scale_min>1</scale_min> |
210 | <scale_max>12500</scale_max> |
211 | </rule> |
212 | |
213 | <!-- |
214 | Rail. |
215 | --> |
216 | |
217 | <rule> |
218 | <condition k="railway" v="abandoned"/> |
219 | <line width="4" width_bg="6" colour="__BG_COL__" colour_bg="#cccccc"/> |
220 | <scale_min>1</scale_min> |
221 | <scale_max>14000</scale_max> |
222 | </rule> |
223 | |
224 | <rule> |
225 | <condition k="railway" v="disused"/> |
226 | <line width="4" width_bg="6" colour="__BG_COL__" colour_bg="#cccccc"/> |
227 | <scale_min>1</scale_min> |
228 | <scale_max>14000</scale_max> |
229 | </rule> |
230 | |
231 | <rule> |
232 | <condition k="railway"/><!-- catchall linear --> |
233 | <line width="4" width_bg="6" dashed="true" colour="#eeeeee" colour_bg="#999999"/> |
234 | <scale_min>1</scale_min> |
235 | <scale_max>160000</scale_max> |
236 | </rule> |
237 | |
238 | |
239 | <!-- |
240 | Waterways. |
241 | --> |
242 | |
243 | <rule> |
244 | <condition k="waterway" v="riverbank"/> |
245 | <area colour="#b5d0d0"/> |
246 | <scale_min>1</scale_min> |
247 | <scale_max>1250000</scale_max> |
248 | </rule> |
249 | |
250 | <rule> |
251 | <condition k="waterway" v="river"/> |
252 | <line width="8" colour="#b5d0d0"/> |
253 | <scale_min>1</scale_min> |
254 | <scale_max>1250000</scale_max> |
255 | </rule> |
256 | |
257 | <rule> |
258 | <condition k="waterway" v="canal"/> |
259 | <line width="6" colour="#b5d0d0"/> |
260 | <scale_min>1</scale_min> |
261 | <scale_max>500000</scale_max> |
262 | </rule> |
263 | |
264 | <rule> |
265 | <condition k="waterway" v="stream"/> |
266 | <line width="4" colour="#b5d0d0"/> |
267 | <scale_min>1</scale_min> |
268 | <scale_max>30000</scale_max> |
269 | </rule> |
270 | |
271 | <rule><!-- catchall --> |
272 | <condition k="waterway"/> |
273 | <line width="4" colour="#b5d0d0"/> |
274 | <scale_min>1</scale_min> |
275 | <scale_max>30000</scale_max> |
276 | </rule> |
277 | |
278 | <!-- Other linear features --> |
279 | |
280 | <!-- City walls --> |
281 | <!-- same colours as a building area, and visible slightly further out --> |
282 | <rule> |
283 | <condition k="historic" v="citywalls"/><!-- old --> |
284 | <line width="4" colour="#cc9999" colour_bg="#cccccc" width_bg="6" /> |
285 | <scale_min>1</scale_min> |
286 | <scale_max>30000</scale_max> |
287 | </rule> |
288 | <rule> |
289 | <condition k="barrier" v="city_walls"/><!-- new --> |
290 | <line width="4" colour="#cc9999" colour_bg="#cccccc" width_bg="6" /> |
291 | <scale_min>1</scale_min> |
292 | <scale_max>30000</scale_max> |
293 | </rule> |
294 | <rule> |
295 | <condition k="barrier"/><!-- catchall barrier --> |
296 | <line width="1" colour="#888888"/> |
297 | <scale_min>1</scale_min> |
298 | <scale_max>5000</scale_max> |
299 | </rule> |
300 | |
301 | <!-- |
302 | |
303 | Areas |
304 | |
305 | --> |
306 | |
307 | <!-- |
308 | Buildings. |
309 | This is first for stylistic reasons. If it's a building area, then no matter |
310 | what it's also tagged as, it'll be drawn in salmon pink. |
311 | --> |
312 | <rule> |
313 | <condition k="building"/> |
314 | <area colour="#cc9999"/> |
315 | <scale_min>1</scale_min> |
316 | <scale_max>17777</scale_max> |
317 | </rule> |
318 | |
319 | <!-- |
320 | Landuse. |
321 | These override any natural=* tagging that might be present too. |
322 | --> |
323 | |
324 | <rule> |
325 | <condition k="landuse" v="basin"/> |
326 | <area colour="#b5d0d0"/> |
327 | <scale_min>1</scale_min> |
328 | <scale_max>40000</scale_max> |
329 | </rule> |
330 | |
331 | <rule> |
332 | <condition k="landuse" v="grass"/> |
333 | <area colour="#ceeba7"/> |
334 | <scale_min>1</scale_min> |
335 | <scale_max>13333</scale_max> |
336 | </rule> |
337 | |
338 | <rule> |
339 | <condition k="landuse" v="village_green"/> |
340 | <area colour="#ceeba7"/> |
341 | <scale_min>1</scale_min> |
342 | <scale_max>16000</scale_max> |
343 | </rule> |
344 | |
345 | <rule> |
346 | <condition k="landuse" v="allotments"/> |
347 | <area colour="#c8b084"/> |
348 | <scale_min>1</scale_min> |
349 | <scale_max>16000</scale_max> |
350 | </rule> |
351 | |
352 | <rule> |
353 | <condition k="landuse" v="brownfield"/> |
354 | <area colour="#C8A064"/> |
355 | <scale_min>1</scale_min> |
356 | <scale_max>16000</scale_max> |
357 | </rule> |
358 | |
359 | <rule> |
360 | <condition k="landuse" v="greenfield"/> |
361 | <area colour="#CEDB87"/> |
362 | <scale_min>1</scale_min> |
363 | <scale_max>16000</scale_max> |
364 | </rule> |
365 | |
366 | <rule> |
367 | <condition k="landuse" v="construction"/> |
368 | <area colour="#C8A064"/> |
369 | <scale_min>1</scale_min> |
370 | <scale_max>16000</scale_max> |
371 | </rule> |
372 | |
373 | <rule> |
374 | <condition k="amenity" v="grave_yard"/> |
375 | <area colour="#a9caae"/> |
376 | <scale_min>1</scale_min> |
377 | <scale_max>16000</scale_max> |
378 | </rule> |
379 | |
380 | <rule> |
381 | <condition k="landuse" v="cemetery"/> |
382 | <area colour="#a9caae"/> |
383 | <scale_min>1</scale_min> |
384 | <scale_max>20000</scale_max> |
385 | </rule> |
386 | |
387 | <rule> |
388 | <condition k="landuse" v="retail"/> |
389 | <area colour="#f2d9d9"/> |
390 | <scale_min>1</scale_min> |
391 | <scale_max>20000</scale_max> |
392 | </rule> |
393 | |
394 | <rule> |
395 | <condition k="landuse" v="military"/> |
396 | <area colour="__BG_COL__"/> |
397 | <!-- Not shown by the real Mapnik layer, but force an area for it --> |
398 | <scale_min>1</scale_min> |
399 | <scale_max>20000</scale_max> |
400 | </rule> |
401 | |
402 | <rule> |
403 | <condition k="landuse" v="commercial"/> |
404 | <area colour="#eec7c7"/> |
405 | <scale_min>1</scale_min> |
406 | <scale_max>20000</scale_max> |
407 | </rule> |
408 | |
409 | <rule> |
410 | <condition k="landuse" v="recreation_ground"/> |
411 | <area colour="#cfeca8"/> |
412 | <scale_min>1</scale_min> |
413 | <scale_max>20000</scale_max> |
414 | </rule> |
415 | |
416 | <rule> |
417 | <condition k="landuse" v="railway"/> |
418 | <area colour="__BG_COL__"/> |
419 | <!-- Not shown by the real Mapnik layer, but force an area for it --> |
420 | <scale_min>1</scale_min> |
421 | <scale_max>20000</scale_max> |
422 | </rule> |
423 | |
424 | <rule> |
425 | <condition k="landuse" v="industrial"/> |
426 | <area colour="#ded0d5"/> |
427 | <scale_min>1</scale_min> |
428 | <scale_max>26666</scale_max> |
429 | </rule> |
430 | |
431 | <rule> |
432 | <condition k="landuse" v="residential"/> |
433 | <area colour="#dddddd"/> |
434 | <scale_min>1</scale_min> |
435 | <scale_max>40000</scale_max> |
436 | </rule> |
437 | |
438 | <rule> |
439 | <condition k="landuse" v="meadow"/> |
440 | <area colour="#cfeba8"/> |
441 | <scale_min>1</scale_min> |
442 | <scale_max>80000</scale_max> |
443 | </rule> |
444 | |
445 | <rule> |
446 | <condition k="landuse" v="forest"/> |
447 | <area colour="#8dc56c"/> |
448 | <scale_min>1</scale_min> |
449 | <scale_max>160000</scale_max> |
450 | </rule> |
451 | |
452 | <rule> <!-- catchall --> |
453 | <condition k="landuse"/> |
454 | <area colour="#f2eee8"/> |
455 | <scale_min>1</scale_min> |
456 | <scale_max>13333</scale_max> |
457 | </rule> |
458 | |
459 | <!-- Amenities --> |
460 | |
461 | <rule> |
462 | <condition k="amenity" v="parking"/> |
463 | <area colour="#f6eeb6"/> |
464 | <scale_min>1</scale_min> |
465 | <scale_max>13333</scale_max> |
466 | </rule> |
467 | |
468 | <rule> |
469 | <condition k="amenity" v="bus_station"/> |
470 | <area colour="#f6eeb6"/> |
471 | <scale_min>1</scale_min> |
472 | <scale_max>26666</scale_max> |
473 | </rule> |
474 | |
475 | <rule> |
476 | <condition k="amenity" v="school"/> |
477 | <area colour="#f0f0d8"/> |
478 | <scale_min>1</scale_min> |
479 | <scale_max>20000</scale_max> |
480 | </rule> |
481 | |
482 | <rule> |
483 | <condition k="amenity" v="college"/> |
484 | <area colour="#f0f0d8"/> |
485 | <scale_min>1</scale_min> |
486 | <scale_max>26666</scale_max> |
487 | </rule> |
488 | |
489 | <rule> |
490 | <condition k="amenity" v="university"/> |
491 | <area colour="#f0f0d8"/> |
492 | <scale_min>1</scale_min> |
493 | <scale_max>40000</scale_max> |
494 | </rule> |
495 | |
496 | <rule> |
497 | <condition k="amenity" v="hospital"/> |
498 | <area colour="#f0f0d8"/> |
499 | <scale_min>1</scale_min> |
500 | <scale_max>40000</scale_max> |
501 | </rule> |
502 | |
503 | <rule> |
504 | <condition k="amenity"/> |
505 | <area colour="#f0f0d8"/> |
506 | <scale_min>1</scale_min> |
507 | <scale_max>40000</scale_max> |
508 | </rule> |
509 | |
510 | <!-- Recreation and leasure --> |
511 | |
512 | <rule> |
513 | <condition k="leisure" v="garden"/> |
514 | <area colour="#ceeba8"/> |
515 | <scale_min>1</scale_min> |
516 | <scale_max>16000</scale_max> |
517 | </rule> |
518 | |
519 | <rule> |
520 | <condition k="leisure" v="pitch"/> |
521 | <area colour="#8ad3af"/> |
522 | <scale_min>1</scale_min> |
523 | <scale_max>16000</scale_max> |
524 | </rule> |
525 | |
526 | <rule> |
527 | <condition k="leisure" v="playground"/> |
528 | <area colour="#ccffff"/> |
529 | <scale_min>1</scale_min> |
530 | <scale_max>13000</scale_max><!-- slightly higher than footway --> |
531 | </rule> |
532 | |
533 | <rule> |
534 | <condition k="leisure" v="park"/> |
535 | <area colour="#b5fcb5"/> |
536 | <scale_min>1</scale_min> |
537 | <scale_max>20000</scale_max> |
538 | </rule> |
539 | |
540 | <rule> |
541 | <condition k="leisure" v="nature_reserve"/> |
542 | <area colour="#abde96"/> |
543 | <scale_min>1</scale_min> |
544 | <scale_max>26666</scale_max> |
545 | </rule> |
546 | |
547 | <rule> |
548 | <condition k="leisure" v="golf_course"/> |
549 | <area colour="#b5e2b5"/> |
550 | <scale_min>1</scale_min> |
551 | <scale_max>40000</scale_max> |
552 | </rule> |
553 | |
554 | <rule> |
555 | <condition k="leisure"/> |
556 | <area colour="#33cc99"/> |
557 | <scale_min>1</scale_min> |
558 | <scale_max>26666</scale_max> |
559 | </rule> |
560 | |
561 | <!-- |
562 | Just sport on its own isn't rendered by Mapnik. Also, it's a helper tag |
563 | that should be combined with some other physical feature. To encourage |
564 | proper mapping, we don't render it here. See |
565 | http://wiki.openstreetmap.org/wiki/Key:sport#Rendering for the rationale |
566 | here. |
567 | |
568 | <rule> |
569 | <condition k="sport"/> |
570 | <area colour="#33cc99"/> |
571 | <scale_min>1</scale_min> |
572 | <scale_max>13333</scale_max> |
573 | </rule> |
574 | --> |
575 | |
576 | <rule> |
577 | <condition k="historic"/> |
578 | <area colour="#f1cae9"/> |
579 | <scale_min>1</scale_min> |
580 | <scale_max>26666</scale_max> |
581 | </rule> |
582 | |
583 | <rule> |
584 | <condition k="tourism"/> |
585 | <area colour="#f1cae9"/> |
586 | <scale_min>1</scale_min> |
587 | <scale_max>26666</scale_max> |
588 | </rule> |
589 | |
590 | |
591 | <!-- Man-made --> |
592 | |
593 | <rule> |
594 | <condition k="man_made"/> |
595 | <area colour="__BG_COL__"/> |
596 | <!-- Not shown by the real Mapnik layer, but force an area for it --> |
597 | <scale_min>1</scale_min> |
598 | <scale_max>15000</scale_max> |
599 | </rule> |
600 | |
601 | |
602 | <!-- Natural features --> |
603 | |
604 | <rule> |
605 | <condition k="natural" v="cave_entrance"/> |
606 | <area colour="#666666"/> |
607 | <scale_min>1</scale_min> |
608 | <scale_max>13333</scale_max> |
609 | </rule> |
610 | |
611 | <rule> |
612 | <condition k="natural" v="marsh"/> |
613 | <area colour="#ebf1f4"/> |
614 | <scale_min>1</scale_min> |
615 | <scale_max>26666</scale_max> |
616 | </rule> |
617 | |
618 | <rule> |
619 | <condition k="natural" v="wetland"/> |
620 | <area colour="#ebf1f4"/> |
621 | <scale_min>1</scale_min> |
622 | <scale_max>26666</scale_max> |
623 | </rule> |
624 | |
625 | <rule> |
626 | <condition k="natural" v="water"/> |
627 | <area colour="#b5d0d0"/> |
628 | <scale_min>1</scale_min> |
629 | <scale_max>26666</scale_max> |
630 | </rule> |
631 | |
632 | <rule> |
633 | <condition k="natural" v="heath"/> |
634 | <area colour="#fefec0"/> |
635 | <scale_min>1</scale_min> |
636 | <scale_max>20000</scale_max> |
637 | </rule> |
638 | |
639 | <rule> |
640 | <condition k="natural" v="scrub"/> |
641 | <!-- <area colour="#AEC1B0"/> --> |
642 | <area colour="__BG_COL__"/> |
643 | <!-- Not shown by the real Mapnik layer, but force an area for it --> |
644 | <scale_min>1</scale_min> |
645 | <scale_max>20000</scale_max> |
646 | </rule> |
647 | |
648 | <rule> |
649 | <condition k="natural" v="wood"/> |
650 | <area colour="#aed1a0"/> |
651 | <scale_min>1</scale_min> |
652 | <scale_max>40000</scale_max> |
653 | </rule> |
654 | |
655 | <rule> |
656 | <condition k="natural" v="coastline"/> |
657 | <line width="3" colour="#8DC56C"/> |
658 | <scale_min>1</scale_min> |
659 | <scale_max>3200000</scale_max> |
660 | </rule> |
661 | |
662 | <rule> |
663 | <condition k="natural"/> |
664 | <area colour="#66CCCC"/> |
665 | <scale_min>1</scale_min> |
666 | <scale_max>26666</scale_max> |
667 | </rule> |
668 | |
669 | <!-- Nodes --> |
670 | |
671 | <!-- Leisure --> |
672 | |
673 | <rule> |
674 | <condition k="amenity" v="pub"/> |
675 | <icon src="pub.p.16.png"/> |
676 | <scale_min>1</scale_min> |
677 | <scale_max>15000</scale_max> |
678 | </rule> |
679 | |
680 | <rule> |
681 | <condition k="amenity" v="cafe"/> |
682 | <icon src="cafe.p.16.png"/> |
683 | <scale_min>1</scale_min> |
684 | <scale_max>15000</scale_max> |
685 | </rule> |
686 | |
687 | <rule> |
688 | <condition k="amenity" v="bar"/><!-- official ? --> |
689 | <icon src="food_bar.p.16.png"/> |
690 | <scale_min>1</scale_min> |
691 | <scale_max>15000</scale_max> |
692 | </rule> |
693 | |
694 | <rule> |
695 | <condition k="amenity" v="nightclub"/> |
696 | <icon src="food_bar.p.16.png"/> |
697 | <scale_min>1</scale_min> |
698 | <scale_max>15000</scale_max> |
699 | </rule> |
700 | |
701 | <rule> |
702 | <condition k="amenity" v="restaurant"/> |
703 | <icon src="restaurant.p.16.png"/> |
704 | <scale_min>1</scale_min> |
705 | <scale_max>15000</scale_max> |
706 | </rule> |
707 | |
708 | <!-- Utility --> |
709 | |
710 | <rule> |
711 | <condition k="amenity" v="hospital"/> |
712 | <icon src="hospital.p.16.png"/> |
713 | <scale_min>1</scale_min> |
714 | <scale_max>30000</scale_max> |
715 | </rule> |
716 | |
717 | <rule> |
718 | <condition k="amenity" v="bank"/> |
719 | <icon src="bank2.p.16.png"/> |
720 | <scale_min>1</scale_min> |
721 | <scale_max>10000</scale_max> |
722 | </rule> |
723 | |
724 | <rule> |
725 | <condition k="amenity" v="atm"/> |
726 | <icon src="atm2.p.16.png"/> |
727 | <scale_min>1</scale_min> |
728 | <scale_max>10000</scale_max> |
729 | </rule> |
730 | |
731 | <rule> |
732 | <condition k="amenity" v="recycling"/> |
733 | <icon src="recycling.p.16.png"/> |
734 | <scale_min>1</scale_min> |
735 | <scale_max>10000</scale_max> |
736 | </rule> |
737 | |
738 | <!-- Tourism --> |
739 | |
740 | <rule> |
741 | <condition k="aeroway" v="aerodrome"/> |
742 | <icon src="aerodrome.p.16.png"/> |
743 | <scale_min>1</scale_min> |
744 | <scale_max>100000</scale_max> |
745 | </rule> |
746 | |
747 | <rule> |
748 | <condition k="tourism" v="hotel"/> |
749 | <icon src="hotel2.p.20.png"/> |
750 | <scale_min>1</scale_min> |
751 | <scale_max>25000</scale_max> |
752 | </rule> |
753 | |
754 | <rule> |
755 | <condition k="tourism" v="motel"/> |
756 | <icon src="hotel2.p.20.png"/> |
757 | <scale_min>1</scale_min> |
758 | <scale_max>25000</scale_max> |
759 | </rule> |
760 | |
761 | <rule> |
762 | <condition k="tourism" v="museum"/> |
763 | <icon src="museum.p.16.png"/> |
764 | <scale_min>1</scale_min> |
765 | <scale_max>25000</scale_max> |
766 | </rule> |
767 | |
768 | <!-- Postal and public comms --> |
769 | |
770 | <rule> |
771 | <condition k="amenity" v="post_box"/> |
772 | <icon src="post_box.p.16.png"/> |
773 | <scale_min>1</scale_min> |
774 | <scale_max>10000</scale_max> |
775 | </rule> |
776 | |
777 | <rule> |
778 | <condition k="amenity" v="post_office"/> |
779 | <icon src="post_office.p.16.png"/> |
780 | <scale_min>1</scale_min> |
781 | <scale_max>15000</scale_max> |
782 | </rule> |
783 | |
784 | <rule> |
785 | <condition k="amenity" v="telephone"/> |
786 | <icon src="telephone.p.16.png"/> |
787 | <scale_min>1</scale_min> |
788 | <scale_max>10000</scale_max> |
789 | </rule> |
790 | |
791 | <!-- Roads and parking --> |
792 | |
793 | <rule> |
794 | <condition k="highway" v="mini_roundabout"/> |
795 | <icon src="mini_round.png"/> |
796 | <scale_min>1</scale_min> |
797 | <scale_max>20000</scale_max> |
798 | </rule> |
799 | |
800 | <rule> |
801 | <condition k="highway" v="gate"/> |
802 | <icon src="gate2.png"/> |
803 | <scale_min>1</scale_min> |
804 | <scale_max>10000</scale_max> |
805 | </rule> |
806 | |
807 | <rule> |
808 | <condition k="highway" v="bus_stop"/> |
809 | <icon src="bus_stop.p.12.png"/> |
810 | <scale_min>1</scale_min> |
811 | <scale_max>10000</scale_max> |
812 | </rule> |
813 | |
814 | <rule> |
815 | <condition k="amenity" v="fuel"/> |
816 | <icon src="fuel.p.16.png"/> |
817 | <scale_min>1</scale_min> |
818 | <scale_max>20000</scale_max> |
819 | </rule> |
820 | |
821 | <rule> |
822 | <condition k="amenity" v="parking"/> |
823 | <icon src="parking.p.16.png"/> |
824 | <scale_min>1</scale_min> |
825 | <scale_max>25000</scale_max> |
826 | </rule> |
827 | |
828 | <!-- Rail --> |
829 | |
830 | <rule> |
831 | <condition k="railway" v="halt"/> |
832 | <icon src="halt.png"/> |
833 | <scale_min>1</scale_min> |
834 | <scale_max>15000</scale_max> |
835 | </rule> |
836 | |
837 | <rule> |
838 | <condition k="railway" v="station"/> |
839 | <icon src="station.png"/> |
840 | <scale_min>1</scale_min> |
841 | <scale_max>30000</scale_max> |
842 | </rule> |
843 | |
844 | <rule> |
845 | <condition k="railway" v="tram_stop"/> |
846 | <icon src="station_small.png"/> |
847 | <scale_min>1</scale_min> |
848 | <scale_max>10000</scale_max> |
849 | </rule> |
850 | |
851 | <rule> |
852 | <condition k="railway" v="subway_entrance"/> |
853 | <icon src="station_small.png"/> |
854 | <scale_min>1</scale_min> |
855 | <scale_max>20000</scale_max> |
856 | </rule> |
857 | |
858 | <rule> |
859 | <condition k="railway" v="level_crossing"/> |
860 | <icon src="level_crossing.png"/> |
861 | <scale_min>1</scale_min> |
862 | <scale_max>10000</scale_max> |
863 | </rule> |
864 | |
865 | <rule> |
866 | <condition k="railway" v="crossing"/> |
867 | <icon src="level_crossing.png"/> |
868 | <scale_min>1</scale_min> |
869 | <scale_max>10000</scale_max> |
870 | </rule> |
871 | |
872 | <!-- Religious buildings --> |
873 | |
874 | <rule><!-- generic --> |
875 | <condition k="amenity" v="place_of_worship"/> |
876 | <icon src="place_of_worship3.p.16.png"/> |
877 | <scale_min>1</scale_min> |
878 | <scale_max>10000</scale_max> |
879 | </rule> |
880 | |
881 | <rule> |
882 | <condition k="religion" v="jewish"/> |
883 | <icon src="jewish3.p.16.png"/> |
884 | <scale_min>1</scale_min> |
885 | <scale_max>10000</scale_max> |
886 | </rule> |
887 | |
888 | <rule> |
889 | <condition k="religion" v="christian"/> |
890 | <icon src="christian3.p.14.png"/> |
891 | <scale_min>1</scale_min> |
892 | <scale_max>10000</scale_max> |
893 | </rule> |
894 | |
895 | <rule> |
896 | <condition k="religion" v="muslim"/> |
897 | <icon src="islamic3.p.16.png"/> |
898 | <scale_min>1</scale_min> |
899 | <scale_max>10000</scale_max> |
900 | </rule> |
901 | |
902 | <rule> |
903 | <condition k="religion" v="sikh"/> |
904 | <icon src="sikh3.p.16.png"/> |
905 | <scale_min>1</scale_min> |
906 | <scale_max>10000</scale_max> |
907 | </rule> |
908 | |
909 | |
910 | <!-- Natural features --> |
911 | |
912 | <rule> |
913 | <condition k="natural" v="peak"/> |
914 | <icon src="peak.png"/> |
915 | <scale_min>1</scale_min> |
916 | <scale_max>20000</scale_max> |
917 | </rule> |
918 | |
919 | <!-- Man-made structures --> |
920 | |
921 | <rule> |
922 | <condition k="power" v="tower"/> |
923 | <icon src="power_tower.png"/> |
924 | <scale_min>1</scale_min> |
925 | <scale_max>10000</scale_max> |
926 | </rule> |
927 | <rule> |
928 | <condition k="power" v="line"/> |
929 | <line width="1" colour="#333333"/> |
930 | <scale_min>1</scale_min> |
931 | <scale_max>10000</scale_max> |
932 | </rule> |
933 | |
934 | </rules> |
935 |