[Dive4elements-commits] [PATCH 5 of 8] WaterlevelParser: Use correct wst kind 6 for Waterlevels

Wald Commits scm-commit at wald.intevation.org
Tue Mar 12 09:34:34 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1363010949 -3600
# Node ID fb5771196c82e1cf7c11661990fc7cd2309a35a1
# Parent  fb7d43ba8147f399996768aa57a4b8628ef20c61
WaterlevelParser: Use correct wst kind 6 for Waterlevels.

diff -r fb7d43ba8147 -r fb5771196c82 flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelParser.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelParser.java	Mon Mar 11 15:08:43 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/WaterlevelParser.java	Mon Mar 11 15:09:09 2013 +0100
@@ -17,9 +17,9 @@
 import de.intevation.flys.importer.ImportWaterlevelQRange;
 import de.intevation.flys.importer.ImportWaterlevelValue;
 
-import de.intevation.flys.importer.ImportWstColumn;
 import de.intevation.flys.importer.ImportRange;
 import de.intevation.flys.importer.ImportWst;
+import de.intevation.flys.importer.ImportWstColumn;
 import de.intevation.flys.importer.ImportWstQRange;
 
 
@@ -69,7 +69,7 @@
             wsts.add(wst);
             wst.setDescription(description);
             // Fixation kind.
-            wst.setKind(2);
+            wst.setKind(6);
             wst.setUnit(waterlevel.getUnit());
 
             // Fake WST has but 1 column.


More information about the Dive4elements-commits mailing list