Class GeorectifiedImpl

  • All Implemented Interfaces:
    Serializable, Cloneable, Georectified, GridSpatialRepresentation, SpatialRepresentation

    public class GeorectifiedImpl
    extends GridSpatialRepresentationImpl
    implements Georectified
    Grid whose cells are regularly spaced in a geographic (i.e., lat / long) or map coordinate system defined in the Spatial Referencing System (SRS) so that any cell in the grid can be geolocated given its grid coordinate and the grid origin, cell spacing, and orientation indication of whether or not geographic.
    Since:
    2.1
    Author:
    Martin Desruisseaux (IRD), Touraïvane
    See Also:
    Serialized Form
    • Constructor Detail

      • GeorectifiedImpl

        public GeorectifiedImpl()
        Constructs an initially empty georectified object.
      • GeorectifiedImpl

        public GeorectifiedImpl​(Georectified source)
        Constructs a metadata entity initialized with the values from the specified metadata.
        Since:
        2.4
      • GeorectifiedImpl

        public GeorectifiedImpl​(int numberOfDimensions,
                                List<? extends Dimension> axisDimensionsProperties,
                                CellGeometry cellGeometry,
                                boolean transformationParameterAvailable,
                                boolean checkPointAvailable,
                                List<? extends Point> cornerPoints,
                                PixelOrientation pointInPixel)
        Creates a georectified object initialized to the specified values.
    • Method Detail

      • isCheckPointAvailable

        public boolean isCheckPointAvailable()
        Indication of whether or not geographic position points are available to test the accuracy of the georeferenced grid data.
        Specified by:
        isCheckPointAvailable in interface Georectified
        Returns:
        Whether or not geographic position points are available to test accuracy.
      • setCheckPointAvailable

        public void setCheckPointAvailable​(boolean newValue)
        Set indication of whether or not geographic position points are available to test the accuracy of the georeferenced grid data.
      • getCheckPointDescription

        public InternationalString getCheckPointDescription()
        Description of geographic position points used to test the accuracy of the georeferenced grid data.
        Specified by:
        getCheckPointDescription in interface Georectified
        Returns:
        Description of geographic position points used to test accuracy, or null.
      • setCheckPointDescription

        public void setCheckPointDescription​(InternationalString newValue)
        Set the description of geographic position points used to test the accuracy of the georeferenced grid data.
      • getCornerPoints

        public List<Point> getCornerPoints()
        Earth location in the coordinate system defined by the Spatial Reference System and the grid coordinate of the cells at opposite ends of grid coverage along two diagonals in the grid spatial dimensions. There are four corner points in a georectified grid; at least two corner points along one diagonal are required. @TODO: needs to annotate the geometry module before.
        Specified by:
        getCornerPoints in interface Georectified
        Returns:
        The corner points.
      • setCornerPoints

        public void setCornerPoints​(List<? extends Point> newValues)
        Set the corner points.
      • getCenterPoint

        public Point getCenterPoint()
        Earth location in the coordinate system defined by the Spatial Reference System and the grid coordinate of the cell halfway between opposite ends of the grid in the spatial dimensions. @TODO: needs to annotate the geometry module before.
        Specified by:
        getCenterPoint in interface Georectified
        Returns:
        The center point, or null.
      • setCenterPoint

        public void setCenterPoint​(Point newValue)
        Set the center point.
      • getPointInPixel

        public PixelOrientation getPointInPixel()
        Point in a pixel corresponding to the Earth location of the pixel.
        Specified by:
        getPointInPixel in interface Georectified
        Returns:
        Earth location of the pixel.
      • setPointInPixel

        public void setPointInPixel​(PixelOrientation newValue)
        Set the point in a pixel corresponding to the Earth location of the pixel.
      • getTransformationDimensionDescription

        public InternationalString getTransformationDimensionDescription()
        Description of the information about which grid dimensions are the spatial dimensions.
        Specified by:
        getTransformationDimensionDescription in interface Georectified
        Returns:
        Description of the information about grid dimensions, or null.
      • setTransformationDimensionDescription

        public void setTransformationDimensionDescription​(InternationalString newValue)
        Set the description of the information about which grid dimensions are the spatial dimensions.
      • getTransformationDimensionMapping

        public Collection<InternationalString> getTransformationDimensionMapping()
        Information about which grid dimensions are the spatial dimensions.
        Specified by:
        getTransformationDimensionMapping in interface Georectified
        Returns:
        Information about which grid dimensions are the spatial dimensions, or null.
      • setTransformationDimensionMapping

        public void setTransformationDimensionMapping​(Collection<? extends InternationalString> newValues)
        Set information about which grid dimensions are the spatial dimensions.