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 geotoolsMapProjection
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 Summary
Constructors Constructor Description MapProjection(String name, MapTransform mapTransform)
Deprecated.MapProjection(String name, MapTransform mapTransform, boolean preDefined)
Deprecated.MapProjection(String name, MapTransform mapTransform, String mapUnit)
Deprecated.MapProjection(String name, MapTransform mapTransform, String mapUnit, boolean preDefined)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.Object
clone()
Deprecated.boolean
equals(Object obj)
Deprecated.MapTransform
getMapTransform()
Deprecated.MapTransformUI
getMapTransformUI()
Deprecated.Gets a user interface for editing the transformation properties of this map projection.String
getMapUnit()
Deprecated.String
getName()
Deprecated.int
hashCode()
Deprecated.boolean
hasMapTransformUI()
Deprecated.Tests if a user interface is available.boolean
isPreDefined()
Deprecated.void
setMapTransform(MapTransform transform)
Deprecated.void
setMapUnit(String mapUnit)
Deprecated.void
setName(String name)
Deprecated.void
setPreDefined(boolean preDefined)
Deprecated.
-
-
-
Constructor Detail
-
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 Detail
-
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 forgetMapTransform().getDescriptor().hasTransformUI();
- Returns:
true
if a user interface is available, in this case thegetMapTransformUI()
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 returnfalse
in this case.
-
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
-
-