sld:MappedColorSymbol
A "MappedColorSymbol" is used to specify the mapping of colors to ranges of values of a control variable/expression.
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:LookupValue [1..1]
- sld:ColorMap [1..1] A "ColorMap" defines either the colors of a pallet-type raster source or the mapping of numeric pixel values to colors.
- sld:MappedColorSubSymbol [1..1] The MappedColorSubSymbol identifies the the symbol to which to apply computed colors. The computed color is used as the 'default color' in the sub-symbol. The "matchTo" attribute tells whether to match the lookup value to the "quantity" or "label" attributes of the 'choropleth' ColorMap.
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:Rule
Substitution hierarchy
- sld:Symbol
- can be substituted with sld:MappedColorSymbol
Sample instance
<sld:MappedColorSymbol> <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:LookupValue>Any text, intermingled with: <ogc:Add> <ogc:Add>... </ogc:Add> </ogc:Add> </sld:LookupValue> <sld:ColorMap> <sld:ColorMapEntry color="string"/> </sld:ColorMap> <sld:MappedColorSubSymbol matchTo="quantity"> <sld:LineSymbol> <sld:Name>string</sld:Name> <sld:Description>... </sld:Description> <sld:BaseSymbol>... </sld:BaseSymbol> <sld:Geometry>... </sld:Geometry> <sld:Stroke>... </sld:Stroke> </sld:LineSymbol> </sld:MappedColorSubSymbol> </sld:MappedColorSymbol>