Mercurial > dive4elements > river
changeset 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 | ccae8b43e527 |
files | flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Thu Dec 27 16:15:15 2012 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/DA66Parser.java Thu Dec 27 16:15:51 2012 +0100 @@ -277,8 +277,8 @@ Double iy; Double iz; try { - iy = Double.parseDouble(y); - iz = Double.parseDouble(z); + iy = Double.parseDouble(y) / 1000d; + iz = Double.parseDouble(z) / 1000d; } catch(java.lang.NumberFormatException nfe) { logger.error("Could not parse Number: " + nfe.getMessage());