comparison backend/src/main/java/org/dive4elements/river/importer/ImportRiver.java @ 6283:e81e9dcc81b4

Switch wst_kinds of Waterleve/-Differences (6/7).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 12 Jun 2013 10:28:36 +0200
parents 4c3ccf2b0304
children b2a470c148a7
comparison
equal deleted inserted replaced
6282:62dca91ca229 6283:e81e9dcc81b4
579 579
580 // The parsed ImportWaterlevels are converted to 580 // The parsed ImportWaterlevels are converted to
581 // 'fixation'-wsts now. 581 // 'fixation'-wsts now.
582 for(ImportWst iw: parser.getWaterlevels()) { 582 for(ImportWst iw: parser.getWaterlevels()) {
583 iw.setDescription("CSV/" + iw.getDescription()); 583 iw.setDescription("CSV/" + iw.getDescription());
584 iw.setKind(6); 584 iw.setKind(7);
585 waterlevels.add(iw); 585 waterlevels.add(iw);
586 } 586 }
587 } 587 }
588 588
589 protected void parseMeasurementStations() throws IOException { 589 protected void parseMeasurementStations() throws IOException {
643 } 643 }
644 644
645 // WaterlevelDifferences become Wsts now. 645 // WaterlevelDifferences become Wsts now.
646 for(ImportWst iw: parser.getDifferences()) { 646 for(ImportWst iw: parser.getDifferences()) {
647 iw.setDescription("CSV/" + iw.getDescription()); 647 iw.setDescription("CSV/" + iw.getDescription());
648 iw.setKind(7); 648 iw.setKind(6);
649 waterlevelDifferences.add(iw); 649 waterlevelDifferences.add(iw);
650 } 650 }
651 } 651 }
652 652
653 653

http://dive4elements.wald.intevation.org