Class UTMProjection
- java.lang.Object
-
- org.esa.snap.core.dataop.maptransf.MapProjection
-
- org.esa.snap.core.dataop.maptransf.UTMProjection
-
- All Implemented Interfaces:
Cloneable
@Deprecated public class UTMProjection extends MapProjection
Deprecated.since BEAM 4.7, use geotoolsTransverseMercatorinstead.This class represents the UTM map projection.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static UTMProjectioncreate(int zoneIndex, boolean south)Deprecated.Creates a new UTM projection instance.static UTMProjectioncreate(String name, int zoneIndex, boolean south)Deprecated.Creates a new UTM projection instance.intgetZone()Deprecated.Gets the UTM zone.intgetZoneIndex()Deprecated.Gets the UTM zone as zero-based index: zoneIndex = zone - 1booleanhasMapTransformUI()Deprecated.This mehtod allways returnsfalse, because UTM projections does not allow editing the transformation parameters.booleanisNorth()Deprecated.Tests if this UTM zone is on the northern hemisphere.booleanisSouth()Deprecated.Tests if this UTM zone is on the southern hemisphere.-
Methods inherited from class org.esa.snap.core.dataop.maptransf.MapProjection
alterMapTransform, clone, equals, getMapTransform, getMapTransformUI, getMapUnit, getName, hashCode, isPreDefined, setMapTransform, setMapUnit, setName, setPreDefined
-
-
-
-
Method Detail
-
create
public static UTMProjection create(int zoneIndex, boolean south)
Deprecated.Creates a new UTM projection instance.- Parameters:
zoneIndex- the zne as zero-based index, e.g. 31 for zone 32south- false, if the zone is on the northern hemisphere- Returns:
- the new projection
-
create
public static UTMProjection create(String name, int zoneIndex, boolean south)
Deprecated.Creates a new UTM projection instance.- Parameters:
name- the projection name, e.g. "UTM Zone 32"zoneIndex- the zne as zero-based index, e.g. 31 for zone 32south- false, if the zone is on the northern hemisphere- Returns:
- the new projection
-
getZoneIndex
public int getZoneIndex()
Deprecated.Gets the UTM zone as zero-based index: zoneIndex = zone - 1- Returns:
- the UTM zone as zero-based index
-
getZone
public int getZone()
Deprecated.Gets the UTM zone.- Returns:
getZoneIndex()+ 1
-
hasMapTransformUI
public boolean hasMapTransformUI()
Deprecated.This mehtod allways returnsfalse, because UTM projections does not allow editing the transformation parameters.- Overrides:
hasMapTransformUIin classMapProjection- Returns:
falsebecause UTM projections does not allow editing the transformation parameters.
-
isNorth
public boolean isNorth()
Deprecated.Tests if this UTM zone is on the northern hemisphere.- Returns:
- true, if so
-
isSouth
public boolean isSouth()
Deprecated.Tests if this UTM zone is on the southern hemisphere.- Returns:
- true, if so
-
-