[35743] | 1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
| 2 | <?xml-stylesheet type="text/xsl" href="osmarender.xsl"?>
|
---|
| 3 |
|
---|
| 4 | <!-- Render just captions for z1 -->
|
---|
| 5 |
|
---|
| 6 | <rules
|
---|
| 7 | xmlns:xlink="http://www.w3.org/1999/xlink"
|
---|
| 8 | xmlns:svg="http://www.w3.org/2000/svg"
|
---|
| 9 | data="data.osm"
|
---|
| 10 | svgBaseProfile="full"
|
---|
| 11 | scale="1"
|
---|
| 12 | symbolScale="1"
|
---|
| 13 | minimumMapWidth="1"
|
---|
| 14 | minimumMapHeight="1"
|
---|
| 15 | withOSMLayers="yes"
|
---|
| 16 | withUntaggedSegments="no"
|
---|
| 17 | showScale="no"
|
---|
| 18 | showGrid="no"
|
---|
| 19 | showBorder="no"
|
---|
| 20 | showLicense="no"
|
---|
| 21 | interactive="no">
|
---|
| 22 |
|
---|
| 23 |
|
---|
| 24 | <rule e="node|way" k="osmarender:render" v="~|yes">
|
---|
| 25 |
|
---|
| 26 | <rule e="node" k="place" v="continent">
|
---|
| 27 | <text k="name" class='caption-casing continent-caption-casing' />
|
---|
| 28 | <text k="name" class='caption-core continent-caption' />
|
---|
| 29 | </rule>
|
---|
| 30 |
|
---|
| 31 | </rule> <!-- k="osmarender:render" v="~|yes" -->
|
---|
| 32 |
|
---|
| 33 | <!-- SVG Definitions - markers, symbols etc go here -->
|
---|
| 34 | <defs>
|
---|
| 35 |
|
---|
| 36 | <style id="styles" type="text/css" xmlns="http://www.w3.org/2000/svg">
|
---|
| 37 | /* DO NOT DELETE .untagged-segments - Used by osmarender.xsl */
|
---|
| 38 | .untagged-segments {
|
---|
| 39 | stroke-width: 0.5px;
|
---|
| 40 | stroke-linejoin: miter;
|
---|
| 41 | stroke-linecap: butt;
|
---|
| 42 | stroke: #e0e0e0;
|
---|
| 43 | stroke-dasharray: 0.5,0.5;
|
---|
| 44 | }
|
---|
| 45 |
|
---|
| 46 | .caption-casing {
|
---|
| 47 | fill: white;
|
---|
| 48 | stroke: white;
|
---|
| 49 | font-family: "DejaVu Sans";
|
---|
| 50 | font-weight: normal;
|
---|
| 51 | text-anchor: middle;
|
---|
| 52 | stroke-miterlimit: 1.5;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | .caption-core {
|
---|
| 56 | stroke: white;
|
---|
| 57 | stroke-width: 0px;
|
---|
| 58 | font-family: "DejaVu Sans";
|
---|
| 59 | font-weight: normal;
|
---|
| 60 | text-anchor: middle;
|
---|
| 61 | stroke-miterlimit: 1.5;
|
---|
| 62 | }
|
---|
| 63 |
|
---|
| 64 | .continent-caption-casing { font-size: 100000px; stroke-width: 30000px; }
|
---|
| 65 | .continent-caption { font-size: 100000px; }
|
---|
| 66 |
|
---|
| 67 |
|
---|
| 68 |
|
---|
| 69 | /* Map decoration */
|
---|
| 70 | .map-grid-line {
|
---|
| 71 | fill: none;
|
---|
| 72 | stroke: #8080ff;
|
---|
| 73 | stroke-width: 0.1px;
|
---|
| 74 | stroke-opacity: 0.5;
|
---|
| 75 | }
|
---|
| 76 |
|
---|
| 77 | .map-border-casing {
|
---|
| 78 | fill: none;
|
---|
| 79 | stroke: #8080ff;
|
---|
| 80 | stroke-width: 3px;
|
---|
| 81 | stroke-miterlimit: 4;
|
---|
| 82 | stroke-dasharray: none;
|
---|
| 83 | stroke-opacity: 1;
|
---|
| 84 | stroke-linecap: round;
|
---|
| 85 | }
|
---|
| 86 |
|
---|
| 87 | .map-border-core {
|
---|
| 88 | fill: none;
|
---|
| 89 | fill-opacity: 1;
|
---|
| 90 | fill-rule: nonzero;
|
---|
| 91 | stroke: #ffffff;
|
---|
| 92 | stroke-width: 2px;
|
---|
| 93 | stroke-miterlimit: 0;
|
---|
| 94 | stroke-dashoffset: -0.5px;
|
---|
| 95 | stroke-opacity: 1;
|
---|
| 96 | }
|
---|
| 97 |
|
---|
| 98 | .map-scale-casing {
|
---|
| 99 | fill: none;
|
---|
| 100 | stroke: #8080ff;
|
---|
| 101 | stroke-width: 4px;
|
---|
| 102 | stroke-linecap: butt;
|
---|
| 103 | }
|
---|
| 104 |
|
---|
| 105 | .map-scale-core {
|
---|
| 106 | fill: none;
|
---|
| 107 | stroke: #ffffff;
|
---|
| 108 | stroke-width: 3px;
|
---|
| 109 | stroke-linecap: butt;
|
---|
| 110 | }
|
---|
| 111 |
|
---|
| 112 | .map-scale-bookend {
|
---|
| 113 | fill: none;
|
---|
| 114 | stroke: #8080ff;
|
---|
| 115 | stroke-width: 1px;
|
---|
| 116 | stroke-linecap: butt;
|
---|
| 117 | }
|
---|
| 118 |
|
---|
| 119 | .map-scale-caption {
|
---|
| 120 | font-family: "DejaVu Sans",sans-serif;
|
---|
| 121 | font-size: 10px;
|
---|
| 122 | fill: #8080ff;
|
---|
| 123 | }
|
---|
| 124 |
|
---|
| 125 | <!-- map background must be the same for all zooms or else empty tile detection will fail -->
|
---|
| 126 | .map-background {
|
---|
| 127 | fill: #f8f8f8;
|
---|
| 128 | stroke: none;
|
---|
| 129 | }
|
---|
| 130 |
|
---|
| 131 | .map-title {
|
---|
| 132 | font-family: "DejaVu Sans",sans-serif;
|
---|
| 133 | font-size: 20px;
|
---|
| 134 | text-anchor: middle;
|
---|
| 135 | fill: black;
|
---|
| 136 | }
|
---|
| 137 |
|
---|
| 138 | .map-title-background {
|
---|
| 139 | fill: white;
|
---|
| 140 | }
|
---|
| 141 |
|
---|
| 142 | .map-marginalia-background {
|
---|
| 143 | fill: white;
|
---|
| 144 | }
|
---|
| 145 | </style>
|
---|
| 146 |
|
---|
| 147 | </defs>
|
---|
| 148 |
|
---|
| 149 | </rules>
|
---|