Class MapInfo

  • All Implemented Interfaces:
    Cloneable

    @Deprecated
    public class MapInfo
    extends Object
    implements Cloneable
    Deprecated.
    since BEAM 4.7, use geotools and CrsGeoCoding instead.
    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 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.
      • createDeepClone

        public MapInfo createDeepClone()
        Deprecated.
      • getPixelToMapTransform

        public AffineTransform getPixelToMapTransform()
        Deprecated.