changeset 6997:7621f5f409b1

issue1472: Do not guess flow direction from differences.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 12 Sep 2013 11:33:26 +0200
parents 0f740919fa26
children e96d3f6c7c42
files artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);
         }
+        */
     }
 
 

http://dive4elements.wald.intevation.org