changeset 7505:4efa34256b62

issue1658: Fix SedimentLoadLSGenerator (with surprise: isnt that done via processors?).
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 01 Nov 2013 16:37:19 +0100
parents 83b7b957c360
children e79e231c864d
files artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentLoadTAProcessor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java	Fri Nov 01 16:31:24 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/SedimentLoadLSGenerator.java	Fri Nov 01 16:37:19 2013 +0100
@@ -133,7 +133,7 @@
             context.putContextValue("startkm", bounds.getLower());
             context.putContextValue("endkm", bounds.getUpper());
         }
-        if (FacetTypes.IS.SEDIMENT_LOAD(name)) {
+        if (FacetTypes.IS.SEDIMENT_LOAD_TA(name)||FacetTypes.IS.SEDIMENT_LOAD_M3A(name)){
             doSedimentLoadOut(
                 (double[][]) bundle.getData(context),
                 bundle,

http://dive4elements.wald.intevation.org