12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?xml version="1.0" encoding="UTF-8"?>
- <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">
- <!-- a named layer is the basic building block of an sld document -->
- <NamedLayer>
- <Name>Default Polygon</Name>
- <UserStyle>
- <!-- they have names, titles and abstracts -->
-
- <Title>Grey Polygon</Title>
- <Abstract>A sample style that just prints out a transparent red interior with a red outline</Abstract>
- <!-- FeatureTypeStyles describe how to render different features -->
- <!-- a feature type for polygons -->
- <FeatureTypeStyle>
- <!--FeatureTypeName>Feature</FeatureTypeName-->
- <Rule>
- <Name>Rule 1</Name>
- <Title>Grey Polygon</Title>
- <Abstract>opaque grey fill with a black outline 1 pixel in width</Abstract>
- <!-- like a linesymbolizer but with a fill too -->
- <PolygonSymbolizer>
- <Fill>
- <CssParameter name="fill">#AAAAAA</CssParameter>
- </Fill>
- <Stroke>
- <CssParameter name="stroke">#000000</CssParameter>
- <CssParameter name="stroke-width">1</CssParameter>
- </Stroke>
- </PolygonSymbolizer>
- </Rule>
- </FeatureTypeStyle>
- </UserStyle>
- </NamedLayer>
- </StyledLayerDescriptor>
|