[PATCH 2 of 5] SedimentDensityProcessor: Fix, use getAllDensities instead of only dens. in year 2006

Wald Commits scm-commit at wald.intevation.org
Mon Oct 14 12:09:24 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1381744155 -7200
# Node ID 7a7ce43ddd3f69eac3254d441c4a543224c0e284
# Parent  a6ceb4b333c38324d187e9c9aac25b6338cb8b9a
SedimentDensityProcessor: Fix, use getAllDensities instead of only dens. in year 2006.

diff -r a6ceb4b333c3 -r 7a7ce43ddd3f artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentDensityProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentDensityProcessor.java	Mon Oct 14 11:48:38 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentDensityProcessor.java	Mon Oct 14 11:49:15 2013 +0200
@@ -49,7 +49,7 @@
         double [][] points;
 
         if (facetName.equals(FacetTypes.SEDIMENT_DENSITY)) {
-            points =((SedimentDensity) data).getDensities(2006);
+            points =((SedimentDensity) data).getAllDensities();
         } else {
             logger.error("Unknown facet name: " + facetName);
             return;


More information about the Dive4elements-commits mailing list