org.geotools.metadata.iso.spatial
Class GeorectifiedImpl

java.lang.Object
  extended byorg.geotools.metadata.iso.MetadataEntity
      extended byorg.geotools.metadata.iso.spatial.SpatialRepresentationImpl
          extended byorg.geotools.metadata.iso.spatial.GridSpatialRepresentationImpl
              extended byorg.geotools.metadata.iso.spatial.GeorectifiedImpl
All Implemented Interfaces:
java.lang.Cloneable, org.opengis.metadata.spatial.Georectified, org.opengis.metadata.spatial.GridSpatialRepresentation, java.io.Serializable, org.opengis.metadata.spatial.SpatialRepresentation

public class GeorectifiedImpl
extends GridSpatialRepresentationImpl
implements org.opengis.metadata.spatial.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
Version:
$Id: GeorectifiedImpl.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux, Toura?vane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.iso.MetadataEntity
LOGGER
 
Constructor Summary
GeorectifiedImpl()
          Constructs an initially empty georectified object.
GeorectifiedImpl(int numberOfDimensions, java.util.List axisDimensionsProperties, org.opengis.metadata.spatial.CellGeometry cellGeometry, boolean transformationParameterAvailable, boolean checkPointAvailable, java.util.List cornerPoints, org.opengis.metadata.spatial.PixelOrientation pointInPixel)
          Creates a georectified object initialized to the specified values.
 
Method Summary
 boolean equals(java.lang.Object object)
          Compare this georectified object with the specified object for equality.
protected  void freeze()
          Declare this metadata and all its attributes as unmodifiable.
 org.opengis.spatialschema.geometry.primitive.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.
 org.opengis.util.InternationalString getCheckPointDescription()
          Description of geographic position points used to test the accuracy of the georeferenced grid data.
 java.util.List 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.
 org.opengis.metadata.spatial.PixelOrientation getPointInPixel()
          Point in a pixel corresponding to the Earth location of the pixel.
 org.opengis.util.InternationalString getTransformationDimensionDescription()
          Description of the information about which grid dimensions are the spatial dimensions.
 java.util.Collection getTransformationDimensionMapping()
          Information about which grid dimensions are the spatial dimensions.
 int hashCode()
          Returns a hash code value for this object.
 boolean isCheckPointAvailable()
          Indication of whether or not geographic position points are available to test the accuracy of the georeferenced grid data.
 void setCenterPoint(org.opengis.spatialschema.geometry.primitive.Point newValue)
          Set the center point.
 void setCheckPointAvailable(boolean newValue)
          Set indication of whether or not geographic position points are available to test the accuracy of the georeferenced grid data.
 void setCheckPointDescription(org.opengis.util.InternationalString newValue)
          Set the description of geographic position points used to test the accuracy of the georeferenced grid data.
 void setCornerPoints(java.util.List newValues)
          Set the corner points.
 void setPointInPixel(org.opengis.metadata.spatial.PixelOrientation newValue)
          Set the point in a pixel corresponding to the Earth location of the pixel.
 void setTransformationDimensionDescription(org.opengis.util.InternationalString newValue)
          Set the description of the information about which grid dimensions are the spatial dimensions.
 void setTransformationDimensionMapping(java.util.Collection newValues)
          Set information about which grid dimensions are the spatial dimensions.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class org.geotools.metadata.iso.spatial.GridSpatialRepresentationImpl
getAxisDimensionsProperties, getCellGeometry, getNumberOfDimensions, isTransformationParameterAvailable, setAxisDimensionsProperties, setCellGeometry, setNumberOfDimensions, setTransformationParameterAvailable
 
Methods inherited from class org.geotools.metadata.iso.MetadataEntity
appendLineSeparator, checkWritePermission, copyCollection, isModifiable, nonNullCollection, unmodifiable, unmodifiable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.opengis.metadata.spatial.GridSpatialRepresentation
getAxisDimensionsProperties, getCellGeometry, getNumberOfDimensions, isTransformationParameterAvailable
 

Constructor Detail

GeorectifiedImpl

public GeorectifiedImpl()
Constructs an initially empty georectified object.


GeorectifiedImpl

public GeorectifiedImpl(int numberOfDimensions,
                        java.util.List axisDimensionsProperties,
                        org.opengis.metadata.spatial.CellGeometry cellGeometry,
                        boolean transformationParameterAvailable,
                        boolean checkPointAvailable,
                        java.util.List cornerPoints,
                        org.opengis.metadata.spatial.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 org.opengis.metadata.spatial.Georectified

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 org.opengis.util.InternationalString getCheckPointDescription()
Description of geographic position points used to test the accuracy of the georeferenced grid data.

Specified by:
getCheckPointDescription in interface org.opengis.metadata.spatial.Georectified

setCheckPointDescription

public void setCheckPointDescription(org.opengis.util.InternationalString newValue)
Set the description of geographic position points used to test the accuracy of the georeferenced grid data.


getCornerPoints

public java.util.List 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.

Specified by:
getCornerPoints in interface org.opengis.metadata.spatial.Georectified

setCornerPoints

public void setCornerPoints(java.util.List newValues)
Set the corner points.


getCenterPoint

public org.opengis.spatialschema.geometry.primitive.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.

Specified by:
getCenterPoint in interface org.opengis.metadata.spatial.Georectified

setCenterPoint

public void setCenterPoint(org.opengis.spatialschema.geometry.primitive.Point newValue)
Set the center point.


getPointInPixel

public org.opengis.metadata.spatial.PixelOrientation getPointInPixel()
Point in a pixel corresponding to the Earth location of the pixel.

Specified by:
getPointInPixel in interface org.opengis.metadata.spatial.Georectified

setPointInPixel

public void setPointInPixel(org.opengis.metadata.spatial.PixelOrientation newValue)
Set the point in a pixel corresponding to the Earth location of the pixel.


getTransformationDimensionDescription

public org.opengis.util.InternationalString getTransformationDimensionDescription()
Description of the information about which grid dimensions are the spatial dimensions.

Specified by:
getTransformationDimensionDescription in interface org.opengis.metadata.spatial.Georectified

setTransformationDimensionDescription

public void setTransformationDimensionDescription(org.opengis.util.InternationalString newValue)
Set the description of the information about which grid dimensions are the spatial dimensions.


getTransformationDimensionMapping

public java.util.Collection getTransformationDimensionMapping()
Information about which grid dimensions are the spatial dimensions.

Specified by:
getTransformationDimensionMapping in interface org.opengis.metadata.spatial.Georectified

setTransformationDimensionMapping

public void setTransformationDimensionMapping(java.util.Collection newValues)
Set information about which grid dimensions are the spatial dimensions.


freeze

protected void freeze()
Declare this metadata and all its attributes as unmodifiable.

Overrides:
freeze in class GridSpatialRepresentationImpl

equals

public boolean equals(java.lang.Object object)
Compare this georectified object with the specified object for equality.

Overrides:
equals in class GridSpatialRepresentationImpl

hashCode

public int hashCode()
Returns a hash code value for this object. For performance reason, this method do not uses all attributes for computing the hash code. Instead, it uses the attributes that are the most likely to be unique.

Overrides:
hashCode in class GridSpatialRepresentationImpl

toString

public java.lang.String toString()
Returns a string representation of this object.

Overrides:
toString in class GridSpatialRepresentationImpl


Copyright © GeoTools. All Rights Reserved.