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