org.openstreetmap.josm.data.projection
Class UTM
java.lang.Object
org.openstreetmap.josm.data.projection.AbstractProjection
org.openstreetmap.josm.data.projection.UTM
- All Implemented Interfaces:
- Projection
public class UTM
- extends AbstractProjection
Methods inherited from class org.openstreetmap.josm.data.projection.AbstractProjection |
convertDegreeMinuteSecond, convertMinuteSecond, dump, eastNorth2latlon, getCentralMeridian, getDatum, getDefaultZoomInPPD, getEllipsoid, getFalseEasting, getFalseNorthing, getProj, getScaleFactor, latlon2eastNorth, toCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
DEFAULT_ZONE
private static final int DEFAULT_ZONE
- See Also:
- Constant Field Values
zone
private int zone
DEFAULT_HEMISPHERE
private static final UTM.Hemisphere DEFAULT_HEMISPHERE
hemisphere
private UTM.Hemisphere hemisphere
UTM
public UTM()
UTM
public UTM(int zone,
UTM.Hemisphere hemisphere)
getUtmCentralMeridianDeg
private double getUtmCentralMeridianDeg(int zone)
getzone
public int getzone()
toString
public java.lang.String toString()
- Description copied from interface:
Projection
- Describe the projection converter in one or two words.
- Specified by:
toString
in interface Projection
- Overrides:
toString
in class java.lang.Object
getEpsgCode
public java.lang.Integer getEpsgCode()
- Specified by:
getEpsgCode
in class AbstractProjection
- Returns:
- The EPSG Code of this CRS, null if it doesn't have one.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getCacheDirectoryName
public java.lang.String getCacheDirectoryName()
- Description copied from interface:
Projection
- Get a filename compatible string (for the cache directory)
getWorldBoundsLatLon
public Bounds getWorldBoundsLatLon()
- Description copied from interface:
Projection
- Get the bounds of the world
JOSM