source: osm/applications/editors/josm/oldplugins/osmarender/stylesheets/standard.xml@ 35743

Last change on this file since 35743 was 35743, checked in by stoecker, 4 years ago

readd files directly

File size: 75.2 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<?xml-stylesheet type="text/xsl" href="osmarender.xsl"?>
3
4<!-- This file should be used with Osmarender 4 -->
5<!-- This file implements a sub-set of the items described at https://wiki.openstreetmap.org/index.php/Map_Features -->
6
7<!-- A scale of 0.1 will make fat roads on a small map, a scale of 5 will draw very thin roads on a large scale map -->
8<!-- minimumMapWidth/Height is in kilometres -->
9<!-- Set javaScript="no" if you want an svg file that contains no javascript. This is so that you can upload it to Wikipedia etc -->
10<rules
11 xmlns:xlink="http://www.w3.org/1999/xlink"
12 xmlns:svg="http://www.w3.org/2000/svg"
13 data="data.osm"
14 svgBaseProfile="full"
15 scale="1"
16 symbolScale="4"
17 minimumMapWidth="4"
18 minimumMapHeight="3"
19 withOSMLayers="yes"
20 withUntaggedSegments="yes"
21 symbolsDir="../stylesheets/symbols"
22 showScale="yes"
23 showGrid="yes"
24 showBorder="yes"
25 showLicense="yes"
26 interactive="no">
27
28 <!-- Uncomment this element if you want to explicitly specify the bounding box for a map, or you can add a <bounds> element to
29 your data.osm file, which is probably a better thing to do. -->
30 <!--<bounds
31 minlat="51.50583362991789"
32 minlon="-0.13313005495563884"
33 maxlat="51.516556840221504"
34 maxlon="-0.10891295872251346" />-->
35
36
37 <!-- For debugging this rule draws a one pixel wide trace of *all* segments. This enables segments that have no
38 tags to be identified. Comment it out to hide the debug trace. -->
39 <!--<rule e="segment" k="~" v="~">
40 <line class='debug'/>
41 </rule>-->
42
43 <!-- Select all nodes, waysegments and ways (unless they have an osmarender:render=no tag) -->
44 <!-- If you really want to render segments then you will need to add segment to the element list, but please don't - tag the ways instead. -->
45 <rule e="node|waysegment|way" k="osmarender:render" v="~|yes">
46
47 <!-- Highway shading (abutters) first -->
48 <layer name="Abutters">
49 <rule k="highway" v="residential">
50 <line class='abutters-residential' />
51 </rule>
52 <rule k="abutters" v="residential">
53 <line class='abutters-residential'/>
54 </rule>
55 <rule k="abutters" v="retail">
56 <line class='abutters-retail'/>
57 </rule>
58 <rule k="abutters" v="industrial">
59 <line class='abutters-industrial'/>
60 </rule>
61 <rule k="abutters" v="commercial">
62 <line class='abutters-commercial'/>
63 </rule>
64 <rule k="abutters" v="mixed">
65 <line class='abutters-mixed'/>
66 </rule>
67 </layer>
68
69
70 <!-- Natural features -->
71 <layer name="Natural features and leisure">
72 <rule e="way" k="natural" v="coastline">
73 <line class='natural-coastline'/>
74 </rule>
75 <rule e="way" k="natural" v="glacier">
76 <line class='natural-glacier'/>
77 </rule>
78 <rule e="way" k="natural" v="land">
79 <area class='natural-land' />
80 </rule>
81 <rule e="way" k="natural" v="beach">
82 <area class='natural-beach' />
83 </rule>
84 <rule e="way" k="landuse" v="forest|wood">
85 <area class='landuse-wood'/>
86 </rule>
87 <rule e="way" k="natural" v="forest|wood">
88 <area class='landuse-wood'/>
89 </rule>
90 <rule e="way" k="landuse" v="field|meadow">
91 <area class='landuse-field'/>
92 </rule>
93 <rule e="way" k="leisure" v="park|playing_fields|garden|pitch|golf_course|common|green">
94 <area class='leisure-park'/>
95 </rule>
96 <rule e="way" k="leisure" v="stadium|sports_centre">
97 <area class='leisure-stadium'/>
98 </rule>
99 <rule e="way" k="leisure" v="track">
100 <area class='leisure-track'/>
101 </rule>
102 <rule e="node" k="natural" v="peak">
103 <symbol ref="peak" transform="scale(2)" />
104 <rule k="osmarender:renderName" v="~|yes">
105 <text k="name" class='peak-caption' dx='4px' dy='2.5px'/>
106 </rule>
107 </rule>
108 </layer>
109
110
111 <!-- Waterways -->
112 <rule e="segment|way" k="waterway" v="*">
113 <layer name="Waterways">
114 <rule e="way" k="waterway" v="riverbank">
115 <area class='waterway-riverbank'/>
116 </rule>
117 <rule e="segment|way" k="waterway" v="river">
118 <line class='waterway-river-casing'/>
119 </rule>
120 <rule e="segment|way" k="waterway" v="stream">
121 <line class='waterway-stream-casing'/>
122 </rule>
123 <rule e="segment|way" k="waterway" v="canal">
124 <line class='waterway-canal-casing'/>
125 </rule>
126 <rule e="segment|way" k="waterway" v="drain">
127 <line class='waterway-drain-casing'/>
128 </rule>
129 <rule e="segment|way" k="waterway" v="river">
130 <line class='waterway-river-core'/>
131 </rule>
132 <rule e="segment|way" k="waterway" v="stream">
133 <line class='waterway-stream-core'/>
134 </rule>
135 <rule e="segment|way" k="waterway" v="canal">
136 <line class='waterway-canal-core'/>
137 </rule>
138 <rule e="segment|way" k="waterway" v="drain">
139 <line class='waterway-drain-core'/>
140 </rule>
141 </layer>
142 </rule>
143
144
145 <!-- Landuse -->
146 <rule e="way" k="landuse|natural" v="*">
147 <layer name="Land use">
148 <rule e="way" k="landuse" v="residential">
149 <area class='landuse-residential'/>
150 </rule>
151 <rule e="way" k="landuse" v="retail">
152 <area class='landuse-retail'/>
153 </rule>
154 <rule e="way" k="landuse" v="industrial">
155 <area class="landuse-industrial" />
156 </rule>
157 <rule e="way" k="landuse" v="commercial">
158 <area class="landuse-commercial" />
159 </rule>
160 <rule e="way" k="natural" v="water|pond|lake|bay">
161 <area class='natural-water' />
162 </rule>
163 <rule e="way" k="landuse" v="reservoir">
164 <area class='natural-water' />
165 </rule>
166 <rule e="way" k="landuse" v="basin">
167 <area class='natural-water' />
168 </rule>
169 <rule e="way" k="landuse" v="cemetery">
170 <area class='landuse-cemetery' />
171 <rule e="way" k="religion" v="christian">
172 <area class='landuse-cemetery-christian' />
173 </rule>
174 </rule>
175 </layer>
176 </rule>
177
178
179 <!-- Man-made areas -->
180 <layer name="Man-made">
181 <rule e="way" k="sport" v="rugby|soccer|cricket|horse_racing|golf|hockey|tennis|football|baseball|bowls|basketball">
182 <area class='sport'/>
183 </rule>
184 <rule e="way" k="amenity" v="parking">
185 <area class='amenity-parking'/>
186 </rule>
187 <rule e="way" k="amenity" v="school|university|college">
188 <area class='school-area'/>
189 </rule>
190 <rule e="way" k="tourism" v="attraction">
191 <area class='tourism-attraction'/>
192 </rule>
193 <rule e="way" k="building" v="barn|warehouse|oast_house|tower|castle|monument|hall|shed|store|stadium">
194 <area class='building'/>
195 </rule>
196 <rule e="way" k="building" v="*">
197 <area class='building-block'/>
198 </rule>
199 <rule e="way" k="building" v="detached|semi|terrace|apartments">
200 <area class='building-residential'/>
201 </rule>
202 </layer>
203
204 <!-- Contours -->
205 <rule e="segment|way" k="contour" v="*">
206 <layer name="Contours">
207 <line class='contour' />
208 <text k="contour" text-anchor='middle' startOffset='50%' class="contour-name" />
209 </layer>
210 </rule>
211
212 <!-- Bridges -->
213 <rule e="segment|way" k="bridge" v="yes|true">
214 <layer name="Bridges">
215 <rule e="segment|way" k="highway" v="motorway|trunk">
216 <line class='bridge-casing-35' />
217 <line class='bridge-core-35' />
218 </rule>
219 <rule e="segment|way" k="highway" v="motorway_link|trunk_link|primary|primary_link|secondary">
220 <line class='bridge-casing-30' />
221 <line class='bridge-core-30' />
222 </rule>
223 <rule e="segment|way" k="highway" v="unclassified|residential|pedestrian|track">
224 <line class='bridge-casing-25' />
225 <line class='bridge-core-25' />
226 </rule>
227 <rule e="segment|way" k="railway" v="rail">
228 <line class='bridge-casing-25' />
229 <line class='bridge-core-25' />
230 </rule>
231 <rule e="segment|way" k="railway" v="light_rail|subway|tram">
232 <line class='bridge-casing-20' />
233 <line class='bridge-core-20' />
234 </rule>
235 <rule e="segment|way" k="highway" v="cycleway">
236 <line class='bridge-casing-20' />
237 <line class='bridge-core-20' />
238 </rule>
239 <rule e="segment|way" k="highway" v="service">
240 <line class='bridge-casing-15' />
241 <line class='bridge-core-15' />
242 </rule>
243 <rule e="segment|way" k="highway" v="footway">
244 <line class='bridge-casing-10' />
245 <line class='bridge-core-10' />
246 </rule>
247 </layer>
248 </rule>
249
250
251 <!-- Roads and paths -->
252 <layer name="Roads and Paths">
253
254 <!-- Highway casings -->
255 <rule e="segment|way" k="tunnel" v="~|no|false">
256 <rule e="segment|way" k="highway" v="pedestrian">
257 <line class='highway-pedestrian-casing' />
258 </rule>
259 <rule e="segment|way" k="highway" v="track">
260 <line class='highway-track-casing' />
261 </rule>
262 <rule e="segment|way" k="highway" v="unclassified|residential|minor|tertiary">
263 <line class='highway-unclassified-casing' />
264 </rule>
265 <rule e="segment|way" k="highway" v="unsurfaced">
266 <line class='highway-unsurfaced-casing' />
267 </rule>
268 <rule e="segment|way" k="highway" v="service">
269 <line class='highway-service-casing' />
270 </rule>
271 <rule e="segment|way" k="highway" v="secondary">
272 <line class='highway-secondary-casing' />
273 </rule>
274 <rule e="segment|way" k="highway" v="primary">
275 <line class='highway-primary-casing' />
276 </rule>
277 <rule e="segment|way" k="highway" v="primary_link">
278 <line class='highway-primary-link-casing' />
279 </rule>
280 <rule e="segment|way" k="highway" v="trunk">
281 <line class='highway-trunk-casing' />
282 </rule>
283 <rule e="segment|way" k="highway" v="trunk_link">
284 <line class='highway-trunk-link-casing' />
285 </rule>
286 <rule e="segment|way" k="highway" v="motorway">
287 <line class='highway-motorway-casing' />
288 </rule>
289 <rule e="segment|way" k="highway" v="motorway_link">
290 <line class='highway-motorway-link-casing' />
291 </rule>
292 </rule>
293
294 <!-- Mini roundabout -->
295 <rule e="node" k="highway" v="mini_roundabout">
296 <circle r="0.95px" class="mini-roundabout-casing"/>
297 </rule>
298
299
300 <!-- Paths in tunnels -->
301 <rule e="segment|way" k="tunnel" v="yes|true">
302 <rule e="segment|way" k="highway" v="footway|steps|cycleway|bridleway|byway">
303 <tunnel width="0" class='highway-tunnel-narrow' />
304 </rule>
305 </rule>
306
307 <!-- Paths not in tunnels -->
308 <rule e="segment|way" k="tunnel" v="~|no|false">
309 <rule e="segment|way" k="highway" v="footway|steps">
310 <line class='highway-footway' />
311 <text k="ref" class='highway-footway-ref' dx='2px' dy='-2px' />
312 </rule>
313 <rule e="segment|way" k="highway" v="steps">
314 <line class='highway-steps' />
315 </rule>
316 <rule e="segment|way" k="highway" v="cycleway">
317 <line class='highway-cycleway' />
318 <text k="ref" class='highway-cycleway-ref' dx='2px' dy='-2px' />
319 </rule>
320 <rule e="segment|way" k="highway" v="bridleway">
321 <line class='highway-bridleway' />
322 <text k="ref" class='highway-bridleway-ref' dx='2px' dy='-2px' />
323 </rule>
324 <rule e="way" k="highway" v="byway">
325 <line class='highway-byway' />
326 <text k="ref" class='highway-byway-ref' dx='2px' dy='-2px' />
327 </rule>
328 </rule>
329
330
331 <!-- Highway cores (not in tunnel) -->
332 <rule e="segment|way" k="tunnel" v="~|false|no">
333 <addclass e="segment|way" k="bridge" v="yes|true" class="round">
334 <rule e="segment|way" k="highway" v="pedestrian">
335 <line class='highway-pedestrian-core' />
336 </rule>
337 <rule e="segment|way" k="highway" v="track">
338 <line class='highway-track-core' />
339 </rule>
340 <addclass k="oneway" v="1|yes|true" class="oneway">
341 <addclass k="oneway" v="-1" class="otherway">
342 <rule e="segment|way" k="highway" v="unclassified|residential|minor|tertiary">
343 <line class='highway-unclassified-core' />
344 </rule>
345 <rule e="segment|way" k="highway" v="unsurfaced">
346 <line class='highway-unsurfaced-core' />
347 </rule>
348 <rule e="segment|way" k="highway" v="service">
349 <line class='highway-service-core' />
350 </rule>
351 <rule e="segment|way" k="highway" v="secondary">
352 <line class='highway-secondary-core' />
353 </rule>
354 <rule e="segment|way" k="highway" v="primary_link">
355 <line class='highway-primary-link-core' />
356 </rule>
357 </addclass>
358 </addclass>
359 <rule e="segment|way" k="highway" v="trunk_link">
360 <line class='highway-trunk-link-core' />
361 </rule>
362 <rule e="segment|way" k="highway" v="motorway_link">
363 <line class='highway-motorway-link-core' />
364 </rule>
365 <rule e="segment|way" k="highway" v="primary">
366 <addclass k="oneway" v="1|yes|true" class="oneway">
367 <addclass k="oneway" v="-1" class="otherway">
368 <line class='highway-primary-core' />
369 </addclass>
370 </addclass>
371 </rule>
372 <rule e="segment|way" k="highway" v="trunk">
373 <line class='highway-trunk-core' />
374 </rule>
375 <rule e="segment|way" k="highway" v="motorway">
376 <line class='highway-motorway-core' />
377 </rule>
378 </addclass>
379 </rule>
380
381 <!-- Highway tunnels -->
382 <rule e="segment|way" k="tunnel" v="true|yes">
383 <rule e="segment|way" k="highway" v="pedestrian">
384 <tunnel width="2" class='highway-pedestrian' />
385 </rule>
386 <rule e="segment|way" k="highway" v="track">
387 <tunnel width="2" class='highway-track' />
388 </rule>
389 <rule e="segment|way" k="highway" v="unclassified|residential|minor|tertiary">
390 <tunnel width="2" class='highway-unclassified' />
391 </rule>
392 <rule e="segment|way" k="highway" v="unsurfaced">
393 <tunnel width="2" class='highway-unsurfaced' />
394 </rule>
395 <rule e="segment|way" k="highway" v="service">
396 <tunnel width="1" class='highway-service' />
397 </rule>
398 <rule e="segment|way" k="highway" v="secondary">
399 <tunnel width="3" class='highway-secondary' />
400 </rule>
401 <rule e="segment|way" k="highway" v="primary_link">
402 <tunnel width="3" class='highway-primary-link' />
403 </rule>
404 <rule e="segment|way" k="highway" v="trunk_link">
405 <tunnel width="3" class='highway-trunk-link' />
406 </rule>
407 <rule e="segment|way" k="highway" v="motorway_link">
408 <tunnel width="3" class='highway-motorway-link' />
409 </rule>
410 <rule e="segment|way" k="highway" v="primary">
411 <tunnel width="3" class='highway-primary' />
412 </rule>
413 <rule e="segment|way" k="highway" v="trunk">
414 <tunnel width="4" class='highway-trunk' />
415 </rule>
416 <rule e="segment|way" k="highway" v="motorway">
417 <tunnel width="4" class='highway-motorway' />
418 </rule>
419 </rule>
420
421 <rule e="node" k="highway" v="mini_roundabout">
422 <circle r="0.8px" class="mini-roundabout-core"/>
423 <circle r="0.2px" class="mini-roundabout-dot"/>
424 </rule>
425 </layer>
426
427
428 <!-- Railway lines -->
429 <rule e="segment|way" k="railway" v="*">
430 <layer name="Railway/Subway/Tram">
431
432 <!-- not in tunnel -->
433 <rule e="segment|way" k="tunnel" v="~|no|false">
434 <rule e="segment|way" k="railway" v="rail">
435 <line class='railway-rail' />
436 <line class='railway-rail-dashes' />
437 </rule>
438 <rule e="segment|way" k="railway" v="light_rail|tram">
439 <line class='railway-light-rail' />
440 </rule>
441 <rule e="segment|way" k="railway" v="subway">
442 <line class='railway-subway-rail' />
443 </rule>
444 </rule>
445
446 <!-- in tunnel -->
447 <rule e="segment|way" k="tunnel" v="true|yes">
448 <rule e="segment|way" k="railway" v="rail">
449 <tunnel width="3" class='railway-rail' />
450 </rule>
451 <rule e="segment|way" k="railway" v="light_rail|subway|tram">
452 <tunnel width="0" class='railway-tunnel-narrow' />
453 </rule>
454 </rule>
455
456 </layer>
457 </rule>
458
459
460 <!-- Airfields and airports -->
461 <rule e="node|segment|way" k="aeroway" v="*">
462 <layer name="Airfields and airports">
463 <rule e="segment|way" k="aeroway" v="runway">
464 <line class='aeroway-runway-casing'/>
465 </rule>
466 <rule e="segment|way" k="aeroway" v="taxiway">
467 <line class='aeroway-taxiway-casing'/>
468 </rule>
469 <rule e="segment|way" k="aeroway" v="runway">
470 <line class='aeroway-runway-core'/>
471 </rule>
472 <rule e="segment|way" k="aeroway" v="taxiway">
473 <line class='aeroway-taxiway-core'/>
474 </rule>
475 <rule e="node" k="aeroway" v="aerodrome">
476 <symbol ref="airport" transform="scale(2)" />
477 <rule k="osmarender:renderName" v="~|yes">
478 <text k="name" class='aeroway-aerodrome-caption' dx='4px' dy='2.5px'/>
479 </rule>
480 </rule>
481 <rule e="node" k="aeroway" v="airport">
482 <symbol ref="airport" />
483 <rule k="osmarender:renderName" v="~|yes">
484 <text k="name" class='aeroway-airport-caption' dx='8px' dy='4px' />
485 </rule>
486 </rule>
487 </layer>
488 </rule>
489
490
491 <!-- Aerialways -->
492 <rule e="node|way" k="aerialway" v="*">
493 <layer name="Aerialways">
494 <line class='aerialway-line'/>
495 <line class='aerialway-struts'/>
496 </layer>
497 </rule>
498
499
500
501 <!-- Power lines and pylons -->
502 <rule e="node|way" k="power" v="*">
503 <layer name="Power lines">
504 <rule e="node" k="power" v="tower">
505 <symbol ref="power_tower" />
506 </rule>
507 <rule e="way" k="power" v="line">
508 <line class='power-line'/>
509 </rule>
510 </layer>
511 </rule>
512
513
514 <!-- Non-pysical routes -->
515 <rule e="segment|way" k="route" v="ferry">
516 <layer name="Ferry">
517 <line class='route-ferry' />
518 </layer>
519 </rule>
520
521
522 <!-- Boundaries -->
523 <rule e="node" k="boundary" v="*">
524 <layer name="Boundaries">
525 <rule e="node" k="boundary" v="national">
526 <symbol ref="customs" />
527 </rule>
528 </layer>
529 </rule>
530
531 <!-- Place names -->
532 <rule e="node" k="place" v="*">
533 <layer name="Place names">
534 <rule e="node" k="place" v="continent">
535 <text k="name" class='continent-caption' />
536 </rule>
537 <rule e="node" k="place" v="country">
538 <text k="name" class='country-caption' />
539 </rule>
540 <rule e="node" k="place" v="state">
541 <text k="name" class='state-caption' />
542 </rule>
543 <rule e="node" k="place" v="region">
544 <text k="name" class='region-caption' />
545 </rule>
546 <rule e="node" k="place" v="county">
547 <text k="name" class='county-caption' />
548 </rule>
549 <rule e="node" k="place" v="city">
550 <text k="name" class='city-caption' />
551 </rule>
552 <rule e="node" k="place" v="town">
553 <text k="name" class='town-caption' />
554 </rule>
555 <rule e="node" k="place" v="village">
556 <text k="name" class='village-caption' />
557 </rule>
558 <rule e="node" k="place" v="suburb">
559 <text k="name" class='suburb-caption' />
560 </rule>
561 <rule e="node" k="place" v="hamlet">
562 <text k='name' class='hamlet-caption' />
563 </rule>
564 <rule e="node" k="place" v="farm">
565 <text k='name' class='farm-caption' />
566 </rule>
567 </layer>
568 </rule>
569
570
571 <!-- Tourist features -->
572 <rule e="node" k="tourism" v="*">
573 <layer name="Tourist features">
574 <rule e="node" k="tourism" v="attraction">
575 <text k='name' class='tourism-attraction-caption' />
576 </rule>
577 <rule e="node" k="tourism" v="hotel">
578 <symbol ref="hotel" />
579 </rule>
580 <rule e="node" k="tourism" v="hostel">
581 <symbol ref="hostel" />
582 </rule>
583 <rule e="node" k="tourism" v="camp_site">
584 <symbol ref="camp_site" />
585 </rule>
586 </layer>
587 </rule>
588
589
590 <!-- Railway stations -->
591 <layer name="Railway stations">
592 <rule e="node" k="railway" v="station">
593 <circle r="1.5" class="railway-station" />
594 <rule k="osmarender:renderName" v="~|yes">
595 <text k="name" class='railway-station-caption' dx='2.5px' dy='1.5px' />
596 </rule>
597 </rule>
598 <rule e="node" k="railway" v="halt">
599 <circle r="0.7" class="railway-halt" />
600 <rule k="osmarender:renderName" v="~|yes">
601 <text k="name" class='railway-halt-caption' dx='2.5px' dy='1.5px' />
602 </rule>
603 </rule>
604 </layer>
605
606
607 <layer name="Amenities and other symbols">
608 <!-- Amenities -->
609 <rule e="node" k="amenity" v="hospital">
610 <symbol ref="hospital" />
611 <rule k="osmarender:renderName" v="~|yes">
612 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
613 </rule>
614 </rule>
615 <rule e="node" k="amenity" v="pharmacy">
616 <symbol ref="pharmacy_dispensing" />
617 <rule k="osmarender:renderName" v="~|yes">
618 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
619 </rule>
620 </rule>
621
622 <rule e="node" k="amenity" v="school">
623 <symbol ref="school" />
624 <rule k="osmarender:renderName" v="~|yes">
625 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
626 </rule>
627 </rule>
628 <rule e="node" k="amenity" v="university">
629 <symbol ref="university" />
630 <rule k="osmarender:renderName" v="~|yes">
631 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
632 </rule>
633 </rule>
634 <rule e="node" k="amenity" v="library">
635 <symbol ref="library" />
636 <rule k="osmarender:renderName" v="~|yes">
637 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
638 </rule>
639 </rule>
640
641 <rule e="node" k="amenity" v="post_office">
642 <symbol ref="post_office" />
643 </rule>
644 <rule e="node" k="amenity" v="post_box">
645 <symbol ref="post_box" />
646 </rule>
647 <rule e="node" k="amenity" v="telephone">
648 <symbol ref="telephone" />
649 </rule>
650 <rule e="node" k="amenity" v="cinema">
651 <symbol ref="cinema" />
652 <rule k="osmarender:renderName" v="~|yes">
653 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
654 </rule>
655 </rule>
656 <rule e="node" k="amenity" v="theatre">
657 <symbol ref="theatre" />
658 <rule k="osmarender:renderName" v="~|yes">
659 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
660 </rule>
661 </rule>
662 <rule e="node" k="amenity" v="restaurant">
663 <symbol ref="restaurant" />
664 <rule k="osmarender:renderName" v="~|yes">
665 <text k='name' class='amenity-pub-caption' dx='2px' dy='0.4px'/>
666 </rule>
667 </rule>
668 <rule e="node" k="amenity" v="pub">
669 <symbol ref="pub" />
670 <rule k="osmarender:renderName" v="~|yes">
671 <text k='name' class='amenity-pub-caption' dx='1px' dy='0.4px'/>
672 </rule>
673 </rule>
674 <rule e="node" k="amenity" v="supermarket">
675 <symbol ref="supermarket" />
676 <rule k="osmarender:renderName" v="~|yes">
677 <text k='name' class='amenity-pub-caption' dx='2px' dy='0.4px'/>
678 </rule>
679 </rule>
680 <rule e="node" k="amenity" v="courthouse">
681 <symbol ref="courthouse" />
682 <rule k="osmarender:renderName" v="~|yes">
683 <text k='name' class='amenity-pub-caption' dx='2px' dy='0.4px'/>
684 </rule>
685 </rule>
686 <rule e="node" k="amenity" v="place_of_worship">
687 <rule e="node" k="denomination|religion" v="~">
688 <symbol ref="church" />
689 </rule>
690 <rule e="node" k="denomination|religion" v="christian|church_of_england">
691 <symbol ref="church" />
692 </rule>
693 <rule e="node" k="denomination|religion" v="jewish">
694 <symbol ref="synagogue" />
695 </rule>
696 <rule e="node" k="denomination|religion" v="muslim">
697 <symbol ref="mosque" />
698 </rule>
699 <rule k="osmarender:renderName" v="~|yes">
700 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
701 </rule>
702 </rule>
703 <rule e="node" k="amenity" v="parking">
704 <symbol ref="parking" />
705 </rule>
706 <rule e="node" k="amenity" v="fuel">
707 <symbol ref="petrol_station" />
708 <rule k="osmarender:renderName" v="~|yes">
709 <text k='name' class='amenity-misc-caption' dx='2px' dy='0.4px'/>
710 </rule>
711 </rule>
712 <rule k="amenity" v="recycling">
713 <symbol ref="recycling" />
714 </rule>
715
716 <!-- Historic symbols -->
717 <rule e="node" k="historic" v="museum">
718 <symbol ref="museum" />
719 <rule k="osmarender:renderName" v="~|yes">
720 <text k='name' class='amenity-pub-caption' dx='1px' dy='0.4px'/>
721 </rule>
722 </rule>
723
724 <!-- Leisure symbols -->
725 <rule e="node" k="leisure" v="golf_course">
726 <symbol ref="golf_course" />
727 </rule>
728 <rule e="node" k="leisure" v="slipway">
729 <symbol ref="slipway" />
730 </rule>
731 </layer>
732
733
734 <!-- Street names for all highways -->
735 <rule k="osmarender:renderName" v="~|yes">
736 <rule e="segment|way" k="tunnel" v="~|no|false"> <!-- no names in tunnels -->
737 <rule e="segment|way" k="highway" v="*">
738 <layer name="Street names">
739 <rule e="segment|way" k="highway" v="unclassified|residential|minor|tertiary|pedestrian">
740 <text k="name" text-anchor='middle' startOffset='50%' class="highway-unclassified-name" dy="0.33px" />
741 </rule>
742 <rule e="way" k="highway" v="unsurfaced|track">
743 <text k="name" text-anchor='middle' startOffset='50%' class="highway-unsurfaced-name" dy="0.33px" />
744 </rule>
745 <rule e="way" k="highway" v="footway|cycleway">
746 <text k="name" text-anchor='middle' startOffset='50%' class="highway-footway-name" dy="0.33px" />
747 </rule>
748 <rule e="segment|way" k="highway" v="service">
749 <text k="name" text-anchor='middle' startOffset='50%' class="highway-unclassified-name" dy="0.33px" />
750 </rule>
751 <rule e="segment|way" k="highway" v="secondary">
752 <text k="name" text-anchor='middle' startOffset='50%' class="highway-secondary-name" dy="0.33px" />
753 </rule>
754 <rule e="segment|way" k="highway" v="primary">
755 <text k="name" text-anchor='middle' startOffset='50%' class="highway-primary-name" dy="0.33px" />
756 </rule>
757 <rule e="segment|way" k="highway" v="trunk">
758 <text k="name" text-anchor='middle' startOffset='50%' class="highway-trunk-name" dy="0.33px" />
759 </rule>
760 <rule e="segment|way" k="highway" v="motorway">
761 <text k="name" text-anchor='middle' startOffset='50%' class="highway-motorway-name" dy="0.33px" />
762 </rule>
763 </layer>
764 </rule>
765 </rule>
766 </rule>
767
768
769 <!-- Road numbers for all highways -->
770 <rule k="osmarender:renderRef" v="~|yes">
771 <rule e="segment|way" k="tunnel" v="~|no|false"> <!-- no road numbers in tunnels -->
772 <rule e="segment|way" k="highway" v="*">
773 <layer name="Road numbers">
774 <rule e="segment|way" k="highway" v="unclassified|residential">
775 <text k="ref" class='highway-unclassified-ref' dx='2.5px' dy='-2.5px' />
776 </rule>
777 <rule e="way" k="highway" v="unsurfaced">
778 <text k="ref" class='highway-unsurfaced-ref' dx='2.5px' dy='-2.5px' />
779 </rule>
780 <rule e="segment|way" k="highway" v="service">
781 <text k="ref" class='highway-service-ref' dx='2.5px' dy='-2.5px' />
782 </rule>
783 <rule e="segment|way" k="highway" v="secondary">
784 <text k="ref" class='highway-secondary-ref' dx='2.5px' dy='-2.5px' />
785 </rule>
786 <rule e="segment|way" k="highway" v="primary">
787 <text k="ref" text-anchor='middle' startOffset='60%' class="highway-primary-ref" />
788 </rule>
789 <rule e="segment|way" k="highway" v="trunk">
790 <text k="ref" class='highway-trunk-ref' dx='2.5px' dy='-2.5px' />
791 </rule>
792 <rule e="segment|way" k="highway" v="motorway">
793 <text k="ref" class='highway-motorway-ref' dx='2.5px' dy='-2.5px' />
794 </rule>
795 </layer>
796 </rule>
797 </rule>
798 </rule>
799
800
801 <!-- Traffic symbols -->
802 <layer name="Traffic symbols">
803 <rule e="node" k="highway" v="gate">
804 <symbol ref="gate" transform="scale(0.6)"/>
805 </rule>
806 <rule e="node" k="highway" v="traffic_signals">
807 <symbol ref="traffic_signal" />
808 </rule>
809 </layer>
810
811 <!-- Use the following three rules to display nodes, segments and ways as they would appear in JOSM, overlayed on top of anything else -->
812 <!--
813 <rule e="segment" k="*" v="*">
814 <line class='josm-segment' />
815 </rule>
816
817 <rule e="way" k="*" v="*">
818 <line class='josm-way' />
819 </rule>
820
821 <rule e="node" k="*" v="*">
822 <circle r='0.2' class='josm-node' />
823 </rule>
824 -->
825
826 <!-- Use this rule to highlight tags that you want to get rid of, or change -->
827 <!--<rule e="way" k="class|highway|waterway|route" v="~">
828 <line class='error'/>
829 </rule>-->
830 </rule>
831
832
833 <!-- SVG Definitions - markers, symbols etc go here -->
834 <defs>
835
836 <style id="styles" type="text/css" xmlns="http://www.w3.org/2000/svg">
837 .debug {
838 stroke-width: 0.1px;
839 stroke-linecap: round;
840 stroke: gray;
841 /* marker-end: url(#segment-direction); */
842 }
843
844 .contour-name {
845 fill: black;
846 font-family: "DejaVu Sans",sans-serif;
847 font-size: 3px;
848 }
849
850 .contour {
851 stroke-width: 0.4px;
852 stroke-linecap: round;
853 stroke: gray;
854 fill: none;
855 /* marker-end: url(#segment-direction); */
856 }
857
858 .error {
859 stroke-width: 2px;
860 stroke-linecap: round;
861 stroke: red;
862 }
863
864 .untagged-segments {
865 stroke-width: 0.5px;
866 stroke-linejoin: butt;
867 stroke-linecap: butt;
868 stroke: #e0e0e0;
869 stroke-dasharray: 0.5,0.5;
870 }
871
872 .abutters-residential {
873 stroke-width: 9px;
874 stroke-linecap: butt;
875 stroke: #f2f2f2;
876 fill: none;
877 }
878
879 /* Abutters */
880 .abutters-retail {
881 stroke-width: 9px;
882 stroke-linecap: butt;
883 stroke: #ffebeb;
884 fill: none;
885 }
886
887 .abutters-industrial {
888 stroke-width: 9px;
889 stroke-linecap: butt;
890 stroke: #ecd8ff;
891 fill: none;
892 }
893
894 .abutters-commercial {
895 stroke-width: 9px;
896 stroke-linecap: butt;
897 stroke: #fcffc9;
898 fill: none;
899 }
900
901 .abutters-mixed {
902 stroke-width: 9px;
903 stroke-linecap: butt;
904 stroke: #d8feff;
905 fill: none;
906 }
907
908
909 /* Bridge casing */
910 .bridge-casing-35 {
911 stroke-width: 3.5px;
912 stroke-linecap: butt;
913 stroke-linejoin: round;
914 stroke: #222222;
915 fill: none;
916 marker-start: url(#bridge-casing-start);
917 marker-end: url(#bridge-casing-end);
918 }
919
920 .bridge-casing-30 {
921 stroke-width: 3px;
922 stroke-linecap: butt;
923 stroke-linejoin: round;
924 stroke: #222222;
925 fill: none;
926 marker-start: url(#bridge-casing-start);
927 marker-end: url(#bridge-casing-end);
928 }
929
930 .bridge-casing-25 {
931 stroke-width: 2.5px;
932 stroke-linecap: butt;
933 stroke-linejoin: round;
934 stroke: #222222;
935 fill: none;
936 marker-start: url(#bridge-casing-start);
937 marker-end: url(#bridge-casing-end);
938 }
939
940 .bridge-casing-20 {
941 stroke-width: 2px;
942 stroke-linecap: butt;
943 stroke-linejoin: round;
944 stroke: #222222;
945 fill: none;
946 marker-start: url(#bridge-casing-start);
947 marker-end: url(#bridge-casing-end);
948 }
949
950 .bridge-casing-15 {
951 stroke-width: 1.5px;
952 stroke-linecap: butt;
953 stroke-linejoin: round;
954 stroke: #222222;
955 fill: none;
956 marker-start: url(#bridge-casing-start);
957 marker-end: url(#bridge-casing-end);
958 }
959
960 .bridge-casing-10 {
961 stroke-width: 1px;
962 stroke-linecap: butt;
963 stroke-linejoin: round;
964 stroke: #222222;
965 fill: none;
966 marker-start: url(#bridge-casing-start);
967 marker-end: url(#bridge-casing-end);
968 }
969
970
971 /* Bridge core */
972 .bridge-core-35 {
973 stroke-width: 3px;
974 stroke-linecap: butt;
975 stroke-linejoin: round;
976 stroke: #fcfcfc;
977 fill: none;
978 }
979
980 .bridge-core-30 {
981 stroke-width: 2.5px;
982 stroke-linecap: butt;
983 stroke-linejoin: round;
984 stroke: #fcfcfc;
985 fill: none;
986 }
987
988 .bridge-core-25 {
989 stroke-width: 2px;
990 stroke-linecap: butt;
991 stroke-linejoin: round;
992 stroke: #fcfcfc;
993 fill: none;
994 }
995
996 .bridge-core-20 {
997 stroke-width: 1.5px;
998 stroke-linecap: butt;
999 stroke-linejoin: round;
1000 stroke: #fcfcfc;
1001 fill: none;
1002 }
1003
1004 .bridge-core-15 {
1005 stroke-width: 1.25px;
1006 stroke-linecap: butt;
1007 stroke-linejoin: round;
1008 stroke: #fcfcfc;
1009 fill: none;
1010 }
1011
1012 .bridge-core-10 {
1013 stroke-width: 0.75px;
1014 stroke-linecap: butt;
1015 stroke-linejoin: round;
1016 stroke: #fcfcfc;
1017 fill: none;
1018 }
1019
1020
1021 /* Tunnels */
1022 .tunnel-casing {
1023 stroke-width: 2px;
1024 stroke-dasharray: 0.01,100000;
1025 stroke: #222222;
1026 fill: none;
1027 marker-start: url(#tunnel-start-wide);
1028 marker-end: url(#tunnel-end-wide);
1029 }
1030
1031
1032 /* Highways */
1033 .highway-motorway-casing {
1034 stroke-width: 2.5px;
1035 stroke-linejoin: round;
1036 stroke: #222222;
1037 fill: none;
1038 }
1039
1040 .highway-motorway-link-casing {
1041 stroke-width: 2px;
1042 stroke-linejoin: round;
1043 stroke: #222222;
1044 fill: none;
1045 }
1046
1047 .highway-motorway-core {
1048 stroke-width: 2px;
1049 stroke-linejoin: round;
1050 stroke: #809BC0;
1051 fill: none;
1052 }
1053
1054 .highway-motorway-link-core {
1055 stroke-width: 1.5px;
1056 stroke-linejoin: round;
1057 stroke: #809BC0;
1058 fill: none;
1059 }
1060
1061 .highway-motorway-name {
1062 fill: black;
1063 font-family: "DejaVu Sans",sans-serif;
1064 font-size: 1.5px;
1065 font-weight: normal;
1066 }
1067
1068 .highway-motorway-ref {
1069 fill: black;
1070 stroke: white;
1071 stroke-width: .4px;
1072 font-family: "DejaVu Sans",sans-serif;
1073 font-size: 7px;
1074 font-weight: bolder;
1075 }
1076
1077 .highway-trunk-casing {
1078 stroke-width: 2.5px;
1079 stroke-linejoin: round;
1080 stroke: #222222;
1081 fill: none;
1082 }
1083
1084 .highway-trunk-link-casing {
1085 stroke-width: 2px;
1086 stroke-linejoin: round;
1087 stroke: #222222;
1088 fill: none;
1089 }
1090
1091 .highway-trunk-core {
1092 stroke-width: 2px;
1093 stroke-linejoin: round;
1094 stroke: #e46d71;
1095 fill: none;
1096 }
1097
1098 .highway-trunk-link-core {
1099 stroke-width: 1.5px;
1100 stroke-linejoin: round;
1101 stroke: #e46d71;
1102 fill: none;
1103 }
1104
1105 .highway-trunk-name {
1106 fill: black;
1107 font-family: "DejaVu Sans",sans-serif;
1108 font-size: 1.5px;
1109 font-weight: normal;
1110 }
1111
1112 .highway-trunk-ref {
1113 fill: black;
1114 stroke: white;
1115 stroke-width: 0.4px;
1116 font-family: "DejaVu Sans",sans-serif;
1117 font-size: 6px;
1118 font-weight: bolder;
1119 }
1120
1121 .highway-primary-casing {
1122 stroke-width: 2px;
1123 stroke-linejoin: round;
1124 stroke: #222222;
1125 fill: none;
1126 }
1127
1128 .highway-primary-link-casing {
1129 stroke-width: 2px;
1130 stroke-linejoin: round;
1131 stroke: #222222;
1132 fill: none;
1133 }
1134
1135 .highway-primary-core {
1136 stroke-width: 1.5px;
1137 stroke-linejoin: round;
1138 stroke: #7FC97F;
1139 fill: none;
1140 }
1141
1142 .highway-primary-link-core {
1143 stroke-width: 1.5px;
1144 stroke-linejoin: round;
1145 stroke: #7FC97F;
1146 fill: none;
1147 }
1148
1149 .highway-primary-name {
1150 fill: black;
1151 font-family: "DejaVu Sans",sans-serif;
1152 font-size: 1px;
1153 font-weight: bolder;
1154 stroke: #ffffff;
1155 stroke-width: 0px;
1156 }
1157
1158 .highway-primary-ref {
1159 fill: black;
1160 font-family: "DejaVu Sans",sans-serif;
1161 font-size: 1px;
1162 font-weight: bolder;
1163 stroke: white;
1164 stroke-width: 0px;
1165 }
1166
1167 .highway-secondary-casing {
1168 stroke-width: 2px;
1169 stroke-linejoin: round;
1170 stroke: #222222;
1171 fill: none;
1172 }
1173
1174 .highway-secondary-core {
1175 stroke-width: 1.5px;
1176 stroke-linejoin: round;
1177 stroke: #FDBF6F;
1178 fill: none;
1179 }
1180
1181 .highway-secondary-name {
1182 fill: black;
1183 font-family: "DejaVu Sans",sans-serif;
1184 font-size: 1px;
1185 font-weight: bolder;
1186 }
1187
1188 .highway-secondary-ref {
1189 fill: black;
1190 stroke: white;
1191 stroke-width: 0.3px;
1192 font-family: "DejaVu Sans",sans-serif;
1193 font-size: 5px;
1194 font-weight: bolder;
1195 }
1196
1197 .highway-unclassified-casing {
1198 stroke-width: 1.5px;
1199 stroke-linejoin: round;
1200 fill: none;
1201 stroke: #222222;
1202 }
1203
1204 .highway-unclassified-core {
1205 stroke-width: 1.2px;
1206 stroke-linejoin: round;
1207 stroke: #ffffff;
1208 fill: none;
1209 }
1210
1211 .highway-unclassified-name {
1212 fill: black;
1213 font-family: "DejaVu Sans",sans-serif;
1214 font-size: 1px;
1215 font-weight: bold;
1216 }
1217
1218 .highway-unclassified-ref {
1219 fill: black;
1220 stroke: white;
1221 stroke-width: 0.3px;
1222 font-family: "DejaVu Sans",sans-serif;
1223 font-size: 4.5px;
1224 font-weight: bolder;
1225 }
1226
1227 .highway-unsurfaced-casing {
1228 stroke-width: 1.5px;
1229 stroke-linejoin: round;
1230 fill: none;
1231 stroke: #222222;
1232 stroke-dasharray: 1px, .5px;
1233 }
1234
1235 .highway-unsurfaced-core {
1236 stroke-width: 1.2px;
1237 stroke-linejoin: round;
1238 stroke: #ffffff;
1239 fill: none;
1240 }
1241
1242 .highway-unsurfaced-name {
1243 fill: black;
1244 font-family: "DejaVu Sans",sans-serif;
1245 font-size: 1px;
1246 font-weight: bold;
1247 }
1248
1249 .highway-footway-name {
1250 fill: black;
1251 font-family: "DejaVu Sans",sans-serif;
1252 font-size: 1px;
1253 font-weight: bold;
1254 }
1255
1256 .highway-unsurfaced-ref {
1257 fill: black;
1258 stroke: white;
1259 stroke-width: 0.3px;
1260 font-family: "DejaVu Sans",sans-serif;
1261 font-size: 4.5px;
1262 font-weight: bolder;
1263 }
1264
1265 .highway-track-casing {
1266 stroke-width: 1.5px;
1267 stroke-linejoin: round;
1268 fill: none;
1269 stroke: #d79331;
1270 }
1271
1272 .highway-track-core {
1273 stroke-width: 1.2px;
1274 stroke-linejoin: round;
1275 stroke: #ffffff;
1276 fill: none;
1277 }
1278
1279 .highway-pedestrian-casing {
1280 stroke-width: 1.5px;
1281 stroke-linejoin: round;
1282 fill: none;
1283 stroke: #aaaaaa;
1284 }
1285
1286 .highway-pedestrian-core {
1287 stroke-width: 1.2px;
1288 stroke-linejoin: round;
1289 stroke: #eeeeee;
1290 fill: none;
1291 }
1292
1293 .highway-service-casing {
1294 stroke-width: 0.7px;
1295 stroke-linejoin: round;
1296 fill: none;
1297 stroke: #222222;
1298 }
1299
1300 .highway-service-core {
1301 stroke-width: 0.4px;
1302 stroke-linejoin: round;
1303 stroke: #ffffff;
1304 fill: none;
1305 }
1306
1307 .highway-service-name {
1308 fill: black;
1309 font-family: "DejaVu Sans",sans-serif;
1310 font-size: 0.3px;
1311 font-weight: bold;
1312 }
1313
1314 .highway-unclassified-ref {
1315 fill: black;
1316 stroke: white;
1317 stroke-width: 0.3px;
1318 font-family: "DejaVu Sans",sans-serif;
1319 font-size: 4.5px;
1320 font-weight: bolder;
1321 }
1322
1323 .highway-bridleway {
1324 stroke-width: 1px;
1325 stroke-linecap: round;
1326 stroke-linejoin: round;
1327 stroke: #70b971;
1328 fill: none;
1329 }
1330
1331 .highway-byway {
1332 stroke-width: 1px;
1333 stroke-linecap: round;
1334 stroke-linejoin: round;
1335 stroke: #ef7771;
1336 fill: none;
1337 }
1338
1339 .highway-byway-ref {
1340 fill: black;
1341 stroke: white;
1342 stroke-width: 0.3px;
1343 font-family: "DejaVu Sans",sans-serif;
1344 font-size: 4px;
1345 font-weight: bolder;
1346 }
1347
1348 .highway-cycleway {
1349 stroke-width: 1px;
1350 stroke-linejoin: round;
1351 stroke: #008102;
1352 fill: none;
1353 }
1354
1355 .highway-cycleway-ref {
1356 fill: black;
1357 stroke: white;
1358 stroke-width: 0.3px;
1359 font-family: "DejaVu Sans",sans-serif;
1360 font-size: 4px;
1361 font-weight: bolder;
1362 }
1363
1364 .highway-footway {
1365 stroke-width: 0.5px;
1366 stroke-linejoin: round;
1367 stroke: #d79331;
1368 fill: none;
1369 }
1370
1371 .highway-footway-ref {
1372 fill: black;
1373 stroke: white;
1374 stroke-width: 0.3px;
1375 font-family: "DejaVu Sans",sans-serif;
1376 font-size: 4px;
1377 font-weight: bolder;
1378 }
1379
1380 .highway-steps {
1381 stroke-width: 0.5px;
1382 stroke-linecap: butt;
1383 stroke-linejoin: round;
1384 stroke: #707070;
1385 stroke-dasharray: 0.1px, 0.3px;
1386 fill: none;
1387 }
1388
1389 .highway-tunnel-narrow {
1390 stroke-width: 0.1px;
1391 stroke-dasharray: 0.2,0.2;
1392 stroke-linecap: butt;
1393 stroke-linejoin: round;
1394 stroke: #000000;
1395 fill: none;
1396 marker-start: url(#tunnel-start-narrow);
1397 marker-end: url(#tunnel-end-narrow);
1398 }
1399
1400 .round {
1401 stroke-linecap: round;
1402 }
1403
1404
1405 /* Mini roundabouts */
1406 .mini-roundabout-casing {
1407 fill: #222222;
1408 stroke: #222222;
1409 }
1410
1411 .mini-roundabout-core {
1412 stroke: #ffffff;
1413 fill: #ffffff;
1414 }
1415
1416 .mini-roundabout-dot {
1417 stroke: none;
1418 fill: #222222;
1419 }
1420
1421
1422 /* Aeroways */
1423 .aeroway-taxiway-core {
1424 stroke-width: 1px;
1425 stroke-linecap: butt;
1426 stroke-linejoin: round;
1427 stroke: #CCCCCC;
1428 fill: none;
1429 }
1430
1431 .aeroway-taxiway-casing {
1432 stroke-width: 3px;
1433 stroke-linecap: butt;
1434 stroke-linejoin: round;
1435 stroke: #000000;
1436 fill: none;
1437 }
1438
1439 .aeroway-runway-core {
1440 stroke-width: 5px;
1441 stroke-linecap: butt;
1442 stroke-linejoin: round;
1443 stroke: #CCCCCC;
1444 fill: none;
1445 }
1446
1447 .aeroway-runway-casing {
1448 stroke-width: 7px;
1449 stroke-linecap: butt;
1450 stroke-linejoin: round;
1451 stroke: #000000;
1452 fill: none;
1453 }
1454
1455 .aeroway-aerodrome-caption {
1456 fill: black;
1457 stroke: white;
1458 stroke-width: 0.3px;
1459 font-family: "DejaVu Sans",sans-serif;
1460 font-size: 6px;
1461 font-weight: bolder;
1462 }
1463
1464 .aeroway-airport-caption {
1465 fill: black;
1466 stroke: white;
1467 stroke-width: 0.3px;
1468 font-family: "DejaVu Sans",sans-serif;
1469 font-size: 10px;
1470 font-weight: bolder;
1471 }
1472
1473
1474 /* Waterways */
1475 .waterway-riverbank {
1476 fill: #89bac6;
1477 stroke: #aaaaaa;
1478 stroke-width: 0px;
1479 }
1480
1481 .waterway-river-casing {
1482 stroke-width: 4px;
1483 stroke-linecap: butt;
1484 stroke-linejoin: round;
1485 stroke: #aaaaaa;
1486 fill: none;
1487 }
1488
1489 .waterway-river-core {
1490 stroke-width: 3px;
1491 stroke-linecap: butt;
1492 stroke-linejoin: round;
1493 stroke: #89bac6;
1494 fill: none;
1495 }
1496
1497 .waterway-stream-casing {
1498 stroke-width: 0.5px;
1499 stroke-linecap: butt;
1500 stroke-linejoin: round;
1501 stroke: #aaaaaa;
1502 fill: none;
1503 }
1504
1505 .waterway-stream-core {
1506 stroke-width: 0.4px;
1507 stroke-linecap: butt;
1508 stroke-linejoin: round;
1509 stroke: #89bac6;
1510 fill: none;
1511 }
1512
1513 .waterway-canal-casing {
1514 stroke-width: 2px;
1515 stroke-linecap: butt;
1516 stroke-linejoin: round;
1517 stroke: #aaaaaa;
1518 fill: none;
1519 }
1520
1521 .waterway-canal-core {
1522 stroke-width: 1px;
1523 stroke-linecap: butt;
1524 stroke-linejoin: round;
1525 stroke: #89bac6;
1526 fill: none;
1527 }
1528
1529 .waterway-drain-casing {
1530 stroke-width: 1px;
1531 stroke-linecap: butt;
1532 stroke-linejoin: round;
1533 stroke: #aaaaaa;
1534 fill: none;
1535 }
1536
1537 .waterway-drain-core {
1538 stroke-width: 0.5px;
1539 stroke-linecap: butt;
1540 stroke-linejoin: round;
1541 stroke: #89bac6;
1542 fill: none;
1543 }
1544
1545 .railway-rail {
1546 stroke-width: 1.5px;
1547 stroke-linecap: butt;
1548 stroke-linejoin: round;
1549 stroke: #000000;
1550 fill: none;
1551 }
1552
1553 .railway-light-rail {
1554 stroke-width: 0.8px;
1555 stroke-linecap: butt;
1556 stroke-linejoin: round;
1557 stroke: #000000;
1558 fill: none;
1559 }
1560
1561 .railway-tunnel-narrow {
1562 stroke-width: 0.2px;
1563 stroke-dasharray: 1,2;
1564 stroke-linecap: butt;
1565 stroke-linejoin: round;
1566 stroke: #000000;
1567 fill: none;
1568 marker-start: url(#tunnel-start-narrow);
1569 marker-end: url(#tunnel-end-narrow);
1570 }
1571
1572 .railway-subway-rail {
1573 stroke-width: 0.8px;
1574 stroke-linecap: butt;
1575 stroke-linejoin: round;
1576 stroke: #aaaaaa;
1577 fill: none;
1578 stroke-dasharray: 3px, 1px;
1579 stroke-dashoffset: 0;
1580 stroke-opacity: 1;
1581 }
1582
1583 .railway-rail-dashes {
1584 stroke-width: 1px;
1585 stroke-linecap: butt;
1586 stroke-linejoin: round;
1587 stroke: #ffffff;
1588 fill: none;
1589 stroke-dasharray: 3px, 3px;
1590 stroke-opacity: 1;
1591 }
1592
1593 .railway-station {
1594 fill: red;
1595 stroke: black;
1596 stroke-width: 0.5px;
1597 }
1598
1599 .railway-station-caption {
1600 fill: black;
1601 stroke: white;
1602 stroke-width: 0.2px;
1603 font-family: "DejaVu Sans",sans-serif;
1604 font-size: 4px;
1605 font-weight: bolder;
1606 }
1607
1608 .railway-halt {
1609 fill: black;
1610 stroke: black;
1611 stroke-width: 0.5px;
1612 }
1613
1614 .railway-halt-caption {
1615 fill: black;
1616 stroke: white;
1617 stroke-width: 0.1px;
1618 font-family: "DejaVu Sans",sans-serif;
1619 font-size: 2px;
1620 font-weight: bolder;
1621 }
1622
1623
1624 /* Ferry */
1625 .route-ferry {
1626 stroke-width: 0.5px;
1627 stroke-linecap: butt;
1628 stroke-linejoin: round;
1629 stroke: #777777;
1630 fill: none;
1631 }
1632
1633
1634 /* Points of interest */
1635 .point-of-interest {
1636 fill: red;
1637 stroke: black;
1638 stroke-width: 0.5px;
1639 }
1640
1641
1642 /* JOSM Debugging */
1643 .josm-segment {
1644 stroke-width: 0.2px;
1645 stroke-linecap: butt;
1646 stroke-linejoin: round;
1647 stroke: #008000;
1648 fill: none;
1649 marker-end: url(#segment-direction);
1650 }
1651
1652 .josm-way {
1653 stroke-width: 0.2px;
1654 stroke-linecap: butt;
1655 stroke-linejoin: round;
1656 stroke: #000060;
1657 fill: none;
1658 }
1659
1660 .josm-node {
1661 fill: #ff0000;
1662 stroke: none;
1663 }
1664
1665
1666 /* Place names */
1667 .continent-caption {
1668 fill: black;
1669 stroke: white;
1670 stroke-width: 0.6px;
1671 font-family: "DejaVu Sans",sans-serif;
1672 font-size: 20px;
1673 font-weight: bolder;
1674 }
1675
1676 .country-caption {
1677 fill: black;
1678 stroke: white;
1679 stroke-width: 0.5px;
1680 font-family: "DejaVu Sans",sans-serif;
1681 font-size: 18px;
1682 font-weight: bolder;
1683 }
1684
1685 .state-caption {
1686 fill: black;
1687 stroke: white;
1688 stroke-width: 0.5px;
1689 font-family: "DejaVu Sans",sans-serif;
1690 font-size: 16px;
1691 font-weight: bolder;
1692 }
1693
1694 .region-caption {
1695 fill: black;
1696 stroke: white;
1697 stroke-width: 0.4px;
1698 font-family: "DejaVu Sans",sans-serif;
1699 font-size: 14px;
1700 font-weight: bolder;
1701 }
1702
1703 .county-caption {
1704 fill: black;
1705 stroke: white;
1706 stroke-width: 0.4px;
1707 font-family: "DejaVu Sans",sans-serif;
1708 font-size: 12px;
1709 font-weight: bolder;
1710 }
1711
1712 .city-caption {
1713 fill: black;
1714 stroke: white;
1715 stroke-width: 0.4px;
1716 font-family: "DejaVu Sans",sans-serif;
1717 font-size: 10px;
1718 font-weight: bolder;
1719 }
1720
1721 .town-caption {
1722 fill: black;
1723 stroke: white;
1724 stroke-width: 0.4px;
1725 font-family: "DejaVu Sans",sans-serif;
1726 font-size: 8px;
1727 font-weight: bolder;
1728 }
1729
1730 .village-caption {
1731 fill: black;
1732 stroke: white;
1733 stroke-width: 0.3px;
1734 font-family: "DejaVu Sans",sans-serif;
1735 font-size: 6px;
1736 font-weight: bolder;
1737 }
1738
1739 .suburb-caption {
1740 fill: black;
1741 stroke: white;
1742 stroke-width: 0.3px;
1743 font-family: "DejaVu Sans",sans-serif;
1744 font-size: 6px;
1745 font-weight: bolder;
1746 }
1747
1748 .hamlet-caption {
1749 fill: black;
1750 stroke: white;
1751 stroke-width: 0.2px;
1752 font-family: "DejaVu Sans",sans-serif;
1753 font-size: 4px;
1754 font-weight: bolder;
1755 }
1756
1757 .farm-caption {
1758 fill: black;
1759 stroke: white;
1760 stroke-width: 0.1px;
1761 font-family: "DejaVu Sans",sans-serif;
1762 font-size: 3px;
1763 font-weight: bold;
1764 }
1765
1766 .church-caption {
1767 fill: black;
1768 stroke: white;
1769 stroke-width: 0.3px;
1770 font-family: "DejaVu Sans",sans-serif;
1771 font-size: 5px;
1772 font-weight: bold;
1773 }
1774
1775
1776 /* Natural */
1777 .natural-water {
1778 fill: #89bac6;
1779 stroke: #aaaaaa;
1780 stroke-width: 0px;
1781 }
1782
1783 .natural-coastline {
1784 fill: none;
1785 stroke: #89bac6;
1786 stroke-width: 0.4px;
1787 }
1788
1789 .natural-glacier {
1790 fill: #fafaff;
1791 stroke: lightblue;
1792 stroke-width: 0.4px;
1793 }
1794
1795 .natural-land {
1796 fill: #ffffff;
1797 stroke: #e0e0e0;
1798 stroke-width: 0.1px;
1799 }
1800
1801 .natural-beach {
1802 fill: #eecc55;
1803 stroke: none;
1804 }
1805
1806 .peak-caption {
1807 fill: black;
1808 stroke: white;
1809 stroke-width: 0.3px;
1810 font-family: "DejaVu Sans",sans-serif;
1811 font-size: 6px;
1812 font-weight: bolder;
1813 }
1814
1815 /* Landuse */
1816 .landuse-wood {
1817 fill: #72bf81;
1818 stroke: #6fc18e;
1819 stroke-width: 0.2px;
1820 }
1821
1822 .landuse-cemetery {
1823 fill: url(#cemetery-pattern);
1824 stroke: #eeeeee;
1825 stroke-width: 0.2px;
1826 }
1827
1828 .landuse-cemetery-christian {
1829 fill: url(#cemetery-christian-pattern);
1830 stroke: #eeeeee;
1831 stroke-width: 0.2px;
1832 }
1833
1834 .landuse-field {
1835 fill: #bde3cb;
1836 stroke: #6fc13d;
1837 stroke-width: 0.2px;
1838 }
1839
1840 .landuse-residential {
1841 stroke: none;
1842 fill: #f2f2f2;
1843 }
1844
1845 .landuse-retail {
1846 stroke: none;
1847 fill: #ffebeb;
1848 }
1849
1850 .landuse-industrial {
1851 fill: #ecd8ff;
1852 stroke: #eeeeee;
1853 stroke-width: 0.2px;
1854 }
1855
1856 .landuse-commercial {
1857 fill: #fcffc9;
1858 stroke: #eeeeee;
1859 stroke-width: 0.2px;
1860 }
1861
1862 .landuse-retail {
1863 fill: #ffebeb;
1864 stroke: #eeeeee;
1865 stroke-width: 0.2px;
1866 }
1867
1868
1869 /* Leisure */
1870 .leisure-park {
1871 fill: #c7f1a3;
1872 stroke: #6fc18e;
1873 stroke-width: 0.2px;
1874 }
1875
1876 /* colour might want tweaking slightly */
1877 .leisure-stadium {
1878 fill: #672a8e;
1879 stroke: #461d61;
1880 stroke-width: 0.2px;
1881 }
1882
1883 .leisure-track {
1884 fill: #ba4752;
1885 stroke: #532226;
1886 stroke-width: 0.2px;
1887 }
1888
1889 .sport {
1890 fill: #bde3cb;
1891 stroke: #6fc18e;
1892 stroke-width: 0.2px;
1893 }
1894
1895 .amenity-parking {
1896 fill: #f7efb7;
1897 stroke: #e9dd72;
1898 stroke-width: 0.2px;
1899 }
1900
1901 .school-area {
1902 fill: #B9ACD8;
1903 stroke: #a18bd8;
1904 stroke-width: 0.2px;
1905 }
1906
1907
1908 /* Boundary */
1909 .boundary-areaOfInterest {
1910 fill: #f2caea;
1911 stroke: #aaaaaa;
1912 stroke-width: 0px;
1913 }
1914
1915 .boundary-areaOfInterest-A {
1916 fill: #f2caff;
1917 stroke: #aaaaaa;
1918 stroke-width: 0px;
1919 }
1920
1921 .boundary-areaOfInterest-B {
1922 fill: #f2cabb;
1923 stroke: #aaaaaa;
1924 stroke-width: 0px;
1925 }
1926
1927 .boundary-areaOfInterest-C {
1928 fill: #f2cadd;
1929 stroke: #aaaaaa;
1930 stroke-width: 0px;
1931 }
1932
1933
1934 /* Tourism */
1935 .tourism-attraction {
1936 fill: #f2caea;
1937 stroke: #f124cb;
1938 stroke-width: 0px;
1939 }
1940
1941 .tourism-attraction-caption {
1942 fill: #f124cb;
1943 stroke: white;
1944 stroke-width: 0px;
1945 font-family: "DejaVu Sans",sans-serif;
1946 font-size: 3px;
1947 font-weight: bolder;
1948 }
1949
1950 .amenity-pub-caption {
1951 fill: #e21e2f;
1952 stroke: white;
1953 stroke-width: 0px;
1954 font-family: "DejaVu Sans",sans-serif;
1955 font-size: 1px;
1956 font-weight: bolder;
1957 }
1958
1959 .amenity-misc-caption {
1960 fill: #e21e2f;
1961 stroke: white;
1962 stroke-width: 0.03px;
1963 font-family: "DejaVu Sans",sans-serif;
1964 font-size: 1px;
1965 font-weight: bolder;
1966 }
1967
1968 /* Building */
1969 .building {
1970 fill: #dddddd;
1971 stroke: #cccccc;
1972 stroke-width: 0.2px;
1973 }
1974
1975 .building-block {
1976 fill: #a18bd8;
1977 stroke: #6a5a8e;
1978 stroke-width: 0.2px;
1979 }
1980
1981 .building-residential {
1982 fill: #c95e2a;
1983 stroke: #80290a;
1984 stroke-width: 0.2px;
1985 }
1986
1987
1988 /* Aerialway */
1989 .aerialway-line {
1990 fill: none;
1991 stroke: #202020;
1992 stroke-width: 0.2px;
1993 }
1994
1995 .aerialway-struts {
1996 fill: none;
1997 stroke: #202020;
1998 stroke-width: 2px;
1999 stroke-dasharray: 0.2,10;
2000 }
2001
2002 /* Power line */
2003 .power-line {
2004 stroke-width: 0.1px;
2005 stroke-linecap: butt;
2006 stroke-linejoin: round;
2007 stroke: #cccccc;
2008 stroke-dasharray: 1px ,1px;
2009 fill: none;
2010 }
2011
2012
2013 /* Oneway */
2014 .oneway {
2015 marker-start: url(#marker-oneway-start);
2016 marker-end: url(#marker-oneway-end);
2017 }
2018
2019 .otherway {
2020 marker-start: url(#marker-otherway-start);
2021 marker-end: url(#marker-otherway-end);
2022 }
2023
2024
2025 /* Map decoration */
2026 .map-grid-line {
2027 fill: none;
2028 stroke: #8080ff;
2029 stroke-width: 0.1px;
2030 stroke-opacity: 0.5;
2031 }
2032
2033 .map-border-casing {
2034 fill: none;
2035 stroke: #8080ff;
2036 stroke-width: 3px;
2037 stroke-miterlimit: 4;
2038 stroke-dasharray: none;
2039 stroke-opacity: 1;
2040 stroke-linecap: round;
2041 }
2042
2043 .map-border-core {
2044 fill: none;
2045 fill-opacity: 1;
2046 fill-rule: nonzero;
2047 stroke: #ffffff;
2048 stroke-width: 2px;
2049 stroke-miterlimit: 0;
2050 stroke-dashoffset: -0.5px;
2051 stroke-opacity: 1;
2052 }
2053
2054 .map-scale-casing {
2055 fill: none;
2056 stroke: #8080ff;
2057 stroke-width: 4px;
2058 stroke-linecap: butt;
2059 }
2060
2061 .map-scale-core {
2062 fill: none;
2063 stroke: #ffffff;
2064 stroke-width: 3px;
2065 stroke-linecap: butt;
2066 }
2067
2068 .map-scale-bookend {
2069 fill: none;
2070 stroke: #8080ff;
2071 stroke-width: 1px;
2072 stroke-linecap: butt;
2073 }
2074
2075 .map-scale-caption {
2076 font-family: "DejaVu Sans",sans-serif;
2077 font-size: 10px;
2078 fill: #8080ff;
2079 }
2080
2081 .map-background {
2082 fill: #fcfcfc;
2083 stroke: none;
2084 }
2085
2086 .map-title {
2087 font-family: "DejaVu Sans",sans-serif;
2088 font-size: 20px;
2089 text-anchor: middle;
2090 fill: black;
2091 }
2092
2093 .map-title-background {
2094 fill: white;
2095 }
2096
2097 .map-marginalia-background {
2098 fill: white;
2099 }
2100 </style>
2101
2102 <svg:pattern id="cemetery-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse">
2103 <svg:rect fill="#bde3cb" width="10" height="10" x="0" y="0" />
2104 <svg:path fill="#919191" stroke-width="0.1" d="M 1.48,0.13 C 2.12,0.13 2.63,0.64 2.63,1.28 L 2.63,4.27 L 0.33,4.27 L 0.33,1.28 C 0.33,0.64 0.85,0.13 1.48,0.13 z " />
2105 <svg:path fill="#919191" stroke-width="0.1" d="M 6.64,5.78 C 7.27,5.78 7.79,6.29 7.79,6.92 L 7.79,9.91 L 5.49,9.91 L 5.49,6.92 C 5.49,6.29 6.00,5.78 6.64,5.78 z " />
2106 </svg:pattern>
2107
2108 <svg:pattern id="cemetery-christian-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse">
2109 <svg:rect fill="#bde3cb" width="11" height="11" x="0" y="0" />
2110 <svg:path stroke="black" stroke-width="0.2" d="M1,1 L3,1 M2,0 L2,3 M6,6 L8,6 M7,5 L7,8"/>
2111 </svg:pattern>
2112
2113 <svg:pattern id="pedestrian-pattern" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse">
2114 <svg:path d="M0,10 L10,0" fill="none" stroke="red" width="1"/>
2115 </svg:pattern>
2116
2117 <svg:marker
2118 id="bridge-casing-start"
2119 fill='none'
2120 stroke-width='0.1px'
2121 stroke='#222222'
2122 markerWidth="1px"
2123 markerHeight="1px"
2124 orient="auto">
2125 <svg:path d="M-0.25,0.75 L0.5,0 L-0.25,-0.75" />
2126 </svg:marker>
2127
2128 <svg:marker
2129 id="bridge-casing-end"
2130 fill='none'
2131 stroke-width='0.1px'
2132 stroke='#222222'
2133 markerWidth="1px"
2134 markerHeight="1px"
2135 orient="auto">
2136 <svg:path d="M0.25,0.75 L-0.5,0 L0.25,-0.75" />
2137 </svg:marker>
2138
2139 <svg:marker
2140 id="tunnel-start-wide"
2141 fill='none'
2142 stroke-width='0.1px'
2143 stroke='#222222'
2144 markerWidth="1px"
2145 markerHeight="1px"
2146 refX="-0.15"
2147 orient="auto">
2148 <svg:path d="M-0.25,0.75 L-0.1,0.5 L-0.1,-0.5 L-0.25,-0.75" />
2149 </svg:marker>
2150
2151 <svg:marker
2152 id="tunnel-end-wide"
2153 fill='none'
2154 stroke-width='0.1px'
2155 stroke='#222222'
2156 markerWidth="1px"
2157 markerHeight="1px"
2158 refX="0.15"
2159 orient="auto">
2160 <svg:path d="M0.25,0.75 L0.1,0.5 L0.1,-0.5 L0.25,-0.75" />
2161 </svg:marker>
2162
2163 <svg:marker
2164 id="tunnel-start-narrow"
2165 fill='none'
2166 stroke-width='1px'
2167 stroke='#222222'
2168 markerWidth="0.1px"
2169 markerHeight="0.1px"
2170 refX="-1.5"
2171 orient="auto">
2172 <svg:path d="M-2.5,7.5 L-1,5 L-1,-5 L-2.5,-7.5" />
2173 </svg:marker>
2174
2175 <svg:marker
2176 id="tunnel-end-narrow"
2177 fill='none'
2178 stroke-width='1px'
2179 stroke='#222222'
2180 markerWidth="0.1px"
2181 markerHeight="0.1px"
2182 refX="1.5"
2183 orient="auto">
2184 <svg:path d="M2.5,7.5 L1,5 L1,-5 L2.5,-7.5" />
2185 </svg:marker>
2186
2187 <svg:marker
2188 id="marker-oneway-start"
2189 viewBox="0 0 10 10"
2190 refX="-20px" refY="5px"
2191 markerUnits="userSpaceOnUse"
2192 fill='#a2aee9'
2193 stroke-width='1px'
2194 stroke='#000000'
2195 markerWidth="1px"
2196 markerHeight="1px"
2197 orient="auto">
2198 <svg:path d="M 0,4 L 6,4 L 6,2 L 10,5 L 6,8 L 6,6 L 0,6 z" />
2199 </svg:marker>
2200
2201 <svg:marker
2202 id="marker-oneway-end"
2203 viewBox="0 0 10 10"
2204 refX="20px" refY="5px"
2205 markerUnits="userSpaceOnUse"
2206 fill='#a2aee9'
2207 stroke-width='1px'
2208 stroke='#000000'
2209 markerWidth="1px"
2210 markerHeight="1px"
2211 orient="auto">
2212 <svg:path d="M 0,4 L 6,4 L 6,2 L 10,5 L 6,8 L 6,6 L 0,6 z" />
2213 </svg:marker>
2214
2215 <svg:marker
2216 id="marker-otherway-start"
2217 viewBox="0 0 10 10"
2218 refX="-30px" refY="5px"
2219 markerUnits="userSpaceOnUse"
2220 fill='#a2aee9'
2221 stroke-width='1px'
2222 stroke='#000000'
2223 markerWidth="1px"
2224 markerHeight="1px"
2225 orient="auto">
2226 <svg:path d="M 10,4 L 4,4 L 4,2 L 0,5 L 4,8 L 4,6 L 10,6 z" />
2227 </svg:marker>
2228
2229 <svg:marker
2230 id="marker-otherway-end"
2231 viewBox="0 0 10 10"
2232 refX="30px" refY="5px"
2233 markerUnits="userSpaceOnUse"
2234 fill='#a2aee9'
2235 stroke-width='1px'
2236 stroke='#000000'
2237 markerWidth="1px"
2238 markerHeight="1px"
2239 orient="auto">
2240 <svg:path d="M 10,4 L 4,4 L 4,2 L 0,5 L 4,8 L 4,6 L 10,6 z" />
2241 </svg:marker>
2242
2243 <svg:marker
2244 id="segment-direction"
2245 viewBox="0 0 10 10"
2246 refX="10px" refY="5px"
2247 markerUnits="userSpaceOnUse"
2248 fill='none'
2249 stroke-width='1px'
2250 stroke='#008000'
2251 markerWidth="1px"
2252 markerHeight="1px"
2253 orient="auto">
2254 <svg:path d="M 0,2 L 10,5 L 0,8" />
2255 </svg:marker>
2256
2257 </defs>
2258
2259</rules>
Note: See TracBrowser for help on using the repository browser.