view artifacts/doc/conf/generators/longitudinal-diagrams.xml @ 9713:aef987124822 3.2.x

Do not rely on database default for setting hws_lines.official to 0 It's not under the control of the importer whether the field is rendered into an INSERT statement, whether it's actually set or not. If it is unset but rendered into the statement, the field would be set to NULL. Thus, always set it explicitly. While here, remove an unused import.
author Tom Gottfried <tom@intevation.de>
date Fri, 12 Mar 2021 15:11:44 +0100
parents 88b831b7bead
children 7bbfb24e6eec
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8" ?>
<longitudinal-diagrams>
    <output-generator
        names="longitudinal_section,longitudinal_section_chartinfo,discharge_longitudinal_section,discharge_longitudinal_section_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.longitudinal.section.title" default="W-Längsschnitt"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/>
    </output-generator>
    <output-generator
        names="w_differences,w_differences_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.w_differences.title" default="Differences"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/>
        <subtitle key="chart.w_differences.subtitle" default="-">
            <arg expr="artifact.river"/>
        </subtitle>
    </output-generator>
    <output-generator
        names="fix_longitudinal_section_curve,fix_longitudinal_section_curve_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.fixings.longitudinalsection.title" default="Fixierungsanalyse"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="deltaW"/>
    </output-generator>
    <output-generator
        names="bedheight_middle,bedheight_middle_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.bedheight_middle.section.title" default="Mittlere Sohlhöhe"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" axis="W"/>
    </output-generator>
    <output-generator
        names="bed_difference_height_year,bed_difference_height_year_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.beddifference.height.title" default="Sohlenhöhen Differenz"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor"
            axis="diffBed/Y"/>
        <subtitle key="chart.w_differences.subtitle" default="-">
            <arg expr="artifact.river"/>
        </subtitle>
    </output-generator>
    <output-generator names="bed_difference_year,bed_difference_year_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.beddifference.year.title" default="Sohlenhöhen Differenz"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor"
            axis="diffBed"/>
        <subtitle key="chart.w_differences.subtitle" default="-">
            <arg expr="artifact.river"/>
        </subtitle>
    </output-generator>
    <output-generator names="bed_longitudinal_section,bed_longitudinal_section_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.bedquality.title" default="Sohlen Längsschnitt"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor"
            axis="diffBed"/>
    </output-generator>
    <output-generator
        names="sedimentload_ls,sedimentload_ls_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.sedimentload.ls.title" default="Sedimentfracht"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor"
            axis="SedimentLoad"/>
    </output-generator>
    <output-generator
        names="flow_velocity,flow_velocity_chartinfo"
        class="org.dive4elements.river.exports.LongitudinalSectionGenerator2"
        converter="org.dive4elements.river.exports.DiagramAttributes">
        <title key="chart.flow_velocity.section.title" default="Geschwindigkeit- und Schubspannung"/>
        &longitudinal-defaults;
        <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor"
            axis="Velocity"/>
        <subtitle key="chart.w_differences.subtitle" default="-">
            <arg expr="artifact.river"/>
        </subtitle>
    </output-generator>
</longitudinal-diagrams>

http://dive4elements.wald.intevation.org