Class 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