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