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