org.geotools.process.raster.gs
Class AreaGridProcess2
java.lang.Object
org.geotools.process.raster.gs.AreaGridProcess2
- All Implemented Interfaces:
- org.geotools.process.gs.GSProcess
public class AreaGridProcess2
- extends Object
- implements org.geotools.process.gs.GSProcess
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
|
Method Summary |
org.geotools.coverage.grid.GridCoverage2D |
execute(org.geotools.geometry.jts.ReferencedEnvelope bounds,
int width,
int height)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AreaGridProcess2
public AreaGridProcess2()
execute
public org.geotools.coverage.grid.GridCoverage2D execute(org.geotools.geometry.jts.ReferencedEnvelope bounds,
int width,
int height)
throws org.geotools.process.ProcessException
- Throws:
org.geotools.process.ProcessException
Copyright © 2012. All Rights Reserved.