Class MapInfo
- java.lang.Object
-
- org.esa.snap.core.dataop.maptransf.MapInfo
-
- All Implemented Interfaces:
Cloneable
@Deprecated public class MapInfo extends Object implements Cloneable
Deprecated.since BEAM 4.7, use geotools andCrsGeoCoding
instead.TheMapInfo
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 Modifier and Type Field Description static double
DEFAULT_NO_DATA_VALUE
Deprecated.
-
Constructor Summary
Constructors Constructor Description MapInfo(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
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Object
clone()
Deprecated.MapInfo
createDeepClone()
Deprecated.Datum
getDatum()
Deprecated.float
getEasting()
Deprecated.String
getElevationModelName()
Deprecated.MapProjection
getMapProjection()
Deprecated.double
getNoDataValue()
Deprecated.float
getNorthing()
Deprecated.float
getOrientation()
Deprecated.Gets the orientation angle in degrees.float
getPixelSizeX()
Deprecated.float
getPixelSizeY()
Deprecated.AffineTransform
getPixelToMapTransform()
Deprecated.float
getPixelX()
Deprecated.float
getPixelY()
Deprecated.Resampling
getResampling()
Deprecated.int
getSceneHeight()
Deprecated.int
getSceneWidth()
Deprecated.boolean
isOrthorectified()
Deprecated.boolean
isSceneSizeFitted()
Deprecated.void
setDatum(Datum datum)
Deprecated.void
setEasting(float easting)
Deprecated.void
setElevationModelName(String elevationModelName)
Deprecated.void
setNoDataValue(double noDataValue)
Deprecated.void
setNorthing(float northing)
Deprecated.void
setOrientation(float orientation)
Deprecated.Sets the orientation angle in degrees.void
setOrthorectified(boolean orthorectified)
Deprecated.void
setPixelSizeX(float pixelSizeX)
Deprecated.void
setPixelSizeY(float pixelSizeY)
Deprecated.void
setPixelX(float pixelX)
Deprecated.void
setPixelY(float pixelY)
Deprecated.void
setProjection(MapProjection projection)
Deprecated.void
setResampling(Resampling resampling)
Deprecated.void
setSceneHeight(int sceneHeight)
Deprecated.void
setSceneSizeFitted(boolean sceneSizeFitted)
Deprecated.void
setSceneWidth(int sceneWidth)
Deprecated.String
toString()
Deprecated.Overrides toString() of object.
-
-
-
Field Detail
-
DEFAULT_NO_DATA_VALUE
public static final double DEFAULT_NO_DATA_VALUE
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getMapProjection
public final MapProjection getMapProjection()
Deprecated.
-
setProjection
public final void setProjection(MapProjection projection)
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
public final Datum getDatum()
Deprecated.
-
setDatum
public final void setDatum(Datum datum)
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
public final String getElevationModelName()
Deprecated.
-
setElevationModelName
public final void setElevationModelName(String elevationModelName)
Deprecated.
-
getResampling
public final Resampling getResampling()
Deprecated.
-
setResampling
public final void setResampling(Resampling resampling)
Deprecated.
-
toString
public String toString()
Deprecated.Overrides toString() of object.
-
createDeepClone
public MapInfo createDeepClone()
Deprecated.
-
getPixelToMapTransform
public AffineTransform getPixelToMapTransform()
Deprecated.
-
-