org.openstreetmap.josm.data.projection
Class Mercator
java.lang.Object
org.openstreetmap.josm.data.projection.AbstractProjection
org.openstreetmap.josm.data.projection.Mercator
- All Implemented Interfaces:
- Projection
public class Mercator
- extends AbstractProjection
Mercator Projection
The center of the mercator projection is always the 0 grad
coordinate.
See also USGS Bulletin 1532
(http://egsc.usgs.gov/isb/pubs/factsheets/fs08799.html)
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 |
Mercator
public Mercator()
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