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 http://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="1" |
---|
17 | minimumMapWidth="1" |
---|
18 | minimumMapHeight="1" |
---|
19 | withOSMLayers="yes" |
---|
20 | withUntaggedSegments="no" |
---|
21 | showScale="no" |
---|
22 | showGrid="no" |
---|
23 | showBorder="no" |
---|
24 | showLicense="no" |
---|
25 | interactive="no"> |
---|
26 | |
---|
27 | <!--bounds_mkr1--> |
---|
28 | <!--bounds_mkr2--> |
---|
29 | |
---|
30 | <!-- For debugging this rule draws a one pixel wide trace of *all* segments. This enables segments that have no |
---|
31 | tags to be identified. Comment it out to hide the debug trace. --> |
---|
32 | <!--<rule e="segment" k="~" v="~"> |
---|
33 | <line class='debug'/> |
---|
34 | </rule>--> |
---|
35 | |
---|
36 | <!-- Select all nodes, waysegments and ways (unless they have an osmarender:render=no tag) --> |
---|
37 | <!-- 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. --> |
---|
38 | <rule e="node|way" k="osmarender:render" v="~|yes"> |
---|
39 | |
---|
40 | <!-- Draw land areas first --> |
---|
41 | <rule e="way" k="natural" v="land"> |
---|
42 | <area class='natural-land' /> |
---|
43 | </rule> |
---|
44 | |
---|
45 | |
---|
46 | <!-- Landuse --> |
---|
47 | <!-- at zoom 12 render all landuse in the same colour so it doesn't look too psychadelic --> |
---|
48 | <rule e="way" k="landuse" v="residential|retail|industrial|commercial|cemetery"> |
---|
49 | <area class='landuse-all'/> |
---|
50 | </rule> |
---|
51 | |
---|
52 | |
---|
53 | <!-- Natural features --> |
---|
54 | <rule e="way" k="natural" v="coastline"> |
---|
55 | <area class='natural-coastline'/> |
---|
56 | </rule> |
---|
57 | <rule e="way" k="landuse|natural" v="forest|wood"> |
---|
58 | <area class='landuse-wood'/> |
---|
59 | </rule> |
---|
60 | <rule e="way" k="landuse" v="field|village_green|meadow"> |
---|
61 | <area class='landuse-field'/> |
---|
62 | </rule> |
---|
63 | <rule e="way" k="amenity" v="school|college|university"> |
---|
64 | <area class='landuse-all'/> |
---|
65 | </rule> |
---|
66 | <rule e="way" k="leisure" v="park|playing_fields|garden|pitch|golf_course|common|green"> |
---|
67 | <area class='leisure-park'/> |
---|
68 | </rule> |
---|
69 | <rule e="way" k="leisure" v="stadium|sports_centre"> |
---|
70 | <area class='leisure-stadium'/> |
---|
71 | </rule> |
---|
72 | <rule e="way" k="leisure" v="track"> |
---|
73 | <area class='leisure-track'/> |
---|
74 | </rule> |
---|
75 | |
---|
76 | |
---|
77 | <!-- Airports and runways --> |
---|
78 | <rule e="way" k="aeroway" v="apron"> |
---|
79 | <area class='aeroway-apron'/> |
---|
80 | </rule> |
---|
81 | <rule e="way" k="landuse" v="runway"> |
---|
82 | <rule e="way" k="use_status" v="~"> |
---|
83 | <area class='landuse-runway' /> |
---|
84 | </rule> |
---|
85 | <rule e="way" k="use_status" v="disused"> |
---|
86 | <area class='landuse-runway-disused' /> |
---|
87 | </rule> |
---|
88 | <rule e="way" k="use_status" v="dismantled"> |
---|
89 | <area class='landuse-runway-dismantled' /> |
---|
90 | </rule> |
---|
91 | </rule> |
---|
92 | |
---|
93 | |
---|
94 | <!-- Raceways and racetracks --> |
---|
95 | <rule e="way" k="landuse" v="raceway"> |
---|
96 | <rule e="way" k="use_status" v="~"> |
---|
97 | <area class='landuse-raceway' /> |
---|
98 | </rule> |
---|
99 | <rule e="way" k="use_status" v="disused"> |
---|
100 | <area class='landuse-raceway-disused' /> |
---|
101 | </rule> |
---|
102 | <rule e="way" k="use_status" v="dismantled"> |
---|
103 | <area class='landuse-raceway-dismantled' /> |
---|
104 | </rule> |
---|
105 | </rule> |
---|
106 | |
---|
107 | <!-- Man-made areas --> |
---|
108 | <rule e="way" k="sport" v="*"> |
---|
109 | <area class='sport'/> |
---|
110 | </rule> |
---|
111 | <rule e="way" k="amenity" v="parking"> |
---|
112 | <area class='amenity-parking'/> |
---|
113 | </rule> |
---|
114 | <rule e="way" k="tourism" v="attraction"> |
---|
115 | <area class='tourism-attraction'/> |
---|
116 | </rule> |
---|
117 | <rule e="way" k="aeroway" v="terminal"> |
---|
118 | <area class='building-block'/> |
---|
119 | </rule> |
---|
120 | <rule e="way" k="building" v="*"> |
---|
121 | <area class='building-block'/> |
---|
122 | </rule> |
---|
123 | |
---|
124 | |
---|
125 | <!-- Waterways, lakes and ponds --> |
---|
126 | <rule e="way" k="waterway" v="riverbank"> |
---|
127 | <area class='waterway-riverbank'/> |
---|
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="canal"> |
---|
133 | <line class='waterway-canal-core'/> |
---|
134 | </rule> |
---|
135 | <rule e="way" k="waterway" v="dock"> |
---|
136 | <area class='natural-water' /> |
---|
137 | </rule> |
---|
138 | <rule e="way" k="natural" v="water|pond|lake"> |
---|
139 | <area class='natural-water' /> |
---|
140 | </rule> |
---|
141 | <rule e="way" k="landuse" v="reservoir"> |
---|
142 | <area class='natural-water' /> |
---|
143 | </rule> |
---|
144 | <rule e="way" k="landuse" v="basin"> |
---|
145 | <area class='natural-water' /> |
---|
146 | </rule> |
---|
147 | |
---|
148 | |
---|
149 | <!-- Non-physical boundaries --> |
---|
150 | <rule e="way" k="boundary" v="national"> |
---|
151 | <line class="boundary boundary-administrative-state-casing" /> |
---|
152 | <line class="boundary boundary-administrative-state-core" /> |
---|
153 | </rule> |
---|
154 | |
---|
155 | <rule e="way" k="boundary" v="administrative"> |
---|
156 | <rule e="way" k="left:country|right:country" v="*" > |
---|
157 | <line class="boundary boundary-administrative-state-casing" /> |
---|
158 | <line class="boundary boundary-administrative-state-core" /> |
---|
159 | </rule> |
---|
160 | <rule e="way" k="border_type" v="state"> |
---|
161 | <line class="boundary boundary-administrative-state-casing" /> |
---|
162 | <line class="boundary boundary-administrative-state-core" /> |
---|
163 | </rule> |
---|
164 | </rule> |
---|
165 | |
---|
166 | <!-- Paths in tunnels --> |
---|
167 | <rule e="segment|way" k="tunnel" v="yes|true"> |
---|
168 | <rule e="segment|way" k="highway" v="footway|steps|cycleway|bridleway|byway"> |
---|
169 | <tunnel width="0" class='highway-tunnel-narrow' /> |
---|
170 | </rule> |
---|
171 | </rule> |
---|
172 | |
---|
173 | <!-- Paths not in tunnels --> |
---|
174 | <rule e="segment|way" k="tunnel" v="~|no"> |
---|
175 | <rule e="segment|way" k="highway" v="footway|steps"> |
---|
176 | <line class='highway-core highway-footway' /> |
---|
177 | </rule> |
---|
178 | <rule e="segment|way" k="highway" v="steps"> |
---|
179 | <line class='highway-core highway-steps' /> |
---|
180 | </rule> |
---|
181 | <rule e="segment|way" k="highway" v="cycleway"> |
---|
182 | <line class='highway-core highway-cycleway' /> |
---|
183 | </rule> |
---|
184 | <rule e="segment|way" k="highway" v="bridleway"> |
---|
185 | <line class='highway-core highway-bridleway' /> |
---|
186 | </rule> |
---|
187 | <rule e="way" k="highway" v="byway"> |
---|
188 | <line class='highway-core highway-byway' /> |
---|
189 | </rule> |
---|
190 | </rule> |
---|
191 | |
---|
192 | |
---|
193 | <!-- Highway cores (not in tunnel) --> |
---|
194 | <rule e="segment|way" k="tunnel" v="~|false|no"> |
---|
195 | <addclass e="segment|way" k="bridge" v="yes|true" class="round"> |
---|
196 | <rule e="segment|way" k="highway" v="raceway"> |
---|
197 | <rule e="way" k="use_status" v="~"> |
---|
198 | <line class='highway-raceway-core' /> |
---|
199 | </rule> |
---|
200 | <rule e="way" k="use_status" v="disused"> |
---|
201 | <line class='highway-raceway-core-disused' /> |
---|
202 | </rule> |
---|
203 | <rule e="way" k="use_status" v="dismantled"> |
---|
204 | <line class='highway-raceway-core-dismantled' /> |
---|
205 | </rule> |
---|
206 | </rule> |
---|
207 | <rule e="segment|way" k="highway" v="pedestrian"> |
---|
208 | <line class='highway-core highway-pedestrian-core' /> |
---|
209 | </rule> |
---|
210 | <rule e="segment|way" k="highway" v="track"> |
---|
211 | <line class='highway-core highway-track-core' /> |
---|
212 | </rule> |
---|
213 | <rule e="segment|way" k="highway" v="unsurfaced"> |
---|
214 | <line class='highway-core highway-unsurfaced-core' /> |
---|
215 | </rule> |
---|
216 | <rule e="segment|way" k="highway" v="service"> |
---|
217 | <line class='highway-core highway-service-core' /> |
---|
218 | </rule> |
---|
219 | <rule e="segment|way" k="highway" v="tertiary"> |
---|
220 | <line class='highway-core highway-tertiary-core' /> |
---|
221 | </rule> |
---|
222 | <rule e="segment|way" k="highway" v="secondary"> |
---|
223 | <line class='highway-core highway-secondary-core' /> |
---|
224 | </rule> |
---|
225 | <rule e="segment|way" k="highway" v="primary|primary_link"> |
---|
226 | <line class='highway-core highway-primary-core' /> |
---|
227 | </rule> |
---|
228 | <rule e="segment|way" k="highway" v="trunk|trunk_link"> |
---|
229 | <line class='highway-core highway-trunk-core' /> |
---|
230 | </rule> |
---|
231 | <rule e="segment|way" k="highway" v="motorway_link"> |
---|
232 | <line class='highway-core highway-motorway-link-core' /> |
---|
233 | </rule> |
---|
234 | <rule e="segment|way" k="highway" v="motorway"> |
---|
235 | <line class='highway-core highway-motorway-core' /> |
---|
236 | </rule> |
---|
237 | </addclass> |
---|
238 | </rule> |
---|
239 | |
---|
240 | <!-- Highway cores in tunnels --> |
---|
241 | <rule e="segment|way" k="tunnel" v="true|yes"> |
---|
242 | <rule e="segment|way" k="highway" v="pedestrian"> |
---|
243 | <tunnel width="2" class='highway-core highway-pedestrian' /> |
---|
244 | </rule> |
---|
245 | <rule e="segment|way" k="highway" v="track"> |
---|
246 | <tunnel width="2" class='highway-core highway-track' /> |
---|
247 | </rule> |
---|
248 | <rule e="segment|way" k="highway" v="unsurfaced"> |
---|
249 | <tunnel width="2" class='highway-core highway-unsurfaced' /> |
---|
250 | </rule> |
---|
251 | <rule e="segment|way" k="highway" v="service"> |
---|
252 | <tunnel width="1" class='highway-core highway-service' /> |
---|
253 | </rule> |
---|
254 | <rule e="segment|way" k="highway" v="tertiary"> |
---|
255 | <tunnel width="2" class='highway-core highway-tertiary' /> |
---|
256 | </rule> |
---|
257 | <rule e="segment|way" k="highway" v="secondary"> |
---|
258 | <tunnel width="3" class='highway-core highway-secondary' /> |
---|
259 | </rule> |
---|
260 | <rule e="segment|way" k="highway" v="primary|primary_link"> |
---|
261 | <tunnel width="3" class='highway-core highway-primary' /> |
---|
262 | </rule> |
---|
263 | <rule e="segment|way" k="highway" v="trunk|trunk_link"> |
---|
264 | <tunnel width="4" class='highway-core highway-trunk' /> |
---|
265 | </rule> |
---|
266 | <rule e="segment|way" k="highway" v="motorway|motorway_link"> |
---|
267 | <tunnel width="4" class='highway-core highway-motorway' /> |
---|
268 | </rule> |
---|
269 | </rule> |
---|
270 | |
---|
271 | <rule e="node" k="highway" v="mini_roundabout"> |
---|
272 | <circle r="0.8px" class="mini-roundabout-core"/> |
---|
273 | <circle r="0.2px" class="mini-roundabout-dot"/> |
---|
274 | </rule> |
---|
275 | |
---|
276 | <!-- highway motorway-junctions --> |
---|
277 | <rule e="node" k="highway" v="motorway_junction"> |
---|
278 | <circle r="7" class="highway-motorway-junction" /> |
---|
279 | <text k="name" class='highway-motorway-junction-caption' dy='-2px' /> |
---|
280 | <text k="ref" class='highway-motorway-junction-caption' dy='+5px' /> |
---|
281 | </rule> |
---|
282 | |
---|
283 | |
---|
284 | <!-- Railway lines --> |
---|
285 | <!-- not in tunnel --> |
---|
286 | <rule e="segment|way" k="tunnel" v="~|no|false"> |
---|
287 | <rule e="segment|way" k="railway" v="rail"> |
---|
288 | <line class='railway-rail' /> |
---|
289 | </rule> |
---|
290 | <rule e="segment|way" k="railway" v="light_rail|tram"> |
---|
291 | <line class='railway-light-rail' /> |
---|
292 | </rule> |
---|
293 | <rule e="segment|way" k="railway" v="subway"> |
---|
294 | <line class='railway-subway-rail' /> |
---|
295 | </rule> |
---|
296 | <rule e="segment|way" k="railway" v="preserved"> |
---|
297 | <line class='railway-preserved' /> |
---|
298 | </rule> |
---|
299 | </rule> |
---|
300 | |
---|
301 | <!-- in tunnel --> |
---|
302 | <rule e="segment|way" k="tunnel" v="true|yes"> |
---|
303 | <rule e="segment|way" k="railway" v="rail"> |
---|
304 | <tunnel width="1" class='railway-rail' /> |
---|
305 | </rule> |
---|
306 | <rule e="segment|way" k="railway" v="light_rail|subway|tram"> |
---|
307 | <tunnel width="0" class='railway-tunnel-narrow' /> |
---|
308 | </rule> |
---|
309 | <rule e="segment|way" k="railway" v="preserved"> |
---|
310 | <tunnel width="1" class='railway-preserved' /> |
---|
311 | </rule> |
---|
312 | </rule> |
---|
313 | |
---|
314 | |
---|
315 | <!-- Airfields and airports --> |
---|
316 | <rule e="segment|way" k="aeroway" v="runway"> |
---|
317 | <line class='aeroway-runway-core'/> |
---|
318 | </rule> |
---|
319 | <rule e="segment|way" k="aeroway" v="taxiway"> |
---|
320 | <line class='aeroway-taxiway-core'/> |
---|
321 | </rule> |
---|
322 | <rule e="node" k="aeroway" v="airport"> |
---|
323 | <symbol xlink:href="#airport" width='40px' height='40px' transform='translate(-20,-20)' /> |
---|
324 | </rule> |
---|
325 | |
---|
326 | |
---|
327 | <!-- Non-pysical routes --> |
---|
328 | <rule e="segment|way" k="route" v="ferry"> |
---|
329 | <line class='route-ferry' /> |
---|
330 | </rule> |
---|
331 | |
---|
332 | <!-- Place names --> |
---|
333 | <!-- z12 and below have only limited names |
---|
334 | <rule e="node" k="place" v="continent"> |
---|
335 | <text k="name" class='continent-caption' /> |
---|
336 | </rule> |
---|
337 | <rule e="node" k="place" v="country"> |
---|
338 | <text k="name" class='country-caption' /> |
---|
339 | </rule> |
---|
340 | <rule e="node" k="place" v="state"> |
---|
341 | <text k="name" class='state-caption' /> |
---|
342 | </rule> |
---|
343 | <rule e="node" k="place" v="region"> |
---|
344 | <text k="name" class='region-caption' /> |
---|
345 | </rule> |
---|
346 | --> |
---|
347 | <rule k="osmarender:renderName" v="~|yes"> |
---|
348 | <rule e="node" k="place" v="county"> |
---|
349 | <text k="name" class='county-caption' /> |
---|
350 | </rule> |
---|
351 | <rule e="node" k="place" v="city"> |
---|
352 | <text k="name" class='city-caption' /> |
---|
353 | </rule> |
---|
354 | <rule e="node" k="place" v="town"> |
---|
355 | <text k="name" class='town-caption' /> |
---|
356 | </rule> |
---|
357 | </rule> |
---|
358 | |
---|
359 | </rule> <!-- k="osmarender:render" v="~|yes" --> |
---|
360 | |
---|
361 | |
---|
362 | <!-- SVG Definitions - markers, symbols etc go here --> |
---|
363 | <defs> |
---|
364 | |
---|
365 | <style id="styles" type="text/css" xmlns="http://www.w3.org/2000/svg"> |
---|
366 | .debug { |
---|
367 | stroke-width: 0.1px; |
---|
368 | stroke-linecap: round; |
---|
369 | stroke: gray; |
---|
370 | /* marker-end: url(#segment-direction); */ |
---|
371 | } |
---|
372 | |
---|
373 | .error { |
---|
374 | stroke-width: 2px; |
---|
375 | stroke-linecap: round; |
---|
376 | stroke: red; |
---|
377 | } |
---|
378 | |
---|
379 | .untagged-segments { |
---|
380 | stroke-width: 0.5px; |
---|
381 | stroke-linejoin: butt; |
---|
382 | stroke-linecap: butt; |
---|
383 | stroke: #e0e0e0; |
---|
384 | stroke-dasharray: 0.5,0.5; |
---|
385 | } |
---|
386 | |
---|
387 | |
---|
388 | /* Bridge core */ |
---|
389 | .bridge-core-35 { |
---|
390 | stroke-width: 22; |
---|
391 | stroke-linecap: butt; |
---|
392 | stroke-linejoin: round; |
---|
393 | stroke: #fcfcfc; |
---|
394 | fill: none; |
---|
395 | } |
---|
396 | |
---|
397 | .bridge-core-30 { |
---|
398 | stroke-width: 15px; |
---|
399 | stroke-linecap: butt; |
---|
400 | stroke-linejoin: round; |
---|
401 | stroke: #fcfcfc; |
---|
402 | fill: none; |
---|
403 | } |
---|
404 | |
---|
405 | .bridge-core-25 { |
---|
406 | stroke-width: 9px; |
---|
407 | stroke-linecap: butt; |
---|
408 | stroke-linejoin: round; |
---|
409 | stroke: #fcfcfc; |
---|
410 | fill: none; |
---|
411 | } |
---|
412 | |
---|
413 | .bridge-core-20 { |
---|
414 | stroke-width: 1.5px; |
---|
415 | stroke-linecap: butt; |
---|
416 | stroke-linejoin: round; |
---|
417 | stroke: #fcfcfc; |
---|
418 | fill: none; |
---|
419 | } |
---|
420 | |
---|
421 | .bridge-core-15 { |
---|
422 | stroke-width: 1.25px; |
---|
423 | stroke-linecap: butt; |
---|
424 | stroke-linejoin: round; |
---|
425 | stroke: #fcfcfc; |
---|
426 | fill: none; |
---|
427 | } |
---|
428 | |
---|
429 | .bridge-core-10 { |
---|
430 | stroke-width: 0.75px; |
---|
431 | stroke-linecap: butt; |
---|
432 | stroke-linejoin: round; |
---|
433 | stroke: #fcfcfc; |
---|
434 | fill: none; |
---|
435 | } |
---|
436 | |
---|
437 | .highway-core { |
---|
438 | stroke-linecap: butt; |
---|
439 | stroke-linejoin: round; |
---|
440 | fill: none; |
---|
441 | } |
---|
442 | |
---|
443 | .highway-motorway-junction { |
---|
444 | fill: yellow; |
---|
445 | stroke: #4D5D73; |
---|
446 | stroke-width: 3px; |
---|
447 | } |
---|
448 | |
---|
449 | .highway-motorway-junction-caption { |
---|
450 | fill: black; |
---|
451 | stroke: blue; |
---|
452 | stroke-width: 0.2px; |
---|
453 | font-family: "DejaVu Sans",sans-serif; |
---|
454 | font-size: 10px; |
---|
455 | font-weight: bold; |
---|
456 | display: none; |
---|
457 | } |
---|
458 | |
---|
459 | .highway-ref { |
---|
460 | fill: #666666; |
---|
461 | stroke: white; |
---|
462 | font-family: "DejaVu Sans",sans-serif; |
---|
463 | font-weight: normal; |
---|
464 | } |
---|
465 | |
---|
466 | .highway-name { |
---|
467 | fill: black; |
---|
468 | font-family: "DejaVu Sans",sans-serif; |
---|
469 | font-weight: normal; |
---|
470 | stroke: white; |
---|
471 | } |
---|
472 | |
---|
473 | |
---|
474 | /* Highways - street specific style */ |
---|
475 | |
---|
476 | .highway-motorway-core { |
---|
477 | stroke-width: 66px; |
---|
478 | stroke: #809BC0; |
---|
479 | } |
---|
480 | |
---|
481 | .highway-motorway-link-core { |
---|
482 | stroke-width: 50px; |
---|
483 | stroke: #809BC0; |
---|
484 | } |
---|
485 | |
---|
486 | .highway-trunk-core { |
---|
487 | stroke-width: 36px; |
---|
488 | stroke: #7fc97f; |
---|
489 | } |
---|
490 | |
---|
491 | .highway-primary-core { |
---|
492 | stroke-width: 14px; |
---|
493 | stroke: #e46d71; |
---|
494 | } |
---|
495 | |
---|
496 | .highway-secondary-core { |
---|
497 | stroke-width: 12px; |
---|
498 | stroke: #FDBF6F; |
---|
499 | } |
---|
500 | |
---|
501 | .highway-service-core { |
---|
502 | stroke-width: 0.4px; |
---|
503 | stroke: #ffffff; |
---|
504 | } |
---|
505 | |
---|
506 | .highway-bridleway { |
---|
507 | stroke-width: 1px; |
---|
508 | stroke: #70b971; |
---|
509 | } |
---|
510 | |
---|
511 | .highway-byway { |
---|
512 | stroke-width: 1px; |
---|
513 | stroke: #ef7771; |
---|
514 | } |
---|
515 | |
---|
516 | .highway-cycleway { |
---|
517 | stroke-width: 1px; |
---|
518 | stroke: #008102; |
---|
519 | } |
---|
520 | |
---|
521 | .highway-footway { |
---|
522 | stroke-width: 0.5px; |
---|
523 | stroke: #d79331; |
---|
524 | } |
---|
525 | |
---|
526 | .highway-steps { |
---|
527 | stroke-width: 0.5px; |
---|
528 | stroke: #707070; |
---|
529 | stroke-dasharray: 0.1px, 0.3px; |
---|
530 | } |
---|
531 | |
---|
532 | .highway-tunnel-narrow { |
---|
533 | stroke-width: 0.1px; |
---|
534 | stroke-dasharray: 0.2,0.2; |
---|
535 | stroke-linecap: butt; |
---|
536 | stroke-linejoin: round; |
---|
537 | stroke: #000000; |
---|
538 | fill: none; |
---|
539 | } |
---|
540 | |
---|
541 | .round { |
---|
542 | stroke-linecap: round; |
---|
543 | } |
---|
544 | |
---|
545 | |
---|
546 | /* Mini roundabouts */ |
---|
547 | .mini-roundabout-core { |
---|
548 | stroke: #ffffff; |
---|
549 | fill: #ffffff; |
---|
550 | } |
---|
551 | |
---|
552 | .mini-roundabout-dot { |
---|
553 | stroke: none; |
---|
554 | fill: #222222; |
---|
555 | } |
---|
556 | |
---|
557 | |
---|
558 | /* Aeroways */ |
---|
559 | .aeroway-apron { |
---|
560 | stroke-width: 0.3px; |
---|
561 | stroke: none; |
---|
562 | fill: #f0f0f0; |
---|
563 | } |
---|
564 | |
---|
565 | .aeroway-taxiway-core { |
---|
566 | stroke-width: 2px; |
---|
567 | stroke-linecap: butt; |
---|
568 | stroke-linejoin: round; |
---|
569 | stroke: #d4dcbd; |
---|
570 | fill: none; |
---|
571 | } |
---|
572 | |
---|
573 | .aeroway-runway-core { |
---|
574 | stroke-width: 5px; |
---|
575 | stroke-linecap: butt; |
---|
576 | stroke-linejoin: round; |
---|
577 | stroke: #d4dcbd; |
---|
578 | fill: none; |
---|
579 | } |
---|
580 | |
---|
581 | .aeroway-aerodrome-caption { |
---|
582 | fill: black; |
---|
583 | stroke: white; |
---|
584 | stroke-width: 0.3px; |
---|
585 | font-family: "DejaVu Sans",sans-serif; |
---|
586 | font-size: 6px; |
---|
587 | font-weight: bold; |
---|
588 | } |
---|
589 | |
---|
590 | .aeroway-airport-caption { |
---|
591 | fill: black; |
---|
592 | stroke: white; |
---|
593 | stroke-width: 0.3px; |
---|
594 | font-family: "DejaVu Sans",sans-serif; |
---|
595 | font-size: 10px; |
---|
596 | font-weight: bold; |
---|
597 | } |
---|
598 | |
---|
599 | |
---|
600 | /* Waterways */ |
---|
601 | .waterway-riverbank { |
---|
602 | fill: #b5d6f1; |
---|
603 | stroke: #aaaaaa; |
---|
604 | stroke-width: 0px; |
---|
605 | } |
---|
606 | |
---|
607 | .waterway-river-core { |
---|
608 | stroke-width: 10px; |
---|
609 | stroke-linecap: butt; |
---|
610 | stroke-linejoin: round; |
---|
611 | stroke: #b5d6f1; |
---|
612 | fill: none; |
---|
613 | } |
---|
614 | |
---|
615 | .waterway-canal-core { |
---|
616 | stroke-width: 1px; |
---|
617 | stroke-linecap: butt; |
---|
618 | stroke-linejoin: round; |
---|
619 | stroke: #b5d6f1; |
---|
620 | fill: none; |
---|
621 | } |
---|
622 | |
---|
623 | .railway-rail { |
---|
624 | stroke-width: 80px; |
---|
625 | stroke-linecap: butt; |
---|
626 | stroke-linejoin: round; |
---|
627 | stroke: #666666; |
---|
628 | fill: none; |
---|
629 | } |
---|
630 | |
---|
631 | .railway-preserved { |
---|
632 | stroke-width: 8px; |
---|
633 | stroke-linecap: butt; |
---|
634 | stroke-linejoin: round; |
---|
635 | stroke: #666666; |
---|
636 | fill: none; |
---|
637 | } |
---|
638 | |
---|
639 | .railway-light-rail { |
---|
640 | stroke-width: 2px; |
---|
641 | stroke-linecap: butt; |
---|
642 | stroke-linejoin: round; |
---|
643 | stroke: #666666; |
---|
644 | fill: none; |
---|
645 | } |
---|
646 | |
---|
647 | .railway-tunnel-narrow { |
---|
648 | stroke-width: 1px; |
---|
649 | stroke-dasharray: 1,2; |
---|
650 | stroke-linecap: butt; |
---|
651 | stroke-linejoin: round; |
---|
652 | stroke: #000000; |
---|
653 | fill: none; |
---|
654 | } |
---|
655 | |
---|
656 | .railway-subway-rail { |
---|
657 | stroke-width: 2px; |
---|
658 | stroke-linecap: butt; |
---|
659 | stroke-linejoin: round; |
---|
660 | stroke: #666666; |
---|
661 | fill: none; |
---|
662 | stroke-dasharray: 3px, 1px; |
---|
663 | stroke-dashoffset: 0; |
---|
664 | stroke-opacity: 1; |
---|
665 | } |
---|
666 | |
---|
667 | /* Ferry */ |
---|
668 | .route-ferry { |
---|
669 | stroke-width: 2px; |
---|
670 | stroke-dasharray: 3,2; |
---|
671 | stroke-linecap: butt; |
---|
672 | stroke-linejoin: round; |
---|
673 | stroke: #777777; |
---|
674 | fill: none; |
---|
675 | } |
---|
676 | |
---|
677 | |
---|
678 | /* Place names */ |
---|
679 | .continent-caption { |
---|
680 | fill: black; |
---|
681 | stroke: white; |
---|
682 | stroke-width: 0.6px; |
---|
683 | font-family: "DejaVu Sans",sans-serif; |
---|
684 | font-size: 200px; |
---|
685 | font-weight: bold; |
---|
686 | text-anchor: middle; |
---|
687 | } |
---|
688 | |
---|
689 | .country-caption { |
---|
690 | fill: black; |
---|
691 | stroke: white; |
---|
692 | stroke-width: 0.5px; |
---|
693 | font-family: "DejaVu Sans",sans-serif; |
---|
694 | font-size: 180px; |
---|
695 | font-weight: bold; |
---|
696 | text-anchor: middle; |
---|
697 | } |
---|
698 | |
---|
699 | .state-caption { |
---|
700 | fill: black; |
---|
701 | stroke: white; |
---|
702 | stroke-width: 0.5px; |
---|
703 | font-family: "DejaVu Sans",sans-serif; |
---|
704 | font-size: 160px; |
---|
705 | font-weight: bold; |
---|
706 | text-anchor: middle; |
---|
707 | } |
---|
708 | |
---|
709 | .region-caption { |
---|
710 | fill: black; |
---|
711 | stroke: white; |
---|
712 | stroke-width: 0.4px; |
---|
713 | font-family: "DejaVu Sans",sans-serif; |
---|
714 | font-size: 140px; |
---|
715 | font-weight: bold; |
---|
716 | text-anchor: middle; |
---|
717 | } |
---|
718 | |
---|
719 | .county-caption { |
---|
720 | fill: black; |
---|
721 | stroke: white; |
---|
722 | stroke-width: 0.4px; |
---|
723 | font-family: "DejaVu Sans",sans-serif; |
---|
724 | font-size: 120px; |
---|
725 | font-weight: bold; |
---|
726 | text-anchor: middle; |
---|
727 | } |
---|
728 | |
---|
729 | .city-caption { |
---|
730 | fill: black; |
---|
731 | stroke: none; |
---|
732 | stroke-width: 0.4px; |
---|
733 | font-family: "DejaVu Sans",sans-serif; |
---|
734 | font-size: 500px; |
---|
735 | font-weight: bold; |
---|
736 | text-anchor: middle; |
---|
737 | } |
---|
738 | |
---|
739 | .town-caption { |
---|
740 | fill: black; |
---|
741 | stroke: none; |
---|
742 | font-family: "DejaVu Sans",sans-serif; |
---|
743 | font-size: 200px; |
---|
744 | opacity: 0.7; |
---|
745 | font-weight: bold; |
---|
746 | text-anchor: middle; |
---|
747 | } |
---|
748 | |
---|
749 | .village-caption { |
---|
750 | fill: black; |
---|
751 | stroke: none; |
---|
752 | font-family: "DejaVu Sans",sans-serif; |
---|
753 | font-size: 60px; |
---|
754 | font-weight: bold; |
---|
755 | text-anchor: middle; |
---|
756 | } |
---|
757 | |
---|
758 | .suburb-caption { |
---|
759 | fill: black; |
---|
760 | stroke: none; |
---|
761 | font-family: "DejaVu Sans",sans-serif; |
---|
762 | font-size: 6px; |
---|
763 | font-weight: bold; |
---|
764 | text-anchor: middle; |
---|
765 | } |
---|
766 | |
---|
767 | .church-caption { |
---|
768 | fill: black; |
---|
769 | stroke: white; |
---|
770 | stroke-width: 0.3px; |
---|
771 | font-family: "DejaVu Sans",sans-serif; |
---|
772 | font-size: 5px; |
---|
773 | font-weight: bold; |
---|
774 | text-anchor: middle; |
---|
775 | } |
---|
776 | |
---|
777 | |
---|
778 | /* Natural */ |
---|
779 | .natural-water { |
---|
780 | fill: #b5d6f1; |
---|
781 | stroke: #aaaaaa; |
---|
782 | stroke-width: 0px; |
---|
783 | } |
---|
784 | |
---|
785 | .natural-coastline { |
---|
786 | fill: #b5d6f1; |
---|
787 | stroke: #b5d6f1; |
---|
788 | stroke-width: 1.5px; |
---|
789 | } |
---|
790 | |
---|
791 | .natural-land { |
---|
792 | fill: #ffffff; |
---|
793 | stroke: #e0e0e0; |
---|
794 | stroke-width: 0.1px; |
---|
795 | } |
---|
796 | |
---|
797 | |
---|
798 | /* Landuse */ |
---|
799 | .landuse-all { |
---|
800 | stroke: none; |
---|
801 | fill: #f0f0f0; |
---|
802 | } |
---|
803 | |
---|
804 | .landuse-wood { |
---|
805 | fill: #72bf81; |
---|
806 | stroke: #6fc18e; |
---|
807 | stroke-width: 0.2px; |
---|
808 | } |
---|
809 | |
---|
810 | .landuse-cemetery { |
---|
811 | fill: #bde3cb; |
---|
812 | stroke: #eeeeee; |
---|
813 | stroke-width: 0.2px; |
---|
814 | } |
---|
815 | |
---|
816 | .landuse-field { |
---|
817 | fill: #bde3cb; |
---|
818 | stroke: #6fc13d; |
---|
819 | stroke-width: 0.2px; |
---|
820 | } |
---|
821 | |
---|
822 | .landuse-residential { |
---|
823 | stroke: none; |
---|
824 | fill: #f0f0f0; |
---|
825 | } |
---|
826 | |
---|
827 | .landuse-retail { |
---|
828 | stroke: none; |
---|
829 | fill: #ffebeb; |
---|
830 | } |
---|
831 | |
---|
832 | .landuse-industrial { |
---|
833 | fill: #ecd8ff; |
---|
834 | stroke: #eeeeee; |
---|
835 | stroke-width: 0.2px; |
---|
836 | } |
---|
837 | |
---|
838 | .landuse-commercial { |
---|
839 | fill: #fcffc9; |
---|
840 | stroke: #eeeeee; |
---|
841 | stroke-width: 0.2px; |
---|
842 | } |
---|
843 | |
---|
844 | .landuse-retail { |
---|
845 | fill: #ffebeb; |
---|
846 | stroke: #eeeeee; |
---|
847 | stroke-width: 0.2px; |
---|
848 | } |
---|
849 | |
---|
850 | .landuse-runway { |
---|
851 | stroke-width: 0.3px; |
---|
852 | stroke: #808080; |
---|
853 | fill: #d4dcbd; |
---|
854 | } |
---|
855 | |
---|
856 | .landuse-runway-disused { |
---|
857 | stroke-width: 0.3px; |
---|
858 | stroke: #808080; |
---|
859 | fill: #d4dcbd; |
---|
860 | stroke-dasharray: 1px, 1px; |
---|
861 | } |
---|
862 | |
---|
863 | .landuse-runway-dismantled { |
---|
864 | stroke-width: 0.3px; |
---|
865 | stroke: #808080; |
---|
866 | fill: #fcffef; |
---|
867 | stroke-dasharray: 0.3px, 1.7px; |
---|
868 | opacity: 0.5; |
---|
869 | } |
---|
870 | |
---|
871 | |
---|
872 | /* Leisure */ |
---|
873 | .leisure-park { |
---|
874 | fill: #c7f1a3; |
---|
875 | stroke: #6fc18e; |
---|
876 | stroke-width: 0.2px; |
---|
877 | } |
---|
878 | |
---|
879 | .leisure-stadium { |
---|
880 | fill: #bde3cb; |
---|
881 | stroke: #6fc18e; |
---|
882 | stroke-width: 0.2px; |
---|
883 | } |
---|
884 | |
---|
885 | .leisure-track { |
---|
886 | fill: #bde3cb; |
---|
887 | stroke: #6fc18e; |
---|
888 | stroke-width: 0.2px; |
---|
889 | } |
---|
890 | |
---|
891 | .sport { |
---|
892 | fill: #bde3cb; |
---|
893 | stroke: #6fc18e; |
---|
894 | stroke-width: 0.2px; |
---|
895 | } |
---|
896 | |
---|
897 | .amenity-parking { |
---|
898 | fill: #f7efb7; |
---|
899 | stroke: #e9dd72; |
---|
900 | stroke-width: 0.2px; |
---|
901 | } |
---|
902 | |
---|
903 | |
---|
904 | |
---|
905 | /* Non-physical boundaries */ |
---|
906 | .boundary { |
---|
907 | stroke-linecap: butt; |
---|
908 | stroke-linejoin: round; |
---|
909 | fill: none; |
---|
910 | } |
---|
911 | |
---|
912 | .boundary-administrative-state-casing { |
---|
913 | stroke-width: 180px; |
---|
914 | stroke: #ffff00; |
---|
915 | opacity: 0.5; |
---|
916 | } |
---|
917 | |
---|
918 | .boundary-administrative-state-core { |
---|
919 | stroke-width: 100px; |
---|
920 | stroke: #f9574b; |
---|
921 | stroke-dasharray: 80, 16, 16, 16; |
---|
922 | } |
---|
923 | |
---|
924 | |
---|
925 | |
---|
926 | /* Racetracks */ |
---|
927 | .highway-raceway-core { |
---|
928 | stroke-width: 1.5px; |
---|
929 | stroke-linecap: butt; |
---|
930 | stroke-linejoin: round; |
---|
931 | fill: none; |
---|
932 | stroke: #f0f0f0; |
---|
933 | } |
---|
934 | |
---|
935 | .highway-raceway-core-disused { |
---|
936 | stroke-width: 1.5px; |
---|
937 | stroke-linecap: butt; |
---|
938 | stroke-linejoin: round; |
---|
939 | fill: none; |
---|
940 | stroke-dasharray: 1px, 1px; |
---|
941 | stroke: #f7f7f7; |
---|
942 | } |
---|
943 | |
---|
944 | .highway-raceway-core-dismantled { |
---|
945 | stroke-width: 1.5px; |
---|
946 | stroke-linecap: butt; |
---|
947 | stroke-linejoin: round; |
---|
948 | fill: none; |
---|
949 | stroke: #fbfbfb; |
---|
950 | stroke-dasharray: 0.3px, 1.7px; |
---|
951 | opacity: 0.5; |
---|
952 | } |
---|
953 | |
---|
954 | .landuse-raceway { |
---|
955 | stroke-width: 0.3px; |
---|
956 | stroke-linecap: butt; |
---|
957 | stroke-linejoin: round; |
---|
958 | fill: #f0f0f0; |
---|
959 | stroke: #101010; |
---|
960 | } |
---|
961 | |
---|
962 | .landuse-raceway-disused { |
---|
963 | stroke-width: 0.3px; |
---|
964 | stroke-linecap: butt; |
---|
965 | stroke-linejoin: round; |
---|
966 | fill: #f7f7f7; |
---|
967 | stroke: #808080; |
---|
968 | stroke-dasharray: 1px, 1px; |
---|
969 | } |
---|
970 | |
---|
971 | .landuse-raceway-dismantled { |
---|
972 | stroke-width: 0.3px; |
---|
973 | stroke-linecap: butt; |
---|
974 | stroke-linejoin: round; |
---|
975 | fill: #fbfbfb; |
---|
976 | stroke: #808080; |
---|
977 | stroke-dasharray: 0.3px, 1.7px; |
---|
978 | opacity: 0.5; |
---|
979 | } |
---|
980 | |
---|
981 | /* Tourism */ |
---|
982 | .tourism-attraction { |
---|
983 | fill: #f2caea; |
---|
984 | stroke: #f124cb; |
---|
985 | stroke-width: 0px; |
---|
986 | } |
---|
987 | |
---|
988 | /* Building */ |
---|
989 | .building { |
---|
990 | fill: #dddddd; |
---|
991 | stroke: #cccccc; |
---|
992 | stroke-width: 0.2px; |
---|
993 | } |
---|
994 | |
---|
995 | .building-block { |
---|
996 | fill: #F3D6B6; |
---|
997 | stroke: #6a5a8e; |
---|
998 | stroke-width: 0.2px; |
---|
999 | } |
---|
1000 | |
---|
1001 | .building-residential { |
---|
1002 | fill: #c95e2a; |
---|
1003 | stroke: #80290a; |
---|
1004 | stroke-width: 0.2px; |
---|
1005 | } |
---|
1006 | |
---|
1007 | |
---|
1008 | /* Map decoration */ |
---|
1009 | .map-grid-line { |
---|
1010 | fill: none; |
---|
1011 | stroke: #8080ff; |
---|
1012 | stroke-width: 0.1px; |
---|
1013 | stroke-opacity: 0.5; |
---|
1014 | } |
---|
1015 | |
---|
1016 | .map-border-casing { |
---|
1017 | fill: none; |
---|
1018 | stroke: #8080ff; |
---|
1019 | stroke-width: 3px; |
---|
1020 | stroke-miterlimit: 4; |
---|
1021 | stroke-dasharray: none; |
---|
1022 | stroke-opacity: 1; |
---|
1023 | stroke-linecap: round; |
---|
1024 | } |
---|
1025 | |
---|
1026 | .map-border-core { |
---|
1027 | fill: none; |
---|
1028 | fill-opacity: 1; |
---|
1029 | fill-rule: nonzero; |
---|
1030 | stroke: #ffffff; |
---|
1031 | stroke-width: 2px; |
---|
1032 | stroke-miterlimit: 0; |
---|
1033 | stroke-dashoffset: -0.5px; |
---|
1034 | stroke-opacity: 1; |
---|
1035 | } |
---|
1036 | |
---|
1037 | .map-scale-casing { |
---|
1038 | fill: none; |
---|
1039 | stroke: #8080ff; |
---|
1040 | stroke-width: 4px; |
---|
1041 | stroke-linecap: butt; |
---|
1042 | } |
---|
1043 | |
---|
1044 | .map-scale-core { |
---|
1045 | fill: none; |
---|
1046 | stroke: #ffffff; |
---|
1047 | stroke-width: 3px; |
---|
1048 | stroke-linecap: butt; |
---|
1049 | } |
---|
1050 | |
---|
1051 | .map-scale-bookend { |
---|
1052 | fill: none; |
---|
1053 | stroke: #8080ff; |
---|
1054 | stroke-width: 1px; |
---|
1055 | stroke-linecap: butt; |
---|
1056 | } |
---|
1057 | |
---|
1058 | .map-scale-caption { |
---|
1059 | font-family: "DejaVu Sans",sans-serif; |
---|
1060 | font-size: 10px; |
---|
1061 | fill: #8080ff; |
---|
1062 | } |
---|
1063 | |
---|
1064 | <!-- map background must be the same for all zooms or else empty tile detection will fail --> |
---|
1065 | .map-background { |
---|
1066 | fill: #f8f8f8; |
---|
1067 | stroke: none; |
---|
1068 | } |
---|
1069 | |
---|
1070 | .map-title { |
---|
1071 | font-family: "DejaVu Sans",sans-serif; |
---|
1072 | font-size: 20px; |
---|
1073 | text-anchor: middle; |
---|
1074 | fill: black; |
---|
1075 | } |
---|
1076 | |
---|
1077 | .map-title-background { |
---|
1078 | fill: white; |
---|
1079 | } |
---|
1080 | |
---|
1081 | .map-marginalia-background { |
---|
1082 | fill: white; |
---|
1083 | } |
---|
1084 | </style> |
---|
1085 | |
---|
1086 | <svg:symbol |
---|
1087 | id="airport" |
---|
1088 | viewBox="0 0 10 10" |
---|
1089 | fill="black" |
---|
1090 | fill-opacity="1" |
---|
1091 | fill-rule="evenodd" |
---|
1092 | stroke="none"> |
---|
1093 | <svg:path d="M 9.2,5 C 9.2,4.5 9.8,3.2 10,3 L 9,3 L 8,4 L 5.5,4 L 8,0 L 6,0 L 3,4 C 2,4 1,4.2 0.5,4.5 C 0,5 0,5 0.5,5.5 C 1,5.8 2,6 3,6 L 6,10 L 8,10 L 5.5,6 L 7.8,6 L 9,7 L 10,7 C 9.8,6.8 9.2,5.5 9.2,5 z " /> |
---|
1094 | </svg:symbol> |
---|
1095 | |
---|
1096 | </defs> |
---|
1097 | </rules> |
---|