Package org.geotools.process.raster
Class AreaGridProcess
Object
AreaGridProcess
- All Implemented Interfaces:
RasterProcess
A process that build a regular cell grid where each pixel represents its effective area in the envelope in square
meters.
Internally the process uses a reprojection to EckertIV to ensure proper area computation. Current limitations:
- won't work for very large rasters since it allocates the entire grid in memory
- area accuracy increases as the cell size shrinks, avoid having cells that occupy sizeable chunks of the world
- Author:
- Luca Paolino - GeoSolutions
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AreaGridProcess
public AreaGridProcess()
-
-
Method Details
-
execute
public GridCoverage2D execute(ReferencedEnvelope bounds, int width, int height) throws ProcessException - Throws:
ProcessException
-