org.openstreetmap.josm.data.projection
Class SwissGrid
java.lang.Object
org.openstreetmap.josm.data.projection.AbstractProjection
org.openstreetmap.josm.data.projection.SwissGrid
- All Implemented Interfaces:
- Projection
public class SwissGrid
- extends AbstractProjection
SwissGrid CH1903 / L03, see http://de.wikipedia.org/wiki/Swiss_Grid.
Actually, what we have here, is CH1903+ (EPSG:2056), but without
the additional false easting of 2000km and false northing 1000 km.
To get to CH1903, a shift file is required. So currently, there are errors
up to 1.6m (depending on the location).
This projection does not have any parameters, it only implements
ProjectionSubPrefs to show a warning that the grid file correction is not done.
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 |
SwissGrid
public SwissGrid()
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