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 geotoolsTransverseMercator
instead.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 UTMProjection
create(int zoneIndex, boolean south)
Deprecated.Creates a new UTM projection instance.static UTMProjection
create(String name, int zoneIndex, boolean south)
Deprecated.Creates a new UTM projection instance.int
getZone()
Deprecated.Gets the UTM zone.int
getZoneIndex()
Deprecated.Gets the UTM zone as zero-based index: zoneIndex = zone - 1boolean
hasMapTransformUI()
Deprecated.This mehtod allways returnsfalse
, because UTM projections does not allow editing the transformation parameters.boolean
isNorth()
Deprecated.Tests if this UTM zone is on the northern hemisphere.boolean
isSouth()
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:
hasMapTransformUI
in classMapProjection
- Returns:
false
because 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
-
-