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