UserGuidelines/GIS/Data: gadm_v1_lev2_overlay_sld.xml

File gadm_v1_lev2_overlay_sld.xml, 12.4 KB (added by Fran Boon, 10 years ago)

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