Changeset 5066 in josm for trunk/src/org/openstreetmap/josm/data/projection/Mercator.java
- Timestamp:
- 2012-03-10T16:18:23+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Mercator.java
r4285 r5066 7 7 import org.openstreetmap.josm.data.coor.LatLon; 8 8 import org.openstreetmap.josm.data.projection.datum.WGS84Datum; 9 import org.openstreetmap.josm.data.projection.proj.ProjParameters; 9 10 10 11 /** … … 25 26 datum = WGS84Datum.INSTANCE; 26 27 proj = new org.openstreetmap.josm.data.projection.proj.Mercator(); 28 try { 29 proj.initialize(new ProjParameters()); 30 } catch (ProjectionConfigurationException e) { 31 throw new RuntimeException(e); 32 } 27 33 } 28 34 29 @Override 35 @Override 30 36 public String toString() { 31 37 return tr("Mercator"); … … 34 40 @Override 35 41 public Integer getEpsgCode() { 36 /* initially they used 3785 but that has been superseded, 42 /* initially they used 3785 but that has been superseded, 37 43 * see http://www.epsg-registry.org/ */ 38 44 return 3857;
Note:
See TracChangeset
for help on using the changeset viewer.