Package org.geotools.process.raster
Class RasterAsPointCollectionProcess
Object
RasterAsPointCollectionProcess
- All Implemented Interfaces:
RasterProcess
A process that wraps a
GridCoverage2D
as a collection of point feature. Optional parameters can be set:
- targetCRS : can be used for calculating the GridConvergence Angle of each point
- scale : can be used for scaling the input coverage
- interpolation : can be used for setting the interpolation method when Scaling is applied
- emisphere : forces to indicate the hemisphere for each point
- Author:
- Simone Giannecchini, GeoSolutions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
This process does not need, nor can use, extra pixels in input outside the rendering area, when used as a rendering transformation.execute
(GridCoverage2D gc2d, CoordinateReferenceSystem targetCRS, Float scaleFactor, Interpolation interpolation, Boolean emisphere)
-
Constructor Details
-
RasterAsPointCollectionProcess
public RasterAsPointCollectionProcess()
-
-
Method Details
-
execute
public SimpleFeatureCollection execute(GridCoverage2D gc2d, CoordinateReferenceSystem targetCRS, Float scaleFactor, Interpolation interpolation, Boolean emisphere) throws ProcessException - Throws:
ProcessException
-
clipOnRenderingArea
public boolean clipOnRenderingArea()This process does not need, nor can use, extra pixels in input outside the rendering area, when used as a rendering transformation. If those are present, tiling will result in mis-aligned points when scaling down (in addition, a user should try to use a scale down factor that always results in an integer number of pixels, to ensure proper cross-tile alignement).
-