Class PixelGeoIndexInverse
- java.lang.Object
-
- org.esa.snap.core.dataio.geocoding.inverse.PixelGeoIndexInverse
-
- All Implemented Interfaces:
InverseCoding
public class PixelGeoIndexInverse extends Object implements InverseCoding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPixelGeoIndexInverse.Plugin
-
Field Summary
Fields Modifier and Type Field Description static StringKEYstatic StringKEY_INTERPOLATING-
Fields inherited from interface org.esa.snap.core.dataio.geocoding.InverseCoding
KEY_SUFFIX_INTERPOLATING
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InverseCodingclone()Create a shallow copy of the InverseCoding, rasterdata is shared;voiddispose()StringgetKey()An InverseCoding shall be instanced only byComponentFactoryusing aStringkey.PixelPosgetPixelPos(GeoPos geoPos, PixelPos pixelPos)Returns the pixel coordinates as x/y for a given geographical position given as lat/lon.voidinitialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
KEY_INTERPOLATING
public static final String KEY_INTERPOLATING
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPixelPos
public PixelPos getPixelPos(GeoPos geoPos, PixelPos pixelPos)
Description copied from interface:InverseCodingReturns the pixel coordinates as x/y for a given geographical position given as lat/lon.- Specified by:
getPixelPosin interfaceInverseCoding- Parameters:
geoPos- the geographical position as lat/lon in the coordinate system determined by underlying CRSpixelPos- an instance ofPointto be used as return value. If this parameter isnull, the method creates a new instance which it then returns.- Returns:
- the pixel co-ordinates as x/y
-
initialize
public void initialize(GeoRaster geoRaster, boolean containsAntiMeridian, PixelPos[] poleLocations)
- Specified by:
initializein interfaceInverseCoding
-
getKey
public String getKey()
Description copied from interface:InverseCodingAn InverseCoding shall be instanced only byComponentFactoryusing aStringkey. Such an instance must be able to return the key, in order to persist the InverseCoding and recreate such an instance viaComponentFactoryif theProductshall be opened again.- Specified by:
getKeyin interfaceInverseCoding- Returns:
- the key String used while instantiating via
ComponentFactory
-
dispose
public void dispose()
- Specified by:
disposein interfaceInverseCoding
-
clone
public InverseCoding clone()
Description copied from interface:InverseCodingCreate a shallow copy of the InverseCoding, rasterdata is shared;- Specified by:
clonein interfaceInverseCoding- Overrides:
clonein classObject- Returns:
- the clone
-
-