1 |
3032
|
perry
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2 |
|
|
<StyledLayerDescriptor version="1.0.0" xsi:schemaLocation="http://www.opengis.net/sld StyledLayerDescriptor.xsd" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
3 |
|
|
<!-- a named layer is the basic building block of an sld document -->
|
4 |
|
|
<NamedLayer>
|
5 |
|
|
<Name>A Test Layer</Name>
|
6 |
|
|
|
7 |
|
|
<!-- with in a layer you have Named Styles -->
|
8 |
|
|
<UserStyle>
|
9 |
|
|
<!-- again they have names, titles and abstracts -->
|
10 |
|
|
<Name>polyshp</Name>
|
11 |
|
|
<!-- FeatureTypeStyles describe how to render different features -->
|
12 |
|
|
<!-- a feature type for polygons -->
|
13 |
|
|
<FeatureTypeStyle>
|
14 |
|
|
<Rule>
|
15 |
|
|
<!-- like a linesymbolizer but with a fill too -->
|
16 |
|
|
<PolygonSymbolizer>
|
17 |
|
|
<Fill>
|
18 |
|
|
<!-- CssParameters allowed are fill (the color) and fill-opacity -->
|
19 |
|
|
<CssParameter name="fill">#66FF66</CssParameter>
|
20 |
|
|
</Fill>
|
21 |
|
|
<Stroke/>
|
22 |
|
|
|
23 |
|
|
</PolygonSymbolizer>
|
24 |
|
|
</Rule>
|
25 |
|
|
</FeatureTypeStyle>
|
26 |
|
|
</UserStyle>
|
27 |
|
|
</NamedLayer>
|
28 |
|
|
</StyledLayerDescriptor>
|