changeset 5248:35b78d8c44b8

ImportRiver: In analogy to other wst imports, set kind in ImportRiver.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 12 Mar 2013 12:28:51 +0100
parents 93d4145d5740
children 9c4e2192810c
files flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Tue Mar 12 12:28:26 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java	Tue Mar 12 12:28:51 2013 +0100
@@ -563,6 +563,7 @@
         // 'fixation'-wsts now.
         for(ImportWst iw: parser.getWaterlevels()) {
             iw.setDescription("CSV/" + iw.getDescription());
+            iw.setKind(6);
             fixations.add(iw);
         }
     }
@@ -626,6 +627,7 @@
         // WaterlevelDifferences become Wsts now.
         for(ImportWst iw: parser.getDifferences()) {
             iw.setDescription("CSV/" + iw.getDescription());
+            iw.setKind(7);
             waterlevelDifferences.add(iw);
         }
     }

http://dive4elements.wald.intevation.org