org.esa.beam.framework.dataop.maptransf
Class MapInfo

java.lang.Object
  extended by org.esa.beam.framework.dataop.maptransf.MapInfo
All Implemented Interfaces:
Cloneable

Deprecated. since BEAM 4.7, use geotools and CrsGeoCoding instead.

@Deprecated
public class MapInfo
extends Object
implements Cloneable

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$
Author:
Norman Fomferra (norman.fomferra@brockmann-consult.de)

Field Summary
static double DEFAULT_NO_DATA_VALUE
          Deprecated.  
 
Constructor Summary
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
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 null
pixelX - reference pixel position in image coordinates in X direction
pixelY - reference pixel position in image coordinates in Y direction
easting - easting in map units of the reference pixel in X direction
northing - norting in map units of the reference pixel in Y direction
pixelSizeX - size of pixel in map units in image X direction
pixelSizeY - size of pixel in map units in image Y direction
datum - 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.

Overrides:
toString in class Object
Returns:
a string representation of the object.

clone

public Object clone()
Deprecated. 
Overrides:
clone in class Object

createDeepClone

public MapInfo createDeepClone()
Deprecated. 

getPixelToMapTransform

public AffineTransform getPixelToMapTransform()
Deprecated. 


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.