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
.
Modifier | Constructor and Description |
---|---|
protected |
AbstractGeoCoding()
Default constructor.
|
protected |
AbstractGeoCoding(org.opengis.referencing.crs.CoordinateReferenceSystem geoCRS)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canClone()
Check if geocoding can be cloned.
|
GeoCoding |
clone()
Creates a shallow clone of this geocoding.
|
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)
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canGetGeoPos, canGetPixelPos, dispose, getDatum, getGeoPos, getPixelPos, isCrossingMeridianAt180
protected AbstractGeoCoding()
protected AbstractGeoCoding(org.opengis.referencing.crs.CoordinateReferenceSystem geoCRS)
geoCRS
- The CRS to be used as both the geographic CRS and map CRS.public abstract boolean transferGeoCoding(Scene srcScene, Scene destScene, ProductSubsetDef subsetDef)
srcScene
- the source scenedestScene
- the destination scenesubsetDef
- the definition of the subset, may be null
public org.opengis.referencing.crs.CoordinateReferenceSystem getImageCRS()
getImageCRS
in interface GeoCoding
protected final void setImageCRS(org.opengis.referencing.crs.CoordinateReferenceSystem imageCRS)
public org.opengis.referencing.crs.CoordinateReferenceSystem getMapCRS()
protected final void setMapCRS(org.opengis.referencing.crs.CoordinateReferenceSystem mapCRS)
public org.opengis.referencing.crs.CoordinateReferenceSystem getGeoCRS()
public final void setGeoCRS(org.opengis.referencing.crs.CoordinateReferenceSystem geoCRS)
public org.opengis.referencing.operation.MathTransform getImageToMapTransform()
getImageToMapTransform
in interface GeoCoding
public GeoCoding clone()
public boolean canClone()
protected static org.geotools.referencing.crs.DefaultDerivedCRS createImageCRS(org.opengis.referencing.crs.CoordinateReferenceSystem baseCRS, org.opengis.referencing.operation.MathTransform baseToDerivedTransform)
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.