public class TLcdSLDRasterSymbolizer extends ALcdSLDSymbolizer
Modifier and Type | Class and Description |
---|---|
static class |
TLcdSLDRasterSymbolizer.Builder<T>
A builder for SLD raster symbolizers.
|
Constructor and Description |
---|
TLcdSLDRasterSymbolizer()
Empty constructor.
|
TLcdSLDRasterSymbolizer(TLcdDataType aDataType)
Empty constructor.
|
TLcdSLDRasterSymbolizer(TLcdSLDGeometry aGeometry,
TLcdSLDParameterValue aOpacity,
TLcdSLDChannelSelection aChannelSelection,
TLcdSLDOverlapBehavior aOverlapBehavior,
TLcdSLDColorMap aColorMap,
TLcdSLDContrastEnhancement aContrastEnhancement,
TLcdSLDShadedRelief aShadedRelief,
TLcdSLDImageOutline aImageOutline)
Constructor for given parameters.
|
Modifier and Type | Method and Description |
---|---|
TLcdSLDChannelSelection |
getChannelSelection()
Returns the value of the property that maps to the
ChannelSelection element. |
TLcdSLDColorMap |
getColorMap()
Returns the value of the property that maps to the
ColorMap element. |
TLcdSLDContrastEnhancement |
getContrastEnhancement()
Returns the value of the property that maps to the
ContrastEnhancement element. |
TLcdSLDGeometry |
getGeometry()
Returns the value of the property that maps to the
Geometry element. |
TLcdSLDImageOutline |
getImageOutline()
Returns the value of the property that maps to the
ImageOutline element. |
TLcdSLDParameterValue |
getOpacity()
Returns the value of the property that maps to the
Opacity element. |
TLcdSLDOverlapBehavior |
getOverlapBehavior()
Returns the value of the property that maps to the
OverlapBehavior element. |
TLcdSLDShadedRelief |
getShadedRelief()
Returns the value of the property that maps to the
ShadedRelief element. |
List<TLcdSLDVendorOption> |
getVendorOptions()
Returns the value of the property that maps to the
VendorOption element. |
static TLcdSLDRasterSymbolizer.Builder<TLcdSLDRasterSymbolizer> |
newBuilder()
Creates a new builder with the default values.
|
void |
setChannelSelection(TLcdSLDChannelSelection aValue)
Sets the value of the property that maps to the
ChannelSelection element. |
void |
setColorMap(TLcdSLDColorMap aValue)
Sets the value of the property that maps to the
ColorMap element. |
void |
setContrastEnhancement(TLcdSLDContrastEnhancement aValue)
Sets the value of the property that maps to the
ContrastEnhancement element. |
void |
setGeometry(TLcdSLDGeometry aValue)
Sets the value of the property that maps to the
Geometry element. |
void |
setImageOutline(TLcdSLDImageOutline aValue)
Sets the value of the property that maps to the
ImageOutline element. |
void |
setOpacity(TLcdSLDParameterValue aValue)
Sets the value of the property that maps to the
Opacity element. |
void |
setOverlapBehavior(TLcdSLDOverlapBehavior aValue)
Sets the value of the property that maps to the
OverlapBehavior element. |
void |
setShadedRelief(TLcdSLDShadedRelief aValue)
Sets the value of the property that maps to the
ShadedRelief element. |
getDescription, getName, getUom, getVersion, setDescription, setName, setUom, setVersion, toString
clone, clone, getDataType, getValue, getValue, hasValue, hasValue, setValue, setValue
public TLcdSLDRasterSymbolizer()
public TLcdSLDRasterSymbolizer(TLcdSLDGeometry aGeometry, TLcdSLDParameterValue aOpacity, TLcdSLDChannelSelection aChannelSelection, TLcdSLDOverlapBehavior aOverlapBehavior, TLcdSLDColorMap aColorMap, TLcdSLDContrastEnhancement aContrastEnhancement, TLcdSLDShadedRelief aShadedRelief, TLcdSLDImageOutline aImageOutline)
aGeometry
- the given geometry.aOpacity
- the given opacity.aChannelSelection
- the given channel selection.aOverlapBehavior
- the given overlap behaviour.aColorMap
- the given color map.aContrastEnhancement
- the given contrast enhancement.aShadedRelief
- the given shaded relief.aImageOutline
- the given image outline.public TLcdSLDRasterSymbolizer(TLcdDataType aDataType)
public static TLcdSLDRasterSymbolizer.Builder<TLcdSLDRasterSymbolizer> newBuilder()
public TLcdSLDGeometry getGeometry()
Geometry
element.
A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.
GEOMETRY_PROPERTY
property.public void setGeometry(TLcdSLDGeometry aValue)
Geometry
element.
A Geometry gives reference to a (the) geometry property of a feature to be used for rendering. The geometry is optional and may thus be null. If null, the default geometry of an object should be rendered with a stroke. E.g. when a ILcdModel contains ILcdShape objects, the geometry may be null as the object itself is a geometry.
aValue
- the value to set for the GEOMETRY_PROPERTY
property.public TLcdSLDParameterValue getOpacity()
Opacity
element.
The parameter should evaluate to a decimal number between 0 and 1.
OPACITY_PROPERTY
property.public void setOpacity(TLcdSLDParameterValue aValue)
Opacity
element.
The parameter should evaluate to a decimal number between 0 and 1.
aValue
- the value to set for the OPACITY_PROPERTY
property.public TLcdSLDChannelSelection getChannelSelection()
ChannelSelection
element.
"ChannelSelection" specifies the false-color channel selection for a multi-spectral raster source.
CHANNEL_SELECTION_PROPERTY
property.public void setChannelSelection(TLcdSLDChannelSelection aValue)
ChannelSelection
element.
"ChannelSelection" specifies the false-color channel selection for a multi-spectral raster source.
aValue
- the value to set for the CHANNEL_SELECTION_PROPERTY
property.public TLcdSLDOverlapBehavior getOverlapBehavior()
OverlapBehavior
element.
"OverlapBehavior" tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes.
OVERLAP_BEHAVIOR_PROPERTY
property.public void setOverlapBehavior(TLcdSLDOverlapBehavior aValue)
OverlapBehavior
element.
"OverlapBehavior" tells a system how to behave when multiple raster images in a layer overlap each other, for example with satellite-image scenes.
aValue
- the value to set for the OVERLAP_BEHAVIOR_PROPERTY
property.public TLcdSLDColorMap getColorMap()
ColorMap
element.
A "ColorMap" defines either the colors of a pallet-type raster source or the mapping of numeric pixel values to colors.
COLOR_MAP_PROPERTY
property.public void setColorMap(TLcdSLDColorMap aValue)
ColorMap
element.
A "ColorMap" defines either the colors of a pallet-type raster source or the mapping of numeric pixel values to colors.
aValue
- the value to set for the COLOR_MAP_PROPERTY
property.public TLcdSLDContrastEnhancement getContrastEnhancement()
ContrastEnhancement
element.
"ContrastEnhancement" defines the 'stretching' of contrast for a channel of a false-color image or for a whole grey/color image. Contrast enhancement is used to make ground features in images more visible.
CONTRAST_ENHANCEMENT_PROPERTY
property.public void setContrastEnhancement(TLcdSLDContrastEnhancement aValue)
ContrastEnhancement
element.
"ContrastEnhancement" defines the 'stretching' of contrast for a channel of a false-color image or for a whole grey/color image. Contrast enhancement is used to make ground features in images more visible.
aValue
- the value to set for the CONTRAST_ENHANCEMENT_PROPERTY
property.public TLcdSLDShadedRelief getShadedRelief()
ShadedRelief
element.
"ShadedRelief" specifies the application of relief shading (or "hill shading") to a DEM raster to give it somewhat of a three-dimensional effect and to make elevation changes more visible.
SHADED_RELIEF_PROPERTY
property.public void setShadedRelief(TLcdSLDShadedRelief aValue)
ShadedRelief
element.
"ShadedRelief" specifies the application of relief shading (or "hill shading") to a DEM raster to give it somewhat of a three-dimensional effect and to make elevation changes more visible.
aValue
- the value to set for the SHADED_RELIEF_PROPERTY
property.public TLcdSLDImageOutline getImageOutline()
ImageOutline
element.
"ImageOutline" specifies how individual source rasters in a multi-raster set (such as a set of satellite-image scenes) should be outlined to make the individual-image locations visible.
IMAGE_OUTLINE_PROPERTY
property.public void setImageOutline(TLcdSLDImageOutline aValue)
ImageOutline
element.
"ImageOutline" specifies how individual source rasters in a multi-raster set (such as a set of satellite-image scenes) should be outlined to make the individual-image locations visible.
aValue
- the value to set for the IMAGE_OUTLINE_PROPERTY
property.public List<TLcdSLDVendorOption> getVendorOptions()
VendorOption
element.VENDOR_OPTION_PROPERTY
property.