sld:StyledLayerDescriptor
A StyledLayerDescriptor is a sequence of styled layers, represented at the first level by NamedLayer and UserLayer elements.
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:EnvironmentVariables [0..1] An "EnvironmentVariables" element includes an XML blob which can be used to declare the values to use for global environment variables during the execution of the styling operations. These variables may be refered to in styles and symbols in the same way as feature properties.
- sld:UseSLDLibrary [0..*] The UseSLDLibrary tag specifies that an external SLD document should be used as a "library" of named layers and styles to augment the set of named layers and styles that are available for use inside of a WMS. In the event of name collisions, the SLD library takes precedence over the ones internal to the WMS. Any number of libraries may be specified in an SLD and each successive library takes precedence over the former ones in the case of name collisions.
- Choice [0..*]
- sld:NamedLayer A NamedLayer is a layer of data that has a name advertised by a WMS.
- sld:UserLayer A UserLayer allows a user-defined layer to be built from WFS and WCS data.
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
version | [1..1] | sld:VersionType |
Used in
- Type context:SLDType (Element context:SLD)
Sample instance
<sld:StyledLayerDescriptor version="1.0.20"> <sld:Name>string</sld:Name> <sld:Description> <sld:Title>string</sld:Title> <sld:Abstract>string</sld:Abstract> </sld:Description> <sld:EnvironmentVariables> <!--any element--> </sld:EnvironmentVariables> <sld:UseSLDLibrary> <sld:OnlineResource/> </sld:UseSLDLibrary> <sld:NamedLayer> <sld:Name>string</sld:Name> <sld:Description> <sld:Title>string</sld:Title> <sld:Abstract>string</sld:Abstract> </sld:Description> <sld:LayerFeatureConstraints> <sld:FeatureTypeConstraint>... </sld:FeatureTypeConstraint> </sld:LayerFeatureConstraints> <sld:NamedStyle> <sld:Name>string</sld:Name> <sld:Description>... </sld:Description> </sld:NamedStyle> </sld:NamedLayer> </sld:StyledLayerDescriptor>