comparison backend/src/main/java/org/dive4elements/river/importer/ImportRiver.java @ 6339:aef238fdd9b6

Backend: Added special ImportWstColumns for official lines. They have to be glued with the main values.
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 14 Jun 2013 16:56:30 +0200
parents 224d7c4b5291
children 0f7e9a4f1c5a
comparison
equal deleted inserted replaced
6337:224d7c4b5291 6339:aef238fdd9b6
790 log.warn("no official lines wst file found"); 790 log.warn("no official lines wst file found");
791 continue; 791 continue;
792 } 792 }
793 log.debug("Found WST file: " + file); 793 log.debug("Found WST file: " + file);
794 794
795 ImportWst iw = new ImportWst(); 795 ImportWst iw = new ImportWst(ImportOfficialWstColumn.COLUMN_FACTORY);
796 796
797 WstParser wstParser = new WstParser(iw); 797 WstParser wstParser = new WstParser(iw);
798 wstParser.parse(file); 798 wstParser.parse(file);
799 iw.setKind(3); 799 iw.setKind(3);
800 iw.setDescription(folder + "/" + iw.getDescription()); 800 iw.setDescription(folder + "/" + iw.getDescription());

http://dive4elements.wald.intevation.org