Class UTMProjection
java.lang.Object
org.esa.snap.core.dataop.maptransf.MapProjection
org.esa.snap.core.dataop.maptransf.UTMProjection
- All Implemented Interfaces:
Cloneable
Deprecated.
This class represents the UTM map projection.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UTMProjectioncreate(int zoneIndex, boolean south) Deprecated.Creates a new UTM projection instance.static UTMProjectionDeprecated.Creates a new UTM projection instance.intgetZone()Deprecated.Gets the UTM zone.intDeprecated.Gets the UTM zone as zero-based index: zoneIndex = zone - 1booleanDeprecated.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 Details
-
create
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
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
-
TransverseMercatorinstead.