1
|
<?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><Name>normal</Name>
|
5
|
<UserStyle>
|
6
|
<!-- again they have names, titles and abstracts -->
|
7
|
|
8
|
<Title>A boring default style</Title>
|
9
|
<Abstract>A sample style that just prints out a black line for everything</Abstract>
|
10
|
<!-- FeatureTypeStyles describe how to render different features -->
|
11
|
<!-- a feature type for polygons -->
|
12
|
<FeatureTypeStyle>
|
13
|
<FeatureTypeName>Feature</FeatureTypeName>
|
14
|
<Rule>
|
15
|
<!-- like a linesymbolizer but with a fill too -->
|
16
|
<PointSymbolizer>
|
17
|
<Graphic>
|
18
|
<Mark>
|
19
|
<WellKnownName>circle</WellKnownName>
|
20
|
<Fill>
|
21
|
<CssParameter name="fill">#ff0000</CssParameter>
|
22
|
</Fill></Mark><Size>7.0</Size></Graphic>
|
23
|
</PointSymbolizer>
|
24
|
</Rule>
|
25
|
</FeatureTypeStyle>
|
26
|
</UserStyle>
|
27
|
</NamedLayer>
|
28
|
</StyledLayerDescriptor>
|
29
|
|