[35743] | 1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
| 2 | <?xml-stylesheet type="text/xsl" href="osmarender.xsl"?>
|
---|
| 3 |
|
---|
| 4 | <!-- Render just captions for z3 -->
|
---|
| 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="country" horizontalProximity="2.5" verticalProximity="1.2">
|
---|
| 27 | <text k="name" class='caption-casing country-caption-casing' />
|
---|
| 28 | <text k="name" class='caption-core country-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 | fill: black;
|
---|
| 59 | font-family: "DejaVu Sans";
|
---|
| 60 | font-weight: normal;
|
---|
| 61 | text-anchor: middle;
|
---|
| 62 | stroke-miterlimit: 1.5;
|
---|
| 63 | }
|
---|
| 64 |
|
---|
| 65 | .country-caption-casing { font-size: 18000px; stroke-width: 5000px; }
|
---|
| 66 | .country-caption { font-size: 18000px; }
|
---|
| 67 |
|
---|
| 68 |
|
---|
| 69 |
|
---|
| 70 | /* Map decoration */
|
---|
| 71 | .map-grid-line {
|
---|
| 72 | fill: none;
|
---|
| 73 | stroke: #8080ff;
|
---|
| 74 | stroke-width: 0.1px;
|
---|
| 75 | stroke-opacity: 0.5;
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 | .map-border-casing {
|
---|
| 79 | fill: none;
|
---|
| 80 | stroke: #8080ff;
|
---|
| 81 | stroke-width: 3px;
|
---|
| 82 | stroke-miterlimit: 4;
|
---|
| 83 | stroke-dasharray: none;
|
---|
| 84 | stroke-opacity: 1;
|
---|
| 85 | stroke-linecap: round;
|
---|
| 86 | }
|
---|
| 87 |
|
---|
| 88 | .map-border-core {
|
---|
| 89 | fill: none;
|
---|
| 90 | fill-opacity: 1;
|
---|
| 91 | fill-rule: nonzero;
|
---|
| 92 | stroke: #ffffff;
|
---|
| 93 | stroke-width: 2px;
|
---|
| 94 | stroke-miterlimit: 0;
|
---|
| 95 | stroke-dashoffset: -0.5px;
|
---|
| 96 | stroke-opacity: 1;
|
---|
| 97 | }
|
---|
| 98 |
|
---|
| 99 | .map-scale-casing {
|
---|
| 100 | fill: none;
|
---|
| 101 | stroke: #8080ff;
|
---|
| 102 | stroke-width: 4px;
|
---|
| 103 | stroke-linecap: butt;
|
---|
| 104 | }
|
---|
| 105 |
|
---|
| 106 | .map-scale-core {
|
---|
| 107 | fill: none;
|
---|
| 108 | stroke: #ffffff;
|
---|
| 109 | stroke-width: 3px;
|
---|
| 110 | stroke-linecap: butt;
|
---|
| 111 | }
|
---|
| 112 |
|
---|
| 113 | .map-scale-bookend {
|
---|
| 114 | fill: none;
|
---|
| 115 | stroke: #8080ff;
|
---|
| 116 | stroke-width: 1px;
|
---|
| 117 | stroke-linecap: butt;
|
---|
| 118 | }
|
---|
| 119 |
|
---|
| 120 | .map-scale-caption {
|
---|
| 121 | font-family: "DejaVu Sans",sans-serif;
|
---|
| 122 | font-size: 10px;
|
---|
| 123 | fill: #8080ff;
|
---|
| 124 | }
|
---|
| 125 |
|
---|
| 126 | <!-- map background must be the same for all zooms or else empty tile detection will fail -->
|
---|
| 127 | .map-background {
|
---|
| 128 | fill: #f8f8f8;
|
---|
| 129 | stroke: none;
|
---|
| 130 | }
|
---|
| 131 |
|
---|
| 132 | .map-title {
|
---|
| 133 | font-family: "DejaVu Sans",sans-serif;
|
---|
| 134 | font-size: 20px;
|
---|
| 135 | text-anchor: middle;
|
---|
| 136 | fill: black;
|
---|
| 137 | }
|
---|
| 138 |
|
---|
| 139 | .map-title-background {
|
---|
| 140 | fill: white;
|
---|
| 141 | }
|
---|
| 142 |
|
---|
| 143 | .map-marginalia-background {
|
---|
| 144 | fill: white;
|
---|
| 145 | }
|
---|
| 146 | </style>
|
---|
| 147 |
|
---|
| 148 | </defs>
|
---|
| 149 |
|
---|
| 150 | </rules>
|
---|