123456789101112131415161718192021222324252627282930313233343536373839 |
- <?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 Line</Name>
- <UserStyle>
- <!-- they have names, titles and abstracts -->
-
- <Title>Blue Line</Title>
- <Abstract>A sample style that just prints out a green line</Abstract>
- <!-- FeatureTypeStyles describe how to render different features -->
- <!-- a feature type for lines -->
- <FeatureTypeStyle>
- <!--FeatureTypeName>Feature</FeatureTypeName-->
- <Rule>
- <Name>Rule 1</Name>
- <Title>Blue Line</Title>
- <Abstract>A blue line with a default pixel width</Abstract>
- <!-- like a polygonsymbolizer -->
- <LineSymbolizer>
- <Stroke>
- <CssParameter name="stroke">#0000FF</CssParameter>
- </Stroke>
- </LineSymbolizer>
- </Rule>
- </FeatureTypeStyle>
- </UserStyle>
- </NamedLayer>
- </StyledLayerDescriptor>
|