org.openstreetmap.josm.data.projection
Class Puwg

java.lang.Object
  extended by org.openstreetmap.josm.data.projection.AbstractProjection
      extended by org.openstreetmap.josm.data.projection.Puwg
All Implemented Interfaces:
Projection

public class Puwg
extends AbstractProjection

PUWG 1992 and 2000 are the official cordinate systems in Poland. They use the same math as UTM only with different constants.


Nested Class Summary
static class Puwg.Epsg2176
           
static class Puwg.Epsg2177
           
static class Puwg.Epsg2178
           
static class Puwg.Epsg2179
           
static class Puwg.Epsg2180
           
(package private) static class Puwg.Puwg2000
           
static interface Puwg.PuwgData
           
 
Field Summary
static int DEFAULT_ZONE
           
private  int zone
           
static Puwg.PuwgData[] zones
           
 
Fields inherited from class org.openstreetmap.josm.data.projection.AbstractProjection
datum, ellps, k_0, lon_0, proj, x_0, y_0
 
Constructor Summary
Puwg()
           
Puwg(int zone)
           
 
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
 

Field Detail

DEFAULT_ZONE

public static final int DEFAULT_ZONE
See Also:
Constant Field Values

zone

private final int zone

zones

public static Puwg.PuwgData[] zones
Constructor Detail

Puwg

public Puwg()

Puwg

public Puwg(int zone)
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