Interface GridGeometry

All Known Implementing Classes:
GeneralGridGeometry, GridGeometry2D, ImageGeometry

public interface GridGeometry
Describes the geometry and georeferencing information of the grid coverage. The grid range attribute determines the valid grid coordinates and allows for calculation of grid size. A grid coverage may or may not have georeferencing.
Since:
GeoAPI 1.0
Author:
Martin Desruisseaux (IRD)
  • Method Summary

    Modifier and Type
    Method
    Description
    The valid coordinate range of a grid coverage.
    Returns the conversion from grid coordinates to real world earth coordinates.
  • Method Details

    • getGridRange

      GridEnvelope getGridRange()
      The valid coordinate range of a grid coverage. The lowest valid grid coordinate is often (but not always) zero. A grid with 512 cells typically have a minimum coordinate of 0 and maximum of 512, with 511 as the highest valid index.
      Returns:
      The valid coordinate range of a grid coverage.
    • getGridToCRS

      MathTransform getGridToCRS()
      Returns the conversion from grid coordinates to real world earth coordinates. The transform is often an affine transform. The coordinate reference system of the real world coordinates is given by the Coverage.getCoordinateReferenceSystem() method and maps to pixel center.
      Returns:
      The conversion from grid coordinates to real world earth coordinates.
      Since:
      GeoAPI 2.1