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