[PATCH] issue1472: Do not guess flow direction from differences

Wald Commits scm-commit at wald.intevation.org
Thu Sep 12 11:28:21 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1378978406 -7200
# Node ID 7621f5f409b1c8e000fad0d02583840b30d086e1
# Parent  0f740919fa26d7ab9ae1dd438a3ffbdc0c9420df
issue1472: Do not guess flow direction from differences.

diff -r 0f740919fa26 -r 7621f5f409b1 artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java	Thu Sep 12 10:15:18 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java	Thu Sep 12 11:33:26 2013 +0200
@@ -425,9 +425,12 @@
         StyledSeriesBuilder.addPoints(series, wkms);
 
         addAxisSeries(series, YAXIS.D.idx, visible);
+        /*
+        // isue1472: Do not guess direction from differences.
         if (DataUtil.guessWaterIncreasing(wkms.allWs())) {
             setInverted(true);
         }
+        */
     }
 
 


More information about the Dive4elements-commits mailing list