org.geotools.metadata.iso.spatial
Class GeorectifiedImpl

Object
  extended by AbstractMetadata
      extended by ModifiableMetadata
          extended by MetadataEntity
              extended by SpatialRepresentationImpl
                  extended by GridSpatialRepresentationImpl
                      extended by 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
Module:
modules/library/metadata (gt-metadata.jar)

Field Summary
 
Fields inherited from class AbstractMetadata
LOGGER
 
Constructor Summary
GeorectifiedImpl()
          Constructs an initially empty georectified object.
GeorectifiedImpl(Georectified source)
          Constructs a metadata entity initialized with the values from the specified metadata.
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 Summary
 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.
 InternationalString getCheckPointDescription()
          Description of geographic position points used to test the accuracy of the georeferenced grid data.
 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.
 PixelOrientation getPointInPixel()
          Point in a pixel corresponding to the Earth location of the pixel.
 InternationalString getTransformationDimensionDescription()
          Description of the information about which grid dimensions are the spatial dimensions.
 Collection<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(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(InternationalString newValue)
          Set the description of geographic position points used to test the accuracy of the georeferenced grid data.
 void setCornerPoints(List<? extends Point> newValues)
          Set the corner points.
 void setPointInPixel(PixelOrientation newValue)
          Set the point in a pixel corresponding to the Earth location of the pixel.
 void setTransformationDimensionDescription(InternationalString newValue)
          Set the description of the information about which grid dimensions are the spatial dimensions.
 void setTransformationDimensionMapping(Collection<? extends InternationalString> newValues)
          Set information about which grid dimensions are the spatial dimensions.
 
Methods inherited from class GridSpatialRepresentationImpl
getAxisDimensionsProperties, getCellGeometry, getNumberOfDimensions, isTransformationParameterAvailable, setAxisDimensionsProperties, setCellGeometry, setNumberOfDimensions, setTransformationParameterAvailable
 
Methods inherited from class MetadataEntity
ensureNonNull, getStandard
 
Methods inherited from class ModifiableMetadata
checkWritePermission, clone, copyCollection, copyList, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, unmodifiable
 
Methods inherited from class AbstractMetadata
asMap, asTree, equals, getInterface, hashCode, toString
 
Methods inherited from class Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface GridSpatialRepresentation
getAxisDimensionsProperties, getCellGeometry, getNumberOfDimensions, isTransformationParameterAvailable
 

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

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

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.

Specified by:
getCornerPoints in interface Georectified

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.

Specified by:
getCenterPoint in interface Georectified

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

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

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

setTransformationDimensionMapping

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



Copyright © 1996-2010 Geotools. All Rights Reserved.