sld:LineSymbol
A LineSymbol is used to render a "stroke" along a linear geometry.
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:BaseSymbol [0..1] A "BaseSymbol" defines the default properties of a symbol to be those of an external symbol, which will frequently be inside of an OGC symbol(izer) repository. The symbol properties given in-line override the base-symbol properties.
- sld:Geometry [0..1] A Geometry gives reference to a (the) geometry property of a feature to be used for rendering.
- sld:Stroke [0..1] A "Stroke" specifies the appearance of a linear geometry. It is defined in parallel with SVG strokes. The following SvgParameters may be used: "stroke" (color), "stroke-opacity", "stroke-width", "stroke-linejoin", "stroke-linecap", "stroke-dasharray", and "stroke-dashoffset". Others are not officially supported.
from type sld:SymbolType
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
version | [0..1] | sld:VersionType | from type sld:SymbolType |
Used in
- Anonymous type of element sld:ImageOutline
- Anonymous type of element sld:MappedColorSubSymbol
- Anonymous type of element sld:Rule
Substitution hierarchy
- sld:Symbol
- can be substituted with sld:LineSymbol
Sample instance
<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:Graphic>... </sld:Graphic> </sld:GraphicFill> <sld:SvgParameter name="string">Any text, intermingled with: <ogc:Add>... </ogc:Add> </sld:SvgParameter> </sld:Stroke> </sld:LineSymbol>