Changeset 8611 in josm
- Timestamp:
- 2015-07-22T21:55:54+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r8610 r8611 196 196 String zoneStr = parameters.get(Param.zone.key); 197 197 Integer zone; 198 if (zoneStr == null) 198 if (zoneStr == null) 199 199 throw new ProjectionConfigurationException(tr("UTM projection (''+proj=utm'') requires ''+zone=...'' parameter.")); 200 200 try { … … 236 236 s = parameters.get(Param.units.key); 237 237 if (s != null) { 238 this.metersPerUnit = UNITS_TO_METERS.get(s); 238 s = Utils.strip(s, "\""); 239 if (UNITS_TO_METERS.containsKey(s)) { 240 this.metersPerUnit = UNITS_TO_METERS.get(s); 241 } else { 242 Main.warn("No metersPerUnit found for: " + s); 243 } 239 244 } 240 245 s = parameters.get(Param.to_meter.key); … … 357 362 ellps = Ellipsoid.WGS84; 358 363 } 359 364 360 365 String nadgridsId = parameters.get(Param.nadgrids.key); 361 366 if (nadgridsId != null) {
Note:
See TracChangeset
for help on using the changeset viewer.