org.geotools.metadata.iso.spatial
Class GeorectifiedImpl

java.lang.Object
  extended by org.geotools.metadata.AbstractMetadata
      extended by org.geotools.metadata.ModifiableMetadata
          extended by org.geotools.metadata.iso.MetadataEntity
              extended by org.geotools.metadata.iso.spatial.SpatialRepresentationImpl
                  extended by org.geotools.metadata.iso.spatial.GridSpatialRepresentationImpl
                      extended by org.geotools.metadata.iso.spatial.GeorectifiedImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.opengis.metadata.spatial.Georectified, org.opengis.metadata.spatial.GridSpatialRepresentation, 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 31557 2008-09-19 20:02:35Z desruisseaux $
Author:
Martin Desruisseaux (IRD), Touraïvane
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.geotools.metadata.AbstractMetadata
LOGGER
 
Constructor Summary
GeorectifiedImpl()
          Constructs an initially empty georectified object.
GeorectifiedImpl(org.opengis.metadata.spatial.Georectified source)
          Constructs a metadata entity initialized with the values from the specified metadata.
GeorectifiedImpl(int numberOfDimensions, java.util.List<? extends org.opengis.metadata.spatial.Dimension> axisDimensionsProperties, org.opengis.metadata.spatial.CellGeometry cellGeometry, boolean transformationParameterAvailable, boolean checkPointAvailable, java.util.List<? extends org.opengis.geometry.primitive.Point> cornerPoints, org.opengis.metadata.spatial.PixelOrientation pointInPixel)
          Creates a georectified object initialized to the specified values.
 
Method Summary
 org.opengis.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<org.opengis.geometry.primitive.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.
 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<org.opengis.util.InternationalString> getTransformationDimensionMapping()
          Information about which grid dimensions are the spatial dimensions.
 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.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<? extends org.opengis.geometry.primitive.Point> 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<? extends org.opengis.util.InternationalString> newValues)
          Set information about which grid dimensions are the spatial dimensions.
 
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
ensureNonNull, getStandard
 
Methods inherited from class org.geotools.metadata.ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class org.geotools.metadata.AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class java.lang.Object
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(org.opengis.metadata.spatial.Georectified source)
Constructs a metadata entity initialized with the values from the specified metadata.

Since:
2.4

GeorectifiedImpl

public GeorectifiedImpl(int numberOfDimensions,
                        java.util.List<? extends org.opengis.metadata.spatial.Dimension> axisDimensionsProperties,
                        org.opengis.metadata.spatial.CellGeometry cellGeometry,
                        boolean transformationParameterAvailable,
                        boolean checkPointAvailable,
                        java.util.List<? extends org.opengis.geometry.primitive.Point> 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<org.opengis.geometry.primitive.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.

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

setCornerPoints

public void setCornerPoints(java.util.List<? extends org.opengis.geometry.primitive.Point> newValues)
Set the corner points.


getCenterPoint

public org.opengis.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.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<org.opengis.util.InternationalString> 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<? extends org.opengis.util.InternationalString> newValues)
Set information about which grid dimensions are the spatial dimensions.



Copyright © 1996-2010 Geotools. All Rights Reserved.