Class NearestVisitor

Object
NearestVisitor
All Implemented Interfaces:
FeatureVisitor, FeatureAttributeVisitor, FeatureCalc

public class NearestVisitor extends Object implements FeatureCalc, FeatureAttributeVisitor
Finds the nearest value to the provided one in the attribute domain.
Author:
Andrea Aime - GeoSolutions, Ilkka Rinne / Spatineo Inc for the Finnish Meteorological Institute
  • Constructor Details

    • NearestVisitor

      public NearestVisitor(Expression expression, Object valueToMatch)
      Creates a NearestVisitor instance for the given attribute and a value to match.
      Parameters:
      valueToMatch - The target value to match
  • Method Details