sld:Rule
A Rule is used to attach property/scale conditions to and group the individual symbols used for rendering.
Element information
Namespace: http://niem.gov/niem/external/ogc-sld/1.0.20/dhs-gmo/1.0.0
Schema document: external/ogc-sld/1.0.20/dhs-gmo/1.0.0/sld.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Sequence [1..1]
- sld:Name [0..1]
- sld:Description [0..1] A "Description" gives human-readable descriptive information for the object it is included within.
- sld:LegendGraphic [0..1]
- Choice [0..1]
- sld:MinScaleDenominator [0..1]
- sld:MaxScaleDenominator [0..1]
- Choice [1..*]
- sld:LineSymbol A LineSymbol is used to render a "stroke" along a linear geometry.
- sld:PolygonSymbol A "PolygonSymbol" specifies the rendering of a polygon or area geometry, including its interior fill and border stroke.
- sld:PointSymbol A "PointSymbol" specifies the rendering of a "graphic symbol" at a point.
- sld:TextSymbol A "TextSymbol" is used to render text labels according to various graphical parameters.
- sld:RasterSymbol A "RasterSymbol" is used to specify the rendering of raster/matrix-coverage data (e.g., satellite images, DEMs).
- sld:MappedColorSymbol A "MappedColorSymbol" is used to specify the mapping of colors to ranges of values of a control variable/expression.
from subst. group sld:Symbol
Attributes
None
Used in
- Anonymous type of element sld:FeatureStyle
Sample instance
<sld:Rule> <sld:Name>string</sld:Name> <sld:Description> <sld:Title>string</sld:Title> <sld:Abstract>string</sld:Abstract> </sld:Description> <sld:LegendGraphic> <sld:Graphic> <sld:ExternalGraphic>... </sld:ExternalGraphic> <sld:Opacity>Any text, intermingled with:... </sld:Opacity> <sld:Size>Any text, intermingled with:... </sld:Size> <sld:Rotation>Any text, intermingled with:... </sld:Rotation> </sld:Graphic> </sld:LegendGraphic> <ogc:Filter> <ogc:Equals> <ogc:PropertyName/> <gml:Point>... </gml:Point> </ogc:Equals> </ogc:Filter> <sld:MinScaleDenominator>1.0</sld:MinScaleDenominator> <sld:MaxScaleDenominator>1.0</sld:MaxScaleDenominator> <sld:LineSymbol> <sld:Name>string</sld:Name> <sld:Description> <sld:Title>string</sld:Title> <sld:Abstract>string</sld:Abstract> </sld:Description> <sld:BaseSymbol> <sld:OnlineResource/> </sld:BaseSymbol> <sld:Geometry> <ogc:PropertyName/> </sld:Geometry> <sld:Stroke> <sld:GraphicFill>... </sld:GraphicFill> <sld:SvgParameter name="string">Any text, intermingled with:... </sld:SvgParameter> </sld:Stroke> </sld:LineSymbol> </sld:Rule>