source: osm/applications/editors/josm/oldplugins/osmarender/stylesheets/caption-z2.xml@ 36358

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

readd files directly

File size: 3.3 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 z2 -->
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
34 <!-- SVG Definitions - markers, symbols etc go here -->
35 <defs>
36
37 <style id="styles" type="text/css" xmlns="http://www.w3.org/2000/svg">
38 /* DO NOT DELETE .untagged-segments - Used by osmarender.xsl */
39 .untagged-segments {
40 stroke-width: 0.5px;
41 stroke-linejoin: miter;
42 stroke-linecap: butt;
43 stroke: #e0e0e0;
44 stroke-dasharray: 0.5,0.5;
45 }
46
47 .caption-casing {
48 fill: white;
49 stroke: white;
50 font-family: "DejaVu Sans";
51 font-weight: normal;
52 text-anchor: middle;
53 stroke-miterlimit: 1.5;
54 }
55
56 .caption-core {
57 stroke: white;
58 stroke-width: 0px;
59 font-family: "DejaVu Sans";
60 font-weight: normal;
61 text-anchor: middle;
62 stroke-miterlimit: 1.5;
63 }
64
65 .continent-caption-casing { font-size: 50000px; stroke-width: 10000px; }
66 .continent-caption { font-size: 50000px; }
67
68 /* Map decoration */
69 .map-grid-line {
70 fill: none;
71 stroke: #8080ff;
72 stroke-width: 0.1px;
73 stroke-opacity: 0.5;
74 }
75
76 .map-border-casing {
77 fill: none;
78 stroke: #8080ff;
79 stroke-width: 3px;
80 stroke-miterlimit: 4;
81 stroke-dasharray: none;
82 stroke-opacity: 1;
83 stroke-linecap: round;
84 }
85
86 .map-border-core {
87 fill: none;
88 fill-opacity: 1;
89 fill-rule: nonzero;
90 stroke: #ffffff;
91 stroke-width: 2px;
92 stroke-miterlimit: 0;
93 stroke-dashoffset: -0.5px;
94 stroke-opacity: 1;
95 }
96
97 <!-- map background must be the same for all zooms or else empty tile detection will fail -->
98 .map-background {
99 fill: #f8f8f8;
100 stroke: none;
101 }
102
103 .map-title {
104 font-family: "DejaVu Sans",sans-serif;
105 font-size: 20px;
106 text-anchor: middle;
107 fill: black;
108 }
109
110 .map-title-background {
111 fill: white;
112 }
113
114 .map-marginalia-background {
115 fill: white;
116 }
117 </style>
118
119 </defs>
120
121</rules>
Note: See TracBrowser for help on using the repository browser.