Package org.geotools.process.vector
Class CentroidProcess
- Object
-
- CentroidProcess
-
- All Implemented Interfaces:
VectorProcess
public class CentroidProcess extends Object implements VectorProcess
A process that returns the centroids for the geometries in the input feature collection.- Author:
- Rohan Singh
-
-
Constructor Summary
Constructors Constructor Description CentroidProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFeatureCollection
execute(SimpleFeatureCollection features)
-
-
-
Method Detail
-
execute
public SimpleFeatureCollection execute(SimpleFeatureCollection features) throws ProcessException
- Throws:
ProcessException
-
-