[PATCH 4 of 4] Configure bed_difference_year in the new way

Wald Commits scm-commit at wald.intevation.org
Wed Sep 25 15:08:54 CEST 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1380114528 -7200
# Node ID 41779c13f9e42ceecd3bf1baa8d275ddfe580d03
# Parent  414794d0a50de64d2ee3a927c872b86aa38d3158
Configure bed_difference_year in the new way

diff -r 414794d0a50d -r 41779c13f9e4 artifacts/doc/conf/generators.xml
--- a/artifacts/doc/conf/generators.xml	Wed Sep 25 15:08:18 2013 +0200
+++ b/artifacts/doc/conf/generators.xml	Wed Sep 25 15:08:48 2013 +0200
@@ -146,9 +146,36 @@
         <processor class="org.dive4elements.river.exports.process.MiddleBedHeightProcessor" axis="H"/>
     </output-generator>
 
-
-    <output-generator names="bed_difference_year" class="org.dive4elements.river.exports.minfo.BedDifferenceYearGenerator"/>
-    <output-generator names="bed_difference_year_chartinfo" class="org.dive4elements.river.exports.minfo.BedDiffYearInfoGenerator"/>
+    <output-generator names="bed_difference_year,bed_difference_year_chartinfo"
+        class="org.dive4elements.river.exports.DiagramGenerator"
+        converter="org.dive4elements.river.exports.DiagramAttributes">
+        <axis name="W"/>
+        <axis name="diffW"/>
+        <axis name="deltaW"/>
+        <axis name="diffBed"/>
+        <axis name="diffBed/Y"/>
+        <axis name="Q" include-zero="true"/>
+        <axis name="BedHeight"/>
+        <axis name="SoundingWidth"/>
+        <axis name="Width"/>
+        <axis name="" type="X"/>
+        <title key="chart.beddifference.year.title" default="Sohlenhöhen Differenz"/>
+        <domain-axis key="chart.beddifference.xaxis.label" default="Fluss-Km">
+            <arg expr="artifact.river"/>
+        </domain-axis>
+        <processor class="org.dive4elements.river.exports.process.DeltaWProcessor" axis="deltaW"/>
+        <processor class="org.dive4elements.river.exports.process.AnnotationProcessor" axis="none"/>
+        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/>
+        <processor class="org.dive4elements.river.exports.process.AreaProcessor" axis="none"/>
+        <processor class="org.dive4elements.river.exports.process.WDiffProcessor" axis="diffW"/>
+        <processor class="org.dive4elements.river.exports.process.WOutProcessor" axis="W"/>
+        <processor class="org.dive4elements.river.exports.process.QOutProcessor" axis="Q"/>
+        <processor class="org.dive4elements.river.exports.process.BedHeightSoundingProcessor" axis="SoundingWidth"/>
+        <processor class="org.dive4elements.river.exports.process.BedWidthProcessor" axis="Width"/>
+        <processor class="org.dive4elements.river.exports.process.BedDiffYearProcessor" axis="diffBed"/>
+        <processor class="org.dive4elements.river.exports.process.BedDiffHeightYearProcessor" axis="diffBed/Y"/>
+        <processor class="org.dive4elements.river.exports.process.MiddleBedHeightProcessor" axis="BedHeight"/>
+    </output-generator>
     <output-generator names="duration_curve" class="org.dive4elements.river.exports.DurationCurveGenerator"/>
     <output-generator names="duration_curve_chartinfo" class="org.dive4elements.river.exports.DurationCurveInfoGenerator"/>
     <output-generator names="waterlevel_export" class="org.dive4elements.river.exports.WaterlevelExporter"/>


More information about the Dive4elements-commits mailing list