org.esa.beam.framework.dataop.maptransf
Class UTMProjection

java.lang.Object
  extended by org.esa.beam.framework.dataop.maptransf.MapProjection
      extended by org.esa.beam.framework.dataop.maptransf.UTMProjection
All Implemented Interfaces:
Cloneable

Deprecated. since BEAM 4.7, use geotools TransverseMercator instead.

@Deprecated
public class UTMProjection
extends MapProjection

This class represents the UTM map projection.


Method Summary
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 - 1
 boolean hasMapTransformUI()
          Deprecated. This mehtod allways returns false, 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.beam.framework.dataop.maptransf.MapProjection
alterMapTransform, clone, equals, getMapTransform, getMapTransformUI, getMapUnit, getName, hashCode, isPreDefined, setMapTransform, setMapUnit, setName, setPreDefined
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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 32
south - 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 32
south - 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 returns false, because UTM projections does not allow editing the transformation parameters.

Overrides:
hasMapTransformUI in class MapProjection
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


Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.