Class TLcdSLDInterpolate

All Implemented Interfaces:
ILcdDataObject, ILcdGenericExpression, ILcdOGCExpression, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdSLDInterpolate extends TLcdSLDFunction
Interpolate allows to transform continuous values by a function defined on a number of interpolation points. This is used to adjust a value distribution to a desired distribution of a continuous symbolization control variable (like size, width, color, etc).
Since:
2012.1
  • Constructor Details

    • TLcdSLDInterpolate

      public TLcdSLDInterpolate()
      Default Constructor
    • TLcdSLDInterpolate

      public TLcdSLDInterpolate(TLcdDataType aType)
      Default Constructor
  • Method Details

    • getMethod

      public TLcdSLDInterpolate.Method getMethod()
      Returns the value of the property that maps to the method attribute.

      The interpolation method which can be either numeric or color.

      Returns:
      the value of the METHOD_PROPERTY property.
    • setMethod

      public void setMethod(TLcdSLDInterpolate.Method aValue)
      Sets the value of the property that maps to the method attribute.

      The interpolation method which can be either numeric or color.

      Parameters:
      aValue - the value to set for the METHOD_PROPERTY property.
    • getMode

      public TLcdSLDInterpolate.Mode getMode()
      Returns the value of the property that maps to the mode attribute.
      Returns:
      the value of the MODE_PROPERTY property.
    • setMode

      public void setMode(TLcdSLDInterpolate.Mode aValue)
      Sets the value of the property that maps to the mode attribute.
      Parameters:
      aValue - the value to set for the MODE_PROPERTY property.
    • getLookupValue

      public TLcdSLDParameterValue getLookupValue()
      Returns the value of the property that maps to the LookupValue element.

      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 LOOKUP_VALUE_PROPERTY property.
    • setLookupValue

      public void setLookupValue(TLcdSLDParameterValue aValue)
      Sets the value of the property that maps to the LookupValue element.

      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 LOOKUP_VALUE_PROPERTY property.
    • getInterpolationPoint

      public List<TLcdSLDInterpolationPoint> getInterpolationPoint()
      Returns the value of the property that maps to the InterpolationPoint element.

      An InterpolationPoint defines a correspondence between the LookupValues and the transformed values.

      The InterpolationPoints have to be specified in ascending order of Data. They define a graph of points. LookupValues less than the Data value of the first InterpolationPoint are mapped to its corresponding Value. Accordingly, LookupValues greater than the Data value of the last InterpolationPoint are mapped to the Value of this one. LookupValues between two or more InterpolationPoints are interpolated between the corresponding Values according to a given Mode.

      Returns:
      the value of the INTERPOLATION_POINT_PROPERTY property.