Package org.esa.snap.core.dataop.barithm
Class GeoCodingLazyProxy
java.lang.Object
org.esa.snap.core.dataop.barithm.GeoCodingLazyProxy
- All Implemented Interfaces:
GeoCoding
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanClone()Check if geocoding can be cloned.booleanChecks whether or not this geo-coding can determine the geodetic position from a pixel position.booleanChecks whether or not this geo-coding can determine the pixel position from a geodetic position.clone()Creates a shallow clone of this geocoding.voiddispose()Releases all of the resources used by this object instance and all of its owned children.getDatum()Gets the datum, the reference point or surface against whichGeoPosmeasurements are made.org.opengis.referencing.crs.CoordinateReferenceSystemReturns the latitude and longitude value for a given pixel co-ordinate.org.opengis.referencing.crs.CoordinateReferenceSystemorg.opengis.referencing.operation.MathTransformorg.opengis.referencing.crs.CoordinateReferenceSystemgetPixelPos(GeoPos geoPos, PixelPos pixelPos) Returns the pixel co-ordinates as x/y for a given geographical position given as lat/lon.booleanChecks whether or not the longitudes of this geo-coding cross the +/- 180 degree meridian.
-
Constructor Details
-
GeoCodingLazyProxy
-
-
Method Details
-
isCrossingMeridianAt180
public boolean isCrossingMeridianAt180()Description copied from interface:GeoCodingChecks whether or not the longitudes of this geo-coding cross the +/- 180 degree meridian.- Specified by:
isCrossingMeridianAt180in interfaceGeoCoding- Returns:
true, if so
-
canGetPixelPos
public boolean canGetPixelPos()Description copied from interface:GeoCodingChecks whether or not this geo-coding can determine the pixel position from a geodetic position.- Specified by:
canGetPixelPosin interfaceGeoCoding- Returns:
true, if so
-
canGetGeoPos
public boolean canGetGeoPos()Description copied from interface:GeoCodingChecks whether or not this geo-coding can determine the geodetic position from a pixel position.- Specified by:
canGetGeoPosin interfaceGeoCoding- Returns:
true, if so
-
getPixelPos
Description copied from interface:GeoCodingReturns the pixel co-ordinates as x/y for a given geographical position given as lat/lon.- Specified by:
getPixelPosin interfaceGeoCoding- Parameters:
geoPos- the geographical position as lat/lon in the coordinate system determined byGeoCoding.getGeoCRS()pixelPos- 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
-
getGeoPos
Description copied from interface:GeoCodingReturns the latitude and longitude value for a given pixel co-ordinate.- Specified by:
getGeoPosin interfaceGeoCoding- Parameters:
pixelPos- the pixel's co-ordinates given as x,ygeoPos- an instance ofGeoPosto be used as return value. If this parameter isnull, the method creates a new instance which it then returns.- Returns:
- the geographical position as lat/lon in the coordinate system determined by
GeoCoding.getGeoCRS()
-
getDatum
Description copied from interface:GeoCodingGets the datum, the reference point or surface against whichGeoPosmeasurements are made. -
dispose
public void dispose()Description copied from interface:GeoCodingReleases all of the resources used by this object instance and all of its owned children. Its primary use is to allow the garbage collector to perform a vanilla job.This method should be called only if it is for sure that this object instance will never be used again. The results of referencing an instance of this class after a call to
dispose()are undefined. -
getImageCRS
public org.opengis.referencing.crs.CoordinateReferenceSystem getImageCRS()- Specified by:
getImageCRSin interfaceGeoCoding- 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.
-
getMapCRS
public org.opengis.referencing.crs.CoordinateReferenceSystem getMapCRS() -
getGeoCRS
public org.opengis.referencing.crs.CoordinateReferenceSystem getGeoCRS() -
getImageToMapTransform
public org.opengis.referencing.operation.MathTransform getImageToMapTransform()- Specified by:
getImageToMapTransformin interfaceGeoCoding- Returns:
- The math transformation used to convert image coordinates to map coordinates.
-
clone
Description copied from interface:GeoCodingCreates a shallow clone of this geocoding. Geolocation raster data is shared. -
canClone
public boolean canClone()Description copied from interface:GeoCodingCheck if geocoding can be cloned.
-