org.geotools.filter.visitor
Interface Categorize
- All Superinterfaces:
- org.opengis.filter.expression.Expression, org.opengis.filter.expression.Function
@XmlElement(value="Categorize")
public interface Categorize
- extends org.opengis.filter.expression.Function
Categorization: The transformation of continuous values to distinct values. This is
for example needed to generate choropleth maps from continuous attributes.
Another example would be the stepwise selection of different text heights or line
widths in dependence from such an attribute.
In case the Categorize (or Interpolate) function is used inside a RasterSymbolizer as a
ColorMap, the LookupValue is set to the fixed value “Rasterdata”.
- Version:
- Symbology Encoding Implementation Specification 1.1.0
- Author:
- Johann Sorel (Geomatys)
Fields inherited from interface org.opengis.filter.expression.Expression |
NIL |
Method Summary |
ThreshholdsBelongTo |
getBelongTo()
Get the function direction. |
org.opengis.filter.expression.Expression |
getLookupValue()
Get lookup value. |
java.util.SortedMap<org.opengis.filter.expression.Literal,org.opengis.filter.expression.Literal> |
getThresholds()
The Thresholds have to be specified in ascending order and (like the LookupValue)
have to be of a uniform and orderable type. |
Methods inherited from interface org.opengis.filter.expression.Function |
getFallbackValue, getName, getParameters |
Methods inherited from interface org.opengis.filter.expression.Expression |
accept, evaluate, evaluate |
getLookupValue
@XmlElement(value="LookupValue")
org.opengis.filter.expression.Expression getLookupValue()
- Get lookup value.
- Returns:
- Expression
getThresholds
java.util.SortedMap<org.opengis.filter.expression.Literal,org.opengis.filter.expression.Literal> getThresholds()
- The Thresholds have to be specified in ascending order and (like the LookupValue)
have to be of a uniform and orderable type. The value of the function is determined by
looking up into which interval between two thresholds the LookupValue falls. The first
interval ranges from -Infinity to the first given threshold and the last one accordingly
from the last threshold to +Infinity.
getBelongTo
@XmlElement(value="ThreshholdsBelongTo")
ThreshholdsBelongTo getBelongTo()
- Get the function direction.
Default is SUCCEEDING.
- Returns:
- SUCCEEDING or PRECEDING
Copyright © 1996-2010 Geotools. All Rights Reserved.