[PATCH] issue1440: Add gap detection at >101m for BedQuality LS diagrams

Wald Commits scm-commit at wald.intevation.org
Wed Aug 7 13:55:22 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1375877107 -7200
# Node ID 10646f31efec538bf1e1f84e7c0e14ae01dc1736
# Parent  3808a1bc1cc571956dc04f96278a7ede796348b8
issue1440: Add gap detection at >101m for BedQuality LS diagrams.

diff -r 3808a1bc1cc5 -r 10646f31efec artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityGenerator.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityGenerator.java	Wed Aug 07 11:07:37 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/minfo/BedQualityGenerator.java	Wed Aug 07 14:05:07 2013 +0200
@@ -225,7 +225,7 @@
         boolean visible
     ) {
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
-        StyledSeriesBuilder.addPoints(series, data.getDiameterData(), true);
+        StyledSeriesBuilder.addPoints(series, data.getDiameterData(), true, 0.101d);
 
         addAxisSeries(series, YAXIS.W.idx, visible);
     }
@@ -235,7 +235,7 @@
         logger.debug("BedQuality.doBedDiameterTopLayerOut");
 
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
-        StyledSeriesBuilder.addPoints(series, data.getDiameterCapData(), true);
+        StyledSeriesBuilder.addPoints(series, data.getDiameterCapData(), true, 0.101d);
 
         addAxisSeries(series, YAXIS.W.idx, visible);
     }
@@ -245,7 +245,7 @@
         logger.debug("BedQuality.doBedDiameterSubLayerOut");
 
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
-        StyledSeriesBuilder.addPoints(series, data.getDiameterSubData(), true);
+        StyledSeriesBuilder.addPoints(series, data.getDiameterSubData(), true, 0.101d);
 
         addAxisSeries(series, YAXIS.W.idx, visible);
     }
@@ -255,7 +255,7 @@
         logger.debug("BedQuality.doBedLoadDiameterOut");
 
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
-        StyledSeriesBuilder.addPoints(series, data.getDiameterData(), true);
+        StyledSeriesBuilder.addPoints(series, data.getDiameterData(), true, 0.101d);
 
         addAxisSeries(series, YAXIS.W.idx, visible);
     }
@@ -267,7 +267,7 @@
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
 
         StyledSeriesBuilder.addPoints(series, data.getPorosityCapData(),
-            true);
+            true, 0.101d);
 
         addAxisSeries(series, YAXIS.P.idx, visible);
     }
@@ -279,7 +279,7 @@
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
 
         StyledSeriesBuilder.addPoints(series, data.getPorositySubData(),
-            true);
+            true, 0.101d);
 
         addAxisSeries(series, YAXIS.P.idx, visible);
     }
@@ -291,7 +291,7 @@
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
 
         StyledSeriesBuilder.addPoints(series, data.getDensityCapData(),
-            true);
+            true, 0.101d);
 
         addAxisSeries(series, YAXIS.D.idx, visible);
     }
@@ -303,7 +303,7 @@
         XYSeries series = new StyledXYSeries(aandf.getFacetDescription(), theme);
 
         StyledSeriesBuilder.addPoints(series, data.getDensitySubData(),
-            true);
+            true, 0.101d);
 
         addAxisSeries(series, YAXIS.D.idx, visible);
     }


More information about the Dive4elements-commits mailing list