# HG changeset patch # User Ingo Weinzierl # Date 1339660656 0 # Node ID 6875120af2a2222b14b15fa3d1f79ac3da0aef30 # Parent 4067ec9036c28df6617a9304f49922f0ad057ca0 Fetch only 'qps' cross section tracks for WSPLGEN calculation. flys-artifacts/trunk@4655 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 4067ec9036c2 -r 6875120af2a2 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Jun 13 15:36:13 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jun 14 07:57:36 2012 +0000 @@ -1,3 +1,9 @@ +2012-06-14 Ingo Weinzierl + + * src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java: + Fetch only cross section tracks that have a name 'qps' set for WSPLGEN + calculation. + 2012-06-11 Sascha L. Teichmann * src/main/java/de/intevation/flys/artifacts/model/fixings/FixAvSectorFacet.java: diff -r 4067ec9036c2 -r 6875120af2a2 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java Wed Jun 13 15:36:13 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/FloodMapState.java Thu Jun 14 07:57:36 2012 +0000 @@ -86,6 +86,8 @@ public static final String WSPLGEN_USER_ZIP = "user-rgd.zip"; public static final String WSPLGEN_USER_FILENAME = "user-rgd"; + public static final String WSPLGEN_QPS_NAME = "qps"; + public static final int WSPLGEN_DEFAULT_OUTPUT = 0; @@ -648,7 +650,7 @@ String srs = "EPSG:" + srid; List cst = - CrossSectionTrack.getCrossSectionTrack(river); + CrossSectionTrack.getCrossSectionTrack(river, WSPLGEN_QPS_NAME); logger.debug("Found " + cst.size() + " CrossSectionTracks.");