Class TLcdSLDCategorize
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.sld.model.functions.TLcdSLDFunction
com.luciad.ogc.sld.model.functions.TLcdSLDCategorize
- All Implemented Interfaces:
ILcdDataObject
,ILcdGenericExpression
,ILcdOGCExpression
,ILcdCloneable
,ILcdDeepCloneable
,Cloneable
The transformation of continuous values to distinct values.
- Since:
- 2012.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Indicates whether a lookup value that is equal to a threshold should be mapped on to thepreceeding
or thesucceeding
value. -
Constructor Summary
ConstructorDescriptionDefault ConstructorTLcdSLDCategorize
(TLcdDataType aType) Default Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addThreshold
(TLcdSLDParameterValue aThreshold, TLcdSLDParameterValue aValue) Adds a threshold and the value that is to be used if the lookup is larger than that threshold, and smaller than the subsequent threshold.Gets the value of the'FirstValue'
property.Gets the value of the'LookupValue'
property.Gets the value of the'Threshold'
property.Gets the value of the'thresholdsBelongTo'
property.getValue()
Gets the value of the'Value'
property.void
setFirstValue
(TLcdSLDParameterValue aValue) Sets the value of the'FirstValue'
property.void
setLookupValue
(TLcdSLDParameterValue aValue) Sets the value of the'LookupValue'
property.void
Sets the value of the'thresholdsBelongTo'
property.Methods inherited from class com.luciad.ogc.sld.model.functions.TLcdSLDFunction
getFallbackValue, setFallbackValue
-
Constructor Details
-
TLcdSLDCategorize
public TLcdSLDCategorize()Default Constructor -
TLcdSLDCategorize
Default Constructor
-
-
Method Details
-
getThresholdsBelongTo
Gets the value of the'thresholdsBelongTo'
property.Indicates whether a lookup value that is equal to a threshold should be mapped on to the
preceeding
or thesucceeding
value.- Returns:
- the value of the
'thresholdsBelongTo'
property.
-
setThresholdsBelongTo
Sets the value of the'thresholdsBelongTo'
property.Indicates whether a lookup value that is equal to a threshold should be mapped on to the
preceeding
or thesucceeding
value.- Parameters:
aValue
- the value to set for the'thresholdsBelongTo'
property.
-
getLookupValue
Gets the value of the'LookupValue'
property.The lookup value is the input to the function, and is usually dependent on the object that is being styled.
- Returns:
- the value of the
'LookupValue'
property.
-
setLookupValue
Sets the value of the'LookupValue'
property.The lookup value is the input to the function, and is usually dependent on the object that is being styled.
- Parameters:
aValue
- the value to set for the'LookupValue'
property.
-
getFirstValue
Gets the value of the'FirstValue'
property.The first value is returned if the lookup value is smaller than the first threshold.
- Returns:
- the value of the
'FirstValue'
property.
-
setFirstValue
Sets the value of the'FirstValue'
property.The first value is returned if the lookup value is smaller than the first threshold.
- Parameters:
aValue
- the value to set for the'FirstValue'
property.
-
getThreshold
Gets the value of the'Threshold'
property.- Returns:
- the value of the
'Threshold'
property.
-
getValue
Gets the value of the'Value'
property.- Returns:
- the value of the
'Value'
property.
-
addThreshold
Adds a threshold and the value that is to be used if the lookup is larger than that threshold, and smaller than the subsequent threshold. UsesetFirstValue(TLcdSLDParameterValue)
to set the value used when the lookup is smaller than the first threshold.Thresholds should be added in increasing order.
- Parameters:
aThreshold
- A threshold, should evaluate to a value that is comparable to the lookup valueaValue
- The value returned when the lookup is larger than aThreshold.
-