UserGuidelines/GIS/Data: gadm_v1_lev0_overlay_sld.xml

File gadm_v1_lev0_overlay_sld.xml, 12.5 KB (added by Fran Boon, 10 years ago)

SLD for GADM L0 Overlay

Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<StyledLayerDescriptor version="1.0.0"
3 xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd"
4 xmlns="http://www.opengis.net/sld"
5 xmlns:ogc="http://www.opengis.net/ogc"
6 xmlns:xlink="http://www.w3.org/1999/xlink"
7 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
8 <NamedLayer>
9 <Name>L0</Name>
10 <UserStyle>
11 <Title>L0</Title>
12 <FeatureTypeStyle>
13 <Rule>
14 <Name>Zoom 1</Name>
15 <MinScaleDenominator>250000000</MinScaleDenominator>
16 <PolygonSymbolizer>
17 <Stroke>
18 <CssParameter name="stroke">#000000</CssParameter>
19 <CssParameter name="stroke-width">0.1</CssParameter>
20 </Stroke>
21 </PolygonSymbolizer>
22 </Rule>
23 <Rule>
24 <Name>Zoom 2</Name>
25 <MinScaleDenominator>100000000</MinScaleDenominator>
26 <MaxScaleDenominator>250000000</MaxScaleDenominator>
27 <PolygonSymbolizer>
28 <Stroke>
29 <CssParameter name="stroke">#000000</CssParameter>
30 <CssParameter name="stroke-width">0.2</CssParameter>
31 </Stroke>
32 </PolygonSymbolizer>
33 </Rule>
34 <Rule>
35 <Name>Zoom 3</Name>
36 <MinScaleDenominator>50000000</MinScaleDenominator>
37 <MaxScaleDenominator>100000000</MaxScaleDenominator>
38 <PolygonSymbolizer>
39 <Stroke>
40 <CssParameter name="stroke">#000000</CssParameter>
41 <CssParameter name="stroke-width">0.3</CssParameter>
42 </Stroke>
43 </PolygonSymbolizer>
44 </Rule>
45 <Rule>
46 <Name>Zoom 4</Name>
47 <MinScaleDenominator>25000000</MinScaleDenominator>
48 <MaxScaleDenominator>50000000</MaxScaleDenominator>
49 <PolygonSymbolizer>
50 <Stroke>
51 <CssParameter name="stroke">#000000</CssParameter>
52 <CssParameter name="stroke-width">0.4</CssParameter>
53 </Stroke>
54 </PolygonSymbolizer>
55 <TextSymbolizer>
56 <Geometry>
57 <ogc:Function name="centroid">
58 <ogc:PropertyName>the_geom</ogc:PropertyName>
59 </ogc:Function>
60 </Geometry>
61 <Label>
62 <ogc:PropertyName>name_iso</ogc:PropertyName>
63 </Label>
64 <Font>
65 <CssParameter name="font-family">Arial</CssParameter>
66 <CssParameter name="font-size">14</CssParameter>
67 <CssParameter name="font-style">bold</CssParameter>
68 </Font>
69 <LabelPlacement>
70 <PointPlacement>
71 <AnchorPoint>
72 <AnchorPointX>0.5</AnchorPointX>
73 <AnchorPointY>0.5</AnchorPointY>
74 </AnchorPoint>
75 </PointPlacement>
76 </LabelPlacement>
77 <Fill>
78 <CssParameter name="fill">#8B2E80</CssParameter>
79 </Fill>
80 <Priority>
81 <ogc:PropertyName>shape_area</ogc:PropertyName>
82 </Priority>
83 <VendorOption name="autoWrap">100</VendorOption>
84 <VendorOption name="spaceAround">10</VendorOption>
85 <VendorOption name="polygonAlign">mbr</VendorOption>
86 <VendorOption name="group">yes</VendorOption>
87 </TextSymbolizer>
88 </Rule>
89 <Rule>
90 <Name>Zoom 5</Name>
91 <MinScaleDenominator>10000000</MinScaleDenominator>
92 <MaxScaleDenominator>25000000</MaxScaleDenominator>
93 <PolygonSymbolizer>
94 <Stroke>
95 <CssParameter name="stroke">#000000</CssParameter>
96 <CssParameter name="stroke-width">0.5</CssParameter>
97 </Stroke>
98 </PolygonSymbolizer>
99 <TextSymbolizer>
100 <Geometry>
101 <ogc:Function name="centroid">
102 <ogc:PropertyName>the_geom</ogc:PropertyName>
103 </ogc:Function>
104 </Geometry>
105 <Label>
106 <ogc:PropertyName>name_iso</ogc:PropertyName>
107 </Label>
108 <Font>
109 <CssParameter name="font-family">Arial</CssParameter>
110 <CssParameter name="font-size">20</CssParameter>
111 <CssParameter name="font-style">bold</CssParameter>
112 </Font>
113 <LabelPlacement>
114 <PointPlacement>
115 <AnchorPoint>
116 <AnchorPointX>0.5</AnchorPointX>
117 <AnchorPointY>0.5</AnchorPointY>
118 </AnchorPoint>
119 </PointPlacement>
120 </LabelPlacement>
121 <Fill>
122 <CssParameter name="fill">#8B2E80</CssParameter>
123 </Fill>
124 <Priority>
125 <ogc:PropertyName>shape_area</ogc:PropertyName>
126 </Priority>
127 <VendorOption name="autoWrap">100</VendorOption>
128 <VendorOption name="spaceAround">10</VendorOption>
129 <VendorOption name="polygonAlign">mbr</VendorOption>
130 <VendorOption name="group">yes</VendorOption>
131 </TextSymbolizer>
132 </Rule>
133 <Rule>
134 <Name>Zoom 6</Name>
135 <MinScaleDenominator>5000000</MinScaleDenominator>
136 <MaxScaleDenominator>10000000</MaxScaleDenominator>
137 <PolygonSymbolizer>
138 <Stroke>
139 <CssParameter name="stroke">#000000</CssParameter>
140 <CssParameter name="stroke-width">0.6</CssParameter>
141 </Stroke>
142 </PolygonSymbolizer>
143 <TextSymbolizer>
144 <Geometry>
145 <ogc:Function name="centroid">
146 <ogc:PropertyName>the_geom</ogc:PropertyName>
147 </ogc:Function>
148 </Geometry>
149 <Label>
150 <ogc:PropertyName>name_iso</ogc:PropertyName>
151 </Label>
152 <Font>
153 <CssParameter name="font-family">Arial</CssParameter>
154 <CssParameter name="font-size">30</CssParameter>
155 <CssParameter name="font-style">bold</CssParameter>
156 </Font>
157 <LabelPlacement>
158 <PointPlacement>
159 <AnchorPoint>
160 <AnchorPointX>0.5</AnchorPointX>
161 <AnchorPointY>0.5</AnchorPointY>
162 </AnchorPoint>
163 </PointPlacement>
164 </LabelPlacement>
165 <Fill>
166 <CssParameter name="fill">#8B2E80</CssParameter>
167 </Fill>
168 <Priority>
169 <ogc:PropertyName>shape_area</ogc:PropertyName>
170 </Priority>
171 <VendorOption name="autoWrap">100</VendorOption>
172 <VendorOption name="spaceAround">10</VendorOption>
173 <VendorOption name="polygonAlign">mbr</VendorOption>
174 <VendorOption name="group">yes</VendorOption>
175 </TextSymbolizer>
176 </Rule>
177 <Rule>
178 <Name>Zoom 7</Name>
179 <MinScaleDenominator>2500000</MinScaleDenominator>
180 <MaxScaleDenominator>5000000</MaxScaleDenominator>
181 <PolygonSymbolizer>
182 <Stroke>
183 <CssParameter name="stroke">#000000</CssParameter>
184 <CssParameter name="stroke-width">0.7</CssParameter>
185 </Stroke>
186 </PolygonSymbolizer>
187 <TextSymbolizer>
188 <Geometry>
189 <ogc:Function name="centroid">
190 <ogc:PropertyName>the_geom</ogc:PropertyName>
191 </ogc:Function>
192 </Geometry>
193 <Label>
194 <ogc:PropertyName>name_iso</ogc:PropertyName>
195 </Label>
196 <Font>
197 <CssParameter name="font-family">Arial</CssParameter>
198 <CssParameter name="font-size">40</CssParameter>
199 <CssParameter name="font-style">bold</CssParameter>
200 </Font>
201 <LabelPlacement>
202 <PointPlacement>
203 <AnchorPoint>
204 <AnchorPointX>0.5</AnchorPointX>
205 <AnchorPointY>0.5</AnchorPointY>
206 </AnchorPoint>
207 </PointPlacement>
208 </LabelPlacement>
209 <Fill>
210 <CssParameter name="fill">#8B2E80</CssParameter>
211 </Fill>
212 <Priority>
213 <ogc:PropertyName>shape_area</ogc:PropertyName>
214 </Priority>
215 <VendorOption name="autoWrap">100</VendorOption>
216 <VendorOption name="spaceAround">10</VendorOption>
217 <VendorOption name="polygonAlign">mbr</VendorOption>
218 <VendorOption name="group">yes</VendorOption>
219 </TextSymbolizer>
220 </Rule>
221 <Rule>
222 <Name>Zoom 8</Name>
223 <MinScaleDenominator>2000000</MinScaleDenominator>
224 <MaxScaleDenominator>2500000</MaxScaleDenominator>
225 <PolygonSymbolizer>
226 <Stroke>
227 <CssParameter name="stroke">#000000</CssParameter>
228 <CssParameter name="stroke-width">0.8</CssParameter>
229 </Stroke>
230 </PolygonSymbolizer>
231 <TextSymbolizer>
232 <Geometry>
233 <ogc:Function name="centroid">
234 <ogc:PropertyName>the_geom</ogc:PropertyName>
235 </ogc:Function>
236 </Geometry>
237 <Label>
238 <ogc:PropertyName>name_iso</ogc:PropertyName>
239 </Label>
240 <Font>
241 <CssParameter name="font-family">Arial</CssParameter>
242 <CssParameter name="font-size">60</CssParameter>
243 <CssParameter name="font-style">bold</CssParameter>
244 </Font>
245 <LabelPlacement>
246 <PointPlacement>
247 <AnchorPoint>
248 <AnchorPointX>0.5</AnchorPointX>
249 <AnchorPointY>0.5</AnchorPointY>
250 </AnchorPoint>
251 </PointPlacement>
252 </LabelPlacement>
253 <Fill>
254 <CssParameter name="fill">#8B2E80</CssParameter>
255 </Fill>
256 <Priority>
257 <ogc:PropertyName>shape_area</ogc:PropertyName>
258 </Priority>
259 <VendorOption name="autoWrap">100</VendorOption>
260 <VendorOption name="spaceAround">10</VendorOption>
261 <VendorOption name="polygonAlign">mbr</VendorOption>
262 <VendorOption name="group">yes</VendorOption>
263 </TextSymbolizer>
264 </Rule>
265 <Rule>
266 <Name>Zoom 9</Name>
267 <MinScaleDenominator>1000000</MinScaleDenominator>
268 <MaxScaleDenominator>2000000</MaxScaleDenominator>
269 <PolygonSymbolizer>
270 <Stroke>
271 <CssParameter name="stroke">#000000</CssParameter>
272 <CssParameter name="stroke-width">0.9</CssParameter>
273 </Stroke>
274 </PolygonSymbolizer>
275 </Rule>
276 <Rule>
277 <Name>Zoom 10</Name>
278 <MinScaleDenominator>500000</MinScaleDenominator>
279 <MaxScaleDenominator>1000000</MaxScaleDenominator>
280 <PolygonSymbolizer>
281 <Stroke>
282 <CssParameter name="stroke">#000000</CssParameter>
283 <CssParameter name="stroke-width">1</CssParameter>
284 </Stroke>
285 </PolygonSymbolizer>
286 </Rule>
287 <Rule>
288 <Name>Zoom 11</Name>
289 <MinScaleDenominator>250000</MinScaleDenominator>
290 <MaxScaleDenominator>500000</MaxScaleDenominator>
291 <PolygonSymbolizer>
292 <Stroke>
293 <CssParameter name="stroke">#00000000</CssParameter>
294 <CssParameter name="stroke-width">1.2</CssParameter>
295 </Stroke>
296 </PolygonSymbolizer>
297 </Rule>
298 <Rule>
299 <Name>Zoom 12</Name>
300 <MinScaleDenominator>100000</MinScaleDenominator>
301 <MaxScaleDenominator>250000</MaxScaleDenominator>
302 <PolygonSymbolizer>
303 <Stroke>
304 <CssParameter name="stroke">#000000</CssParameter>
305 <CssParameter name="stroke-width">1.4</CssParameter>
306 </Stroke>
307 </PolygonSymbolizer>
308 </Rule>
309 <Rule>
310 <Name>Zoom 13</Name>
311 <MinScaleDenominator>50000</MinScaleDenominator>
312 <MaxScaleDenominator>100000</MaxScaleDenominator>
313 <PolygonSymbolizer>
314 <Stroke>
315 <CssParameter name="stroke">#000000</CssParameter>
316 <CssParameter name="stroke-width">1.6</CssParameter>
317 </Stroke>
318 </PolygonSymbolizer>
319 </Rule>
320 <Rule>
321 <Name>Zooms 14-22</Name>
322 <MaxScaleDenominator>50000</MaxScaleDenominator>
323 <PolygonSymbolizer>
324 <Stroke>
325 <CssParameter name="stroke">#000000</CssParameter>
326 <CssParameter name="stroke-width">1.8</CssParameter>
327 </Stroke>
328 </PolygonSymbolizer>
329 </Rule>
330 </FeatureTypeStyle>
331 </UserStyle>
332 </NamedLayer>
333</StyledLayerDescriptor>