source: osm/applications/editors/josm/oldplugins/osmarender/stylesheets/caption-z0.xml@ 36220

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

readd files directly

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