Changeset 1169 in josm for trunk/src/org/openstreetmap/josm/data/projection/Epsg4326.java
- Timestamp:
- 2008-12-23T15:07:05+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Epsg4326.java
r1032 r1169 12 12 public class Epsg4326 implements Projection { 13 13 14 15 16 14 public EastNorth latlon2eastNorth(LatLon p) { 15 return new EastNorth(p.lon(), p.lat()); 16 } 17 17 18 19 20 18 public LatLon eastNorth2latlon(EastNorth p) { 19 return new LatLon(p.north(), p.east()); 20 } 21 21 22 23 24 22 @Override public String toString() { 23 return tr("EPSG:4326"); 24 } 25 25 26 26 public String getCacheDirectoryName() { … … 28 28 } 29 29 30 31 30 public double scaleFactor() { 31 return 1.0/360; 32 32 } 33 33 34 35 36 34 @Override public boolean equals(Object o) { 35 return o instanceof Epsg4326; 36 } 37 37 38 39 40 38 @Override public int hashCode() { 39 return Epsg4326.class.hashCode(); 40 } 41 41 }
Note:
See TracChangeset
for help on using the changeset viewer.