# HG changeset patch # User gernotbelger # Date 1528386281 -7200 # Node ID ec1c8d3f311642528babd0f8a60ed2e81519a495 # Parent 0f7364772dd1f3b5a6c7f39b2a64646b930e10ca Configured manual point editing for sinfo charts diff -r 0f7364772dd1 -r ec1c8d3f3116 artifacts/doc/conf/artifacts/manualpoints.xml --- a/artifacts/doc/conf/artifacts/manualpoints.xml Wed Jun 06 17:43:34 2018 +0200 +++ b/artifacts/doc/conf/artifacts/manualpoints.xml Thu Jun 07 17:44:41 2018 +0200 @@ -35,6 +35,12 @@ + + + + + + diff -r 0f7364772dd1 -r ec1c8d3f3116 artifacts/doc/conf/artifacts/sinfo.xml --- a/artifacts/doc/conf/artifacts/sinfo.xml Wed Jun 06 17:43:34 2018 +0200 +++ b/artifacts/doc/conf/artifacts/sinfo.xml Thu Jun 07 17:44:41 2018 +0200 @@ -69,6 +69,8 @@ + + @@ -120,6 +122,8 @@ + + @@ -187,6 +191,8 @@ + + @@ -196,6 +202,8 @@ + + @@ -214,9 +222,6 @@ - - - @@ -248,8 +253,6 @@ - - @@ -258,7 +261,6 @@ - @@ -271,13 +273,11 @@ - - + - + - + - - + + - + - + - - - @@ -342,7 +340,6 @@ - @@ -361,14 +358,11 @@ - - - + - + - + - - + + - + - + - - - - - - - - @@ -444,6 +431,8 @@ + + diff -r 0f7364772dd1 -r ec1c8d3f3116 artifacts/doc/conf/generators/longitudinal-diagrams.xml --- a/artifacts/doc/conf/generators/longitudinal-diagrams.xml Wed Jun 06 17:43:34 2018 +0200 +++ b/artifacts/doc/conf/generators/longitudinal-diagrams.xml Thu Jun 07 17:44:41 2018 +0200 @@ -95,7 +95,7 @@ &longitudinal-defaults; <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" - axis="FlowDepth"/> + axis="flowdepthAxis"/> <subtitle key="chart.w_differences.subtitle" default="-"> <arg expr="artifact.river"/> </subtitle> @@ -108,7 +108,7 @@ <title key="sinfo.chart.flow_depth_minmax.section.title" default="min/max h-Längsschnitt (DEFAULT)"/> &longitudinal-defaults; <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" - axis="FlowDepth"/> + axis="flowdepthAxis"/> <subtitle key="chart.w_differences.subtitle" default="-"> <arg expr="artifact.river"/> </subtitle> @@ -121,7 +121,7 @@ <title key="sinfo.chart.tkh.section.title" default="Transportkörperhöhen (DEFAULT)"/> &longitudinal-defaults; <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" - axis="FlowDepth"/> + axis="tkhAxis"/> <subtitle key="chart.w_differences.subtitle" default="-"> <arg expr="artifact.river"/> </subtitle> @@ -134,7 +134,7 @@ <title key="sinfo.chart.flow_depth_development.section.title" default="Fließtiefenentwicklung (DEFAULT)"/> &longitudinal-defaults; <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" - axis="FlowDepth"/> + axis="flowdepthDevelopmentAxis"/> <subtitle key="chart.w_differences.subtitle" default="-"> <arg expr="artifact.river"/> </subtitle> @@ -147,7 +147,7 @@ <title key="sinfo.chart.flow_depth_development_perYear.section.title" default="Fließtiefenentwicklung pro Jahr (DEFAULT)"/> &longitudinal-defaults; <processor class="org.dive4elements.river.exports.process.ManualPointsProcessor" - axis="FlowDepth"/> + axis="flowdepthDevelopmentPerYearAxis"/> <subtitle key="chart.w_differences.subtitle" default="-"> <arg expr="artifact.river"/> </subtitle> diff -r 0f7364772dd1 -r ec1c8d3f3116 artifacts/doc/conf/themes.xml --- a/artifacts/doc/conf/themes.xml Wed Jun 06 17:43:34 2018 +0200 +++ b/artifacts/doc/conf/themes.xml Thu Jun 07 17:44:41 2018 +0200 @@ -450,5 +450,11 @@ <mapping from="sinfo_facet_infrastructure_height" to="SInfoInfrastructureHeight" /> <mapping from="sinfo_facet_collision_count" to="SInfoCollisionCount" /> <mapping from="sinfo_facet_collision_gaugew" to="SInfoCollisionGaugeW" /> + + <mapping from="sinfo_flow_depth.manualpoints" to="ManualPoints" /> + <mapping from="sinfo_flow_depth_minmax.manualpoints" to="ManualPoints" /> + <mapping from="sinfo_flow_depth_development.manualpoints" to="ManualPoints" /> + <mapping from="sinfo_flow_depth_development_peryear.manualpoints" to="ManualPoints" /> + <mapping from="sinfo_tkk" to="ManualPoints" /> </mappings> </themes> \ No newline at end of file diff -r 0f7364772dd1 -r ec1c8d3f3116 artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java Wed Jun 06 17:43:34 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/FacetTypes.java Thu Jun 07 17:44:41 2018 +0200 @@ -153,7 +153,7 @@ return false; } - }; + } /** Available diagram/chart-types. This enum is evaluated at certain * places to iterate over chart-types to e.g. dynamically generate @@ -188,9 +188,14 @@ SQE("sq_relation_e"), SQF("sq_relation_f"), HD("historical_discharge"), - HDWQ("historical_discharge_wq"); - // FIXME: do we need this? and why? - // SFD("sinfo_flow_depth"); + HDWQ("historical_discharge_wq"), + SFD("sinfo_flow_depth"), + SFDMM("sinfo_flow_depth_minmax"), + SFDD("sinfo_flow_depth_development"), + SFDDPY("sinfo_flow_depth_development_peryear"), + SC("sinfo_collision"), + SFDUR("sinfo_flood_duration"), + STKH("sinfo_tkk"); private String chartTypeString;