comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java @ 4727:c6d70560285f

DA66Parser: Scale x and y, as they are given in mm. Now we can actually look at the data!
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 27 Dec 2012 16:15:51 +0100
parents 4f7d264c27f5
children 0df1cac6c4b5
comparison
equal deleted inserted replaced
4726:4f7d264c27f5 4727:c6d70560285f
275 } 275 }
276 276
277 Double iy; 277 Double iy;
278 Double iz; 278 Double iz;
279 try { 279 try {
280 iy = Double.parseDouble(y); 280 iy = Double.parseDouble(y) / 1000d;
281 iz = Double.parseDouble(z); 281 iz = Double.parseDouble(z) / 1000d;
282 } 282 }
283 catch(java.lang.NumberFormatException nfe) { 283 catch(java.lang.NumberFormatException nfe) {
284 logger.error("Could not parse Number: " + nfe.getMessage()); 284 logger.error("Could not parse Number: " + nfe.getMessage());
285 return false; 285 return false;
286 } 286 }

http://dive4elements.wald.intevation.org