Changeset 1309 in josm for trunk/src/org/openstreetmap/josm/data/projection
- Timestamp:
- 2009-01-20T13:55:33+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data/projection
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Epsg4326.java
r1169 r1309 24 24 } 25 25 26 public String toCode() { 27 return "EPSG:4326"; 28 } 29 26 30 public String getCacheDirectoryName() { 27 31 return "epsg4326"; -
trunk/src/org/openstreetmap/josm/data/projection/Lambert.java
r1212 r1309 122 122 } else if (layoutZone != currentZone) { 123 123 if ((currentZone < layoutZone && Math.abs(zoneLimits[currentZone] - lt) > cMaxOverlappingZones) 124 124 || (currentZone > layoutZone && Math.abs(zoneLimits[layoutZone] - lt) > cMaxOverlappingZones)) { 125 125 JOptionPane.showMessageDialog(Main.parent, 126 127 128 129 + "Undo your last action, Save your work\n"130 + "and Start a new layer on the new zone."));126 tr("IMPORTANT : data positioned far away from\n" 127 + "the current Lambert zone limits.\n" 128 + "Do not upload any data after this message.\n" 129 + "Undo your last action, save your work\n" 130 + "and start a new layer on the new zone.")); 131 131 layoutZone = -1; 132 132 dontDisplayErrors = true; … … 157 157 @Override public String toString() { 158 158 return tr("Lambert Zone (France)"); 159 } 160 161 public String toCode() { 162 return "EPSG::"+(27571+currentZone); 159 163 } 160 164 -
trunk/src/org/openstreetmap/josm/data/projection/LambertEST.java
r1230 r1309 97 97 } 98 98 99 public String toCode() { 100 return "EPSG:3301"; 101 } 102 99 103 public String getCacheDirectoryName() { 100 104 return "lambertest"; -
trunk/src/org/openstreetmap/josm/data/projection/Mercator.java
r1261 r1309 37 37 } 38 38 39 public String toCode() { 40 return "EPSG:3785"; /* TODO: Check if that is correct */ 41 } 42 39 43 public String getCacheDirectoryName() { 40 44 return "mercator"; -
trunk/src/org/openstreetmap/josm/data/projection/Projection.java
r1230 r1309 58 58 59 59 /** 60 * Return projection code. 61 */ 62 String toCode(); 63 64 /** 60 65 * Get a filename compatible string (for the cache directory) 61 66 */
Note:
See TracChangeset
for help on using the changeset viewer.