Package org.geotools.process.raster
Class AreaGridProcess
- Object
-
- AreaGridProcess
-
- All Implemented Interfaces:
RasterProcess
public class AreaGridProcess extends Object implements 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 Constructor Description AreaGridProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GridCoverage2D
execute(ReferencedEnvelope bounds, int width, int height)
-
-
-
Method Detail
-
execute
public GridCoverage2D execute(ReferencedEnvelope bounds, int width, int height) throws ProcessException
- Throws:
ProcessException
-
-