org.openstreetmap.josm.data.projection
Class SwissGrid

java.lang.Object
  extended by org.openstreetmap.josm.data.projection.AbstractProjection
      extended by 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.


Field Summary
 
Fields inherited from class org.openstreetmap.josm.data.projection.AbstractProjection
datum, ellps, k_0, lon_0, proj, x_0, y_0
 
Constructor Summary
SwissGrid()
           
 
Method Summary
 java.lang.String getCacheDirectoryName()
          Get a filename compatible string (for the cache directory)
 java.lang.Integer getEpsgCode()
           
 Bounds getWorldBoundsLatLon()
          Get the bounds of the world
 int hashCode()
           
 java.lang.String toString()
          Describe the projection converter in one or two words.
 
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
 

Constructor Detail

SwissGrid

public SwissGrid()
Method Detail

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