UserGuidelines/GIS/Data: gadm_v1_lev1_overlay_sld.xml

File gadm_v1_lev1_overlay_sld.xml, 12.0 KB (added by Fran Boon, 13 years ago)

SLD for GADM L1 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 <PolygonSymbolizer>
37 <Stroke>
38 <CssParameter name="stroke">#333333</CssParameter>
39 <CssParameter name="stroke-width">0.1</CssParameter>
40 <CssParameter name="stroke-opacity">0.4</CssParameter>
41 </Stroke>
42 </PolygonSymbolizer>
43 </Rule>
44 <Rule>
45 <Name>Zoom 6</Name>
46 <MinScaleDenominator>5000000</MinScaleDenominator>
47 <MaxScaleDenominator>10000000</MaxScaleDenominator>
48 <PolygonSymbolizer>
49 <Stroke>
50 <CssParameter name="stroke">#333333</CssParameter>
51 <CssParameter name="stroke-width">0.2</CssParameter>
52 <CssParameter name="stroke-opacity">0.5</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_1</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">normal</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">#8B2E61</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 7</Name>
91 <MinScaleDenominator>2500000</MinScaleDenominator>
92 <MaxScaleDenominator>5000000</MaxScaleDenominator>
93 <PolygonSymbolizer>
94 <Stroke>
95 <CssParameter name="stroke">#333333</CssParameter>
96 <CssParameter name="stroke-width">0.3</CssParameter>
97 <CssParameter name="stroke-opacity">0.6</CssParameter>
98 </Stroke>
99 </PolygonSymbolizer>
100 <TextSymbolizer>
101 <Geometry>
102 <ogc:Function name="centroid">
103 <ogc:PropertyName>the_geom</ogc:PropertyName>
104 </ogc:Function>
105 </Geometry>
106 <Label>
107 <ogc:PropertyName>name_1</ogc:PropertyName>
108 </Label>
109 <Font>
110 <CssParameter name="font-family">Arial</CssParameter>
111 <CssParameter name="font-size">20</CssParameter>
112 <CssParameter name="font-style">normal</CssParameter>
113 </Font>
114 <LabelPlacement>
115 <PointPlacement>
116 <AnchorPoint>
117 <AnchorPointX>0.5</AnchorPointX>
118 <AnchorPointY>0.5</AnchorPointY>
119 </AnchorPoint>
120 </PointPlacement>
121 </LabelPlacement>
122 <Fill>
123 <CssParameter name="fill">#8B2E61</CssParameter>
124 </Fill>
125 <Priority>
126 <ogc:PropertyName>shape_area</ogc:PropertyName>
127 </Priority>
128 <VendorOption name="autoWrap">100</VendorOption>
129
130 <VendorOption name="spaceAround">10</VendorOption>
131 <VendorOption name="polygonAlign">mbr</VendorOption>
132 <VendorOption name="group">yes</VendorOption>
133 </TextSymbolizer>
134 </Rule>
135 <Rule>
136 <Name>Zoom 8</Name>
137 <MinScaleDenominator>2000000</MinScaleDenominator>
138 <MaxScaleDenominator>2500000</MaxScaleDenominator>
139 <PolygonSymbolizer>
140 <Stroke>
141 <CssParameter name="stroke">#333333</CssParameter>
142 <CssParameter name="stroke-width">0.4</CssParameter>
143 <CssParameter name="stroke-opacity">0.7</CssParameter>
144 </Stroke>
145 </PolygonSymbolizer>
146 <TextSymbolizer>
147 <Geometry>
148 <ogc:Function name="centroid">
149 <ogc:PropertyName>the_geom</ogc:PropertyName>
150 </ogc:Function>
151 </Geometry>
152 <Label>
153 <ogc:PropertyName>name_1</ogc:PropertyName>
154 </Label>
155 <Font>
156 <CssParameter name="font-family">Arial</CssParameter>
157 <CssParameter name="font-size">30</CssParameter>
158 <CssParameter name="font-style">normal</CssParameter>
159 </Font>
160 <LabelPlacement>
161 <PointPlacement>
162 <AnchorPoint>
163 <AnchorPointX>0.5</AnchorPointX>
164 <AnchorPointY>0.5</AnchorPointY>
165 </AnchorPoint>
166 </PointPlacement>
167 </LabelPlacement>
168 <Fill>
169 <CssParameter name="fill">#8B2E61</CssParameter>
170 </Fill>
171 <Priority>
172 <ogc:PropertyName>shape_area</ogc:PropertyName>
173 </Priority>
174 <VendorOption name="autoWrap">100</VendorOption>
175 <VendorOption name="spaceAround">10</VendorOption>
176 <VendorOption name="polygonAlign">mbr</VendorOption>
177 <VendorOption name="group">yes</VendorOption>
178 </TextSymbolizer>
179 </Rule>
180 <Rule>
181 <Name>Zoom 9</Name>
182 <MinScaleDenominator>1000000</MinScaleDenominator>
183 <MaxScaleDenominator>2000000</MaxScaleDenominator>
184 <PolygonSymbolizer>
185 <Stroke>
186 <CssParameter name="stroke">#333333</CssParameter>
187 <CssParameter name="stroke-width">0.5</CssParameter>
188 <CssParameter name="stroke-opacity">0.8</CssParameter>
189 </Stroke>
190 </PolygonSymbolizer>
191 <TextSymbolizer>
192 <Geometry>
193 <ogc:Function name="centroid">
194 <ogc:PropertyName>the_geom</ogc:PropertyName>
195 </ogc:Function>
196 </Geometry>
197 <Label>
198 <ogc:PropertyName>name_1</ogc:PropertyName>
199 </Label>
200 <Font>
201 <CssParameter name="font-family">Arial</CssParameter>
202 <CssParameter name="font-size">40</CssParameter>
203 <CssParameter name="font-style">normal</CssParameter>
204 </Font>
205 <LabelPlacement>
206 <PointPlacement>
207 <AnchorPoint>
208 <AnchorPointX>0.5</AnchorPointX>
209 <AnchorPointY>0.5</AnchorPointY>
210 </AnchorPoint>
211 </PointPlacement>
212 </LabelPlacement>
213 <Fill>
214 <CssParameter name="fill">#8B2E61</CssParameter>
215 </Fill>
216 <Priority>
217 <ogc:PropertyName>shape_area</ogc:PropertyName>
218 </Priority>
219 <VendorOption name="autoWrap">100</VendorOption>
220 <VendorOption name="spaceAround">10</VendorOption>
221 <VendorOption name="polygonAlign">mbr</VendorOption>
222 <VendorOption name="group">yes</VendorOption>
223 </TextSymbolizer>
224 </Rule>
225 <Rule>
226 <Name>Zoom 10</Name>
227 <MinScaleDenominator>500000</MinScaleDenominator>
228 <MaxScaleDenominator>1000000</MaxScaleDenominator>
229 <PolygonSymbolizer>
230 <Stroke>
231 <CssParameter name="stroke">#333333</CssParameter>
232 <CssParameter name="stroke-width">0.6</CssParameter>
233 <CssParameter name="stroke-opacity">0.9</CssParameter>
234 </Stroke>
235 </PolygonSymbolizer>
236 <TextSymbolizer>
237 <Geometry>
238 <ogc:Function name="centroid">
239 <ogc:PropertyName>the_geom</ogc:PropertyName>
240 </ogc:Function>
241 </Geometry>
242 <Label>
243 <ogc:PropertyName>name_1</ogc:PropertyName>
244 </Label>
245 <Font>
246 <CssParameter name="font-family">Arial</CssParameter>
247 <CssParameter name="font-size">60</CssParameter>
248 <CssParameter name="font-style">normal</CssParameter>
249 </Font>
250 <LabelPlacement>
251 <PointPlacement>
252 <AnchorPoint>
253 <AnchorPointX>0.5</AnchorPointX>
254 <AnchorPointY>0.5</AnchorPointY>
255 </AnchorPoint>
256 </PointPlacement>
257 </LabelPlacement>
258 <Fill>
259 <CssParameter name="fill">#8B2E61</CssParameter>
260 </Fill>
261 <Priority>
262 <ogc:PropertyName>shape_area</ogc:PropertyName>
263 </Priority>
264 <VendorOption name="autoWrap">100</VendorOption>
265 <VendorOption name="spaceAround">10</VendorOption>
266 <VendorOption name="polygonAlign">mbr</VendorOption>
267 <VendorOption name="group">yes</VendorOption>
268 </TextSymbolizer>
269 </Rule>
270 <Rule>
271 <Name>Zoom 11</Name>
272 <MinScaleDenominator>250000</MinScaleDenominator>
273 <MaxScaleDenominator>500000</MaxScaleDenominator>
274 <PolygonSymbolizer>
275 <Stroke>
276 <CssParameter name="stroke">#333333</CssParameter>
277 <CssParameter name="stroke-width">0.8</CssParameter>
278 </Stroke>
279 </PolygonSymbolizer>
280 </Rule>
281 <Rule>
282 <Name>Zoom 12</Name>
283 <MinScaleDenominator>100000</MinScaleDenominator>
284 <MaxScaleDenominator>250000</MaxScaleDenominator>
285 <PolygonSymbolizer>
286 <Stroke>
287 <CssParameter name="stroke">#333333</CssParameter>
288 <CssParameter name="stroke-width">1</CssParameter>
289 </Stroke>
290 </PolygonSymbolizer>
291 </Rule>
292 <Rule>
293 <Name>Zoom 13</Name>
294 <MinScaleDenominator>50000</MinScaleDenominator>
295 <MaxScaleDenominator>100000</MaxScaleDenominator>
296 <PolygonSymbolizer>
297 <Stroke>
298 <CssParameter name="stroke">#333333</CssParameter>
299 <CssParameter name="stroke-width">1.1</CssParameter>
300 </Stroke>
301 </PolygonSymbolizer>
302 </Rule>
303 <Rule>
304 <Name>Zooms 14-22</Name>
305 <MaxScaleDenominator>50000</MaxScaleDenominator>
306 <PolygonSymbolizer>
307 <Stroke>
308 <CssParameter name="stroke">#333333</CssParameter>
309 <CssParameter name="stroke-width">1.2</CssParameter>
310 </Stroke>
311 </PolygonSymbolizer>
312 </Rule>
313 </FeatureTypeStyle>
314 </UserStyle>
315 </NamedLayer>
316</StyledLayerDescriptor>