Package org.geotools.process.vector
Class NearestProcess
- Object
-
- NearestProcess
-
- All Implemented Interfaces:
VectorProcess
public class NearestProcess extends Object implements VectorProcess
-
-
Constructor Summary
Constructors Constructor Description NearestProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureCollection
execute(FeatureCollection featureCollection, Point point, CoordinateReferenceSystem crs)
Process the input data set.
-
-
-
Method Detail
-
execute
public FeatureCollection execute(FeatureCollection featureCollection, Point point, CoordinateReferenceSystem crs) throws ProcessException
Process the input data set.- Parameters:
featureCollection
- the data setcrs
- the CRSpoint
- the given point- Returns:
- the snapped to feature
- Throws:
ProcessException
- error
-
-