Class MapProjection

java.lang.Object
org.esa.snap.core.dataop.maptransf.MapProjection
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
UTMProjection

@Deprecated public class MapProjection extends Object implements Cloneable
Deprecated.
since BEAM 4.7, use geotools MapProjection instead.
A map projection is a mathematical model for the transformation of locations from a three-dimensional earth surface to a two-dimensional map representation.
  • Constructor Details

    • MapProjection

      public MapProjection(String name, MapTransform mapTransform)
      Deprecated.
    • MapProjection

      public MapProjection(String name, MapTransform mapTransform, boolean preDefined)
      Deprecated.
    • MapProjection

      public MapProjection(String name, MapTransform mapTransform, String mapUnit)
      Deprecated.
    • MapProjection

      public MapProjection(String name, MapTransform mapTransform, String mapUnit, boolean preDefined)
      Deprecated.
  • Method Details

    • getName

      public String getName()
      Deprecated.
    • setName

      public void setName(String name)
      Deprecated.
    • getMapTransform

      public MapTransform getMapTransform()
      Deprecated.
    • setMapTransform

      public void setMapTransform(MapTransform transform)
      Deprecated.
    • getMapUnit

      public String getMapUnit()
      Deprecated.
    • setMapUnit

      public void setMapUnit(String mapUnit)
      Deprecated.
    • isPreDefined

      public boolean isPreDefined()
      Deprecated.
    • setPreDefined

      public void setPreDefined(boolean preDefined)
      Deprecated.
    • hasMapTransformUI

      public boolean hasMapTransformUI()
      Deprecated.
      Tests if a user interface is available. The method is a shorthand for
          getMapTransform().getDescriptor().hasTransformUI();
       
      Returns:
      true if a user interface is available, in this case the getMapTransformUI() method never returns null.
    • getMapTransformUI

      public MapTransformUI getMapTransformUI()
      Deprecated.
      Gets a user interface for editing the transformation properties of this map projection.
      Returns:
      the user interface or null if editing is not supported. The hasMapTransformUI() hasTransformUI} method shall return false in this case.
    • clone

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

      public void alterMapTransform(Ellipsoid ellipsoid)
      Deprecated.
      Alters the underlying map transformation by changing the values of the transform parameters named "semi_major" and "semi_minor" (if any) to the ones of the supplied ellipsoid.
      Parameters:
      ellipsoid - the ellipsoid
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object