org.esa.beam.framework.datamodel
Class AbstractGeoCoding
java.lang.Object
org.esa.beam.framework.datamodel.AbstractGeoCoding
- All Implemented Interfaces:
- GeoCoding
- Direct Known Subclasses:
- CombinedFXYGeoCoding, CrsGeoCoding, FXYGeoCoding, GcpGeoCoding, MapGeoCoding, PixelGeoCoding, TiePointGeoCoding
public abstract class AbstractGeoCoding
- extends Object
- implements GeoCoding
AbstractGeoCoding is the base class of all geo-coding implementation.
Note: New geo-coding implementations shall implement this abstract class, instead of
implementing the interface GeoCoding.
- Author:
- Marco Peters
|
Method Summary |
protected static org.geotools.referencing.crs.DefaultDerivedCRS |
createImageCRS(org.opengis.referencing.crs.CoordinateReferenceSystem baseCRS,
org.opengis.referencing.operation.MathTransform baseToDerivedTransform)
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getGeoCRS()
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getImageCRS()
|
org.opengis.referencing.operation.MathTransform |
getImageToMapTransform()
|
org.opengis.referencing.crs.CoordinateReferenceSystem |
getMapCRS()
|
void |
setGeoCRS(org.opengis.referencing.crs.CoordinateReferenceSystem geoCRS)
|
protected void |
setImageCRS(org.opengis.referencing.crs.CoordinateReferenceSystem imageCRS)
|
protected void |
setMapCRS(org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS)
|
abstract boolean |
transferGeoCoding(Scene srcScene,
Scene destScene,
ProductSubsetDef subsetDef)
Transfers the geo-coding of the srcScene to the destScene with respect to the given
subsetDef. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractGeoCoding
protected AbstractGeoCoding()
transferGeoCoding
public abstract boolean transferGeoCoding(Scene srcScene,
Scene destScene,
ProductSubsetDef subsetDef)
- Transfers the geo-coding of the
srcScene to the destScene with respect to the given
subsetDef.
- Parameters:
srcScene - the source scenedestScene - the destination scenesubsetDef - the definition of the subset, may be null
- Returns:
- true, if the geo-coding could be transferred.
getImageCRS
public org.opengis.referencing.crs.CoordinateReferenceSystem getImageCRS()
- Specified by:
getImageCRS in interface GeoCoding
- Returns:
- The image coordinate reference system (CRS). It is usually derived from the base CRS by including
a linear or non-linear transformation from base (geodetic) coordinates to image coordinates.
setImageCRS
protected final void setImageCRS(org.opengis.referencing.crs.CoordinateReferenceSystem imageCRS)
getMapCRS
public org.opengis.referencing.crs.CoordinateReferenceSystem getMapCRS()
- Specified by:
getMapCRS in interface GeoCoding
- Returns:
- The map coordinate reference system (CRS). It may be either a geographical CRS (nominal case is
"WGS-84") or a derived projected CRS, e.g. "UTM 32 - North".
setMapCRS
protected final void setMapCRS(org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS)
getGeoCRS
public org.opengis.referencing.crs.CoordinateReferenceSystem getGeoCRS()
- Specified by:
getGeoCRS in interface GeoCoding
- Returns:
- The geographical coordinate reference system (CRS). It may be either "WGS-84" (nominal case) or
any other geographical CRS.
setGeoCRS
public final void setGeoCRS(org.opengis.referencing.crs.CoordinateReferenceSystem geoCRS)
getImageToMapTransform
public org.opengis.referencing.operation.MathTransform getImageToMapTransform()
- Specified by:
getImageToMapTransform in interface GeoCoding
- Returns:
- The math transformation used to convert image coordinates to map coordinates.
createImageCRS
protected static org.geotools.referencing.crs.DefaultDerivedCRS createImageCRS(org.opengis.referencing.crs.CoordinateReferenceSystem baseCRS,
org.opengis.referencing.operation.MathTransform baseToDerivedTransform)
Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.