单一图片渲染:
<?xml version="1.0" encoding="GB2312"?>
<StyledLayerDescriptor
xmlns="http://www.opengis.net/sld"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:gml="http://www.opengis.net/gml" version="1.0.0">
<UserLayer>
<LayerFeatureConstraints>
<FeatureTypeConstraint/>
</LayerFeatureConstraints>
<UserStyle>
<Name>Default Styler</Name>
<IsDefault>1</IsDefault>
<FeatureTypeStyle>
<Name>simple</Name>
<FeatureTypeName>Feature</FeatureTypeName>
<SemanticTypeIdentifier>generic:geometry</SemanticTypeIdentifier>
<SemanticTypeIdentifier>simple</SemanticTypeIdentifier>
<Rule>
<PointSymbolizer>
<Geometry>
<ogc:PropertyName>geom</ogc:PropertyName>
</Geometry>
<Graphic>
<ExternalGraphic>
<OnlineResource xlink:type="simple" xlink:href="waterway/airplane32.png"/>
<Format>image/png</Format>
</ExternalGraphic>
<Rotation>
<ogc:PropertyName>courseoverground</ogc:PropertyName>
</Rotation>
</Graphic>
<Size>30</Size>
</PointSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</UserLayer>
</StyledLayerDescriptor>