Class MapInfo
java.lang.Object
org.esa.snap.core.dataop.maptransf.MapInfo
- All Implemented Interfaces:
Cloneable
Deprecated.
The
MapInfo class holds information required to bring the cartographic map co-ordinate system to a
raster co-ordinate system and back.- Version:
- $Revision$ $Date$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapInfo(MapProjection mapProjection, float pixelX, float pixelY, float easting, float northing, float pixelSizeX, float pixelSizeY, Datum datum) Deprecated.Constructs a new map information object. -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Deprecated.final DatumgetDatum()Deprecated.final floatDeprecated.final StringDeprecated.final MapProjectionDeprecated.final doubleDeprecated.floatDeprecated.floatDeprecated.Gets the orientation angle in degrees.final floatDeprecated.final floatDeprecated.Deprecated.final floatDeprecated.final floatDeprecated.final ResamplingDeprecated.final intDeprecated.final intDeprecated.final booleanDeprecated.final booleanDeprecated.final voidDeprecated.final voidsetEasting(float easting) Deprecated.final voidsetElevationModelName(String elevationModelName) Deprecated.final voidsetNoDataValue(double noDataValue) Deprecated.final voidsetNorthing(float northing) Deprecated.voidsetOrientation(float orientation) Deprecated.Sets the orientation angle in degrees.final voidsetOrthorectified(boolean orthorectified) Deprecated.final voidsetPixelSizeX(float pixelSizeX) Deprecated.final voidsetPixelSizeY(float pixelSizeY) Deprecated.final voidsetPixelX(float pixelX) Deprecated.final voidsetPixelY(float pixelY) Deprecated.final voidsetProjection(MapProjection projection) Deprecated.final voidsetResampling(Resampling resampling) Deprecated.final voidsetSceneHeight(int sceneHeight) Deprecated.final voidsetSceneSizeFitted(boolean sceneSizeFitted) Deprecated.final voidsetSceneWidth(int sceneWidth) Deprecated.toString()Deprecated.Overrides toString() of object.
-
Field Details
-
DEFAULT_NO_DATA_VALUE
public static final double DEFAULT_NO_DATA_VALUEDeprecated.- See Also:
-
-
Constructor Details
-
MapInfo
public MapInfo(MapProjection mapProjection, float pixelX, float pixelY, float easting, float northing, float pixelSizeX, float pixelSizeY, Datum datum) Deprecated.Constructs a new map information object.- Parameters:
mapProjection- the map projection, must not be nullpixelX- reference pixel position in image coordinates in X directionpixelY- reference pixel position in image coordinates in Y directioneasting- easting in map units of the reference pixel in X directionnorthing- norting in map units of the reference pixel in Y directionpixelSizeX- size of pixel in map units in image X directionpixelSizeY- size of pixel in map units in image Y directiondatum- the datum to be used, must not be null
-
-
Method Details
-
getMapProjection
Deprecated. -
setProjection
Deprecated. -
getPixelX
public final float getPixelX()Deprecated. -
setPixelX
public final void setPixelX(float pixelX) Deprecated. -
getPixelY
public final float getPixelY()Deprecated. -
setPixelY
public final void setPixelY(float pixelY) Deprecated. -
getEasting
public final float getEasting()Deprecated. -
setEasting
public final void setEasting(float easting) Deprecated. -
getNorthing
public float getNorthing()Deprecated. -
setNorthing
public final void setNorthing(float northing) Deprecated. -
getPixelSizeX
public final float getPixelSizeX()Deprecated. -
setPixelSizeX
public final void setPixelSizeX(float pixelSizeX) Deprecated. -
getPixelSizeY
public final float getPixelSizeY()Deprecated. -
setPixelSizeY
public final void setPixelSizeY(float pixelSizeY) Deprecated. -
getOrientation
public float getOrientation()Deprecated.Gets the orientation angle in degrees. The orientation angle is the angle between geographic north and map grid north (in degrees), with other words, the convergence angle of the projection's vertical axis from true north. A positive angle means clockwise rotation, a negative angle means counter-clockwise rotation.- Returns:
- the orientation angle in degree
-
setOrientation
public void setOrientation(float orientation) Deprecated.Sets the orientation angle in degrees. The orientation angle is the angle between geographic north and map grid north (in degrees), with other words, the convergence angle of the projection's vertical axis from true north. A positive angle means clockwise rotation, a negative angle means counter-clockwise rotation from map grid north to geographic north.- Parameters:
orientation- the orientation angle in degrees.
-
getDatum
Deprecated. -
setDatum
Deprecated. -
getSceneWidth
public final int getSceneWidth()Deprecated. -
setSceneWidth
public final void setSceneWidth(int sceneWidth) Deprecated. -
getSceneHeight
public final int getSceneHeight()Deprecated. -
setSceneHeight
public final void setSceneHeight(int sceneHeight) Deprecated. -
isSceneSizeFitted
public final boolean isSceneSizeFitted()Deprecated. -
setSceneSizeFitted
public final void setSceneSizeFitted(boolean sceneSizeFitted) Deprecated. -
getNoDataValue
public final double getNoDataValue()Deprecated. -
setNoDataValue
public final void setNoDataValue(double noDataValue) Deprecated. -
isOrthorectified
public final boolean isOrthorectified()Deprecated. -
setOrthorectified
public final void setOrthorectified(boolean orthorectified) Deprecated. -
getElevationModelName
Deprecated. -
setElevationModelName
Deprecated. -
getResampling
Deprecated. -
setResampling
Deprecated. -
toString
Deprecated.Overrides toString() of object. -
clone
Deprecated. -
createDeepClone
Deprecated. -
getPixelToMapTransform
Deprecated.
-
CrsGeoCodinginstead.