annotate artifacts/doc/conf/meta-data.xml @ 9698:812a6a3eaaf5

another try
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Wed, 20 Jan 2021 17:19:59 +0100
parents 4311db5dacc8
children
rev   line source
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3 <datacage>
5015
86e79fbb8fa3 Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents: 4895
diff changeset
4
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
5 <dc:call-macro name="load-user" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
6
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
7 <dc:call-macro name="load-system" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
8
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
9 <dc:macro name="load-system">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
10 <dc:context connection="system">
5015
86e79fbb8fa3 Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents: 4895
diff changeset
11 <dc:statement>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
12 SELECT id AS river_id, name AS river_name
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
13 FROM rivers
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
14 WHERE lower(name) LIKE lower(${river})
5015
86e79fbb8fa3 Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents: 4895
diff changeset
15 </dc:statement>
5522
eeac800eb4cd Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5516
diff changeset
16 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
17 <dc:call-macro name="generate-system-content" />
5522
eeac800eb4cd Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5516
diff changeset
18 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
19 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
20 </dc:macro>
3283
a8ce3263b0a7 Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 3219
diff changeset
21
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
22 <dc:macro name="load-user">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
23 <old_calculations>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
24 <dc:call-macro name="generate-user-content" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
25 </old_calculations>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
26 </dc:macro>
4014
e5e1331d0440 Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 3975
diff changeset
27
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
28 <dc:macro name="generate-system-content">
6653
ca80f61370ab Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents: 6650
diff changeset
29 <dc:message>Generate system content with variables: {dc:dump-variables()}</dc:message>
6183
3f8f212253a0 Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6124
diff changeset
30 <dc:call-macro name="artifact-range">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
31 <dc:call-macro name="km-filtered-wsts">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
32 <dc:choose>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
33 <dc:when test="dc:contains($parameters, 'recommended')">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
34 <dc:comment>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
35 Recommendations (client shall load immediately).
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
36 </dc:comment>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
37 <dc:iterate var="out" container="artifact-outs">
6653
ca80f61370ab Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents: 6650
diff changeset
38 <dc:message>Rec out iteration for: {$out}</dc:message>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
39 <dc:choose>
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
40 <dc:comment> Longitudinal sections </dc:comment>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
41 <dc:when test="$out = 'w_differences'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
42 <dc:call-macro name="annotations" />
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
43 </dc:when>
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
44 <dc:when test="$out = 'discharge_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
45 <dc:call-macro name="annotations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
46 <dc:call-macro name="officiallines_user" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
47 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
48 <dc:when test="$out = 'longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
49 <dc:call-macro name="annotations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
50 <dc:call-macro name="officiallines_user" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
51 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
52 <dc:when test="$out = 'fix_longitudinal_section_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
53 <dc:call-macro name="annotations" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
54 </dc:when>
6743
0db5f3642335 meta-data.xml/DC: Automatically add annotations to middle bed height diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6717
diff changeset
55 <dc:when test="$out = 'bedheight_middle'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
56 <dc:call-macro name="annotations" />
6743
0db5f3642335 meta-data.xml/DC: Automatically add annotations to middle bed height diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6717
diff changeset
57 </dc:when>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
58 <dc:when test="$out = 'bed_difference_year'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
59 <dc:call-macro name="annotations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
60 <dc:call-macro name="basedata_6_delta_w" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
61 <dc:call-macro name="sounding-width-recommendations" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
62 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
63 <dc:when test="$out = 'bed_difference_height_year'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
64 <dc:call-macro name="annotations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
65 <dc:call-macro name="basedata_6_delta_w" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
66 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
67 <dc:when test="$out = 'sedimentload_ls'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
68 <dc:call-macro name="annotations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
69 <dc:call-macro name="sedimentload_off_epochs" />
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
70 </dc:when>
7664
877d558747c6 Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7662
diff changeset
71 <dc:when test="$out = 'bed_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
72 <dc:call-macro name="annotations" />
7664
877d558747c6 Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7662
diff changeset
73 </dc:when>
877d558747c6 Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7662
diff changeset
74 <dc:when test="$out = 'flow_velocity'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
75 <dc:call-macro name="annotations" />
7664
877d558747c6 Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7662
diff changeset
76 </dc:when>
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
77 <dc:comment> Discharge curves </dc:comment>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
78 <dc:when test="$out = 'historical_discharge_wq'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
79 <dc:call-macro name="hist_discharge_rec" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
80 <dc:call-macro name="mainvalues" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
81 </dc:when>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
82 <dc:when test="$out = 'discharge_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
83 <dc:call-macro name="mainvalues" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
84 <dc:call-macro name="basedata_3_officials_wq" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
85 </dc:when>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
86 <dc:when test="$out = 'computed_discharge_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
87 <dc:call-macro name="mainvalues" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
88 <dc:call-macro name="basedata_3_officials_wq" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
89 <dc:call-macro name="basedata_2_fixations_wq" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
90 </dc:when>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
91 <dc:when test="$out = 'fix_wq_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
92 <dc:call-macro name="mainvalues" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
93 <dc:call-macro name="qsectors" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
94 </dc:when>
8336
b9fa8124583c The derivative curve is also a discharge diagram.
"Tom Gottfried <tom@intevation.de>"
parents: 8335
diff changeset
95 <dc:when test="$out = 'fix_derivate_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
96 <dc:call-macro name="qmainvalues" />
8336
b9fa8124583c The derivative curve is also a discharge diagram.
"Tom Gottfried <tom@intevation.de>"
parents: 8335
diff changeset
97 </dc:when>
8334
38f57e854977 Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents: 8327
diff changeset
98 <dc:when test="starts-with($out, 'sq_') and
38f57e854977 Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents: 8327
diff changeset
99 not($out = 'sq_relation_export')">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
100 <dc:call-macro name="qmainvalues" />
8334
38f57e854977 Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents: 8327
diff changeset
101 </dc:when>
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
102 <dc:comment> Cross sections </dc:comment>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
103 <dc:when test="$out = 'cross_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
104 <dc:call-macro name="cross_sections" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
105 <dc:call-macro name="hyks" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
106 <dc:call-macro name="officiallines_user" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
107 </dc:when>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
108 <dc:comment> Duration curve </dc:comment>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
109 <dc:when test="$out = 'duration_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
110 <dc:call-macro name="mainvalues" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
111 </dc:when>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
112 <dc:comment> Reference curve </dc:comment>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
113 <dc:when test="$out = 'reference_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
114 <dc:call-macro name="mainvalues" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
115 </dc:when>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
116 <dc:comment> Maps </dc:comment>
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
117 <dc:when test="$out = 'floodmap'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
118 <dc:call-macro name="flood-map-recommended" />
8299
de42523b2e27 Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8298
diff changeset
119 </dc:when>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
120
8897
863f2850dbcf Activated theme 'streckeninformation
gernotbelger
parents: 8854
diff changeset
121 <dc:when test="$out = 'sinfo_flow_depth'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
122 <dc:call-macro name="annotations" />
8897
863f2850dbcf Activated theme 'streckeninformation
gernotbelger
parents: 8854
diff changeset
123 </dc:when>
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
124 <dc:when test="$out = 'sinfo_flow_depth_minmax'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
125 <dc:call-macro name="annotations" />
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
126 </dc:when>
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
127 <dc:when test="$out = 'sinfo_flow_depth_development'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
128 <dc:call-macro name="annotations" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
129 </dc:when>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
130 <dc:when test="$out = 'sinfo_flow_depth_development_peryear'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
131 <dc:call-macro name="annotations" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
132 </dc:when>
8916
5d5d0051723f Working on outputmodes of tkh calculation
gernotbelger
parents: 8909
diff changeset
133 <dc:when test="$out = 'sinfo_tkk'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
134 <dc:call-macro name="annotations" />
8916
5d5d0051723f Working on outputmodes of tkh calculation
gernotbelger
parents: 8909
diff changeset
135 </dc:when>
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
136 <dc:when test="$out = 'sinfo_collision'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
137 <dc:call-macro name="annotations" />
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
138 </dc:when>
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
139 <dc:when test="$out = 'sinfo_flood_duration'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
140 <dc:call-macro name="annotations" />
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
141 </dc:when>
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
142 <dc:when test="$out = 'sinfo_flood_height'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
143 <dc:call-macro name="annotations" />
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
144 </dc:when>
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
145 <dc:when test="$out = 'sinfo_floodduration_curve'">
9344
c08003a68478 Added longitudinal section prototype for S-Info flood duration output datacage
mschaefer
parents: 9341
diff changeset
146 <dc:call-macro name="mainvalues" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
147 </dc:when>
9296
77f24792d75f Definitions for U-Info salix line
mschaefer
parents: 9282
diff changeset
148 <dc:when test="$out = 'uinfo_salix_line'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
149 <dc:call-macro name="annotations" />
9296
77f24792d75f Definitions for U-Info salix line
mschaefer
parents: 9282
diff changeset
150 </dc:when>
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
151 <dc:when test="$out = 'bundu_wspl_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
152 <dc:call-macro name="annotations" />
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
153 </dc:when>
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
154 <dc:when test="$out = 'bundu_depth_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
155 <dc:call-macro name="annotations" />
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
156 </dc:when>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
157 </dc:choose>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
158 </dc:iterate>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
159 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
160 <dc:otherwise>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
161 <dc:comment>
7303
cb3238edf0ee Comment in meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7294
diff changeset
162 Non - Recommendations (offered to user to choose additional data from).
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
163 </dc:comment>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
164 <dc:iterate var="out" container="artifact-outs">
6653
ca80f61370ab Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents: 6650
diff changeset
165 <dc:message>Non Rec out iteration for: {$out}</dc:message>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
166 <dc:choose>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
167 <dc:comment> Inline datacage panels </dc:comment>
8298
5dfb3ff98bc6 Purge clash of out-names, resulting hacks and tests for not existing outs and give some more meaningful names.
"Tom Gottfried <tom@intevation.de>"
parents: 8297
diff changeset
168 <dc:when test="$out = 'minfo_diff_panel'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
169 <dc:call-macro name="minfo-heights-diff" />
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
170 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
171 <dc:when test="$out = 'floodmap_dem_panel'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
172 <dc:call-macro name="flood-map-dem" />
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
173 </dc:when>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
174 <dc:when test="$out = 'floodmap_hws_panel'">
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
175 <hws>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
176 <dc:call-macro name="flood-map-hws-lines" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
177 <dc:call-macro name="flood-map-hws-points" />
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
178 </hws>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
179 </dc:when>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
180 <dc:when test="$out = 'winfo_diff_twin_panel'">
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
181 <dc:if test="$current-state-id != 'state.winfo.uesk.wsp'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
182 <dc:call-macro name="basedata_0" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
183 <dc:call-macro name="basedata_1_additionals" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
184 <dc:call-macro name="basedata_2_fixations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
185 <dc:call-macro name="basedata_4_heightmarks-points" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
186 <dc:call-macro name="basedata_5_flood-protections" />
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
187 </dc:if>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
188 </dc:when>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
189 <dc:when test="$out = 'waterlevels_panel'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
190 <dc:call-macro name="basedata_0" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
191 <dc:call-macro name="basedata_1_additionals" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
192 <dc:call-macro name="basedata_2_fixations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
193 <dc:call-macro name="basedata_3_officials" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
194 <dc:call-macro name="basedata_4_heightmarks-points" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
195 <dc:call-macro name="basedata_5_flood-protections" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
196 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
197 <dc:comment> Longitudinal sections </dc:comment>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
198 <dc:when test="$out = 'longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
199 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
200 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
201 <dc:when test="$out = 'w_differences'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
202 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
203 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
204 <dc:when test="$out = 'discharge_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
205 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
206 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
207 <dc:when test="$out = 'fix_longitudinal_section_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
208 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
209 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
210 <dc:when test="$out = 'flow_velocity'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
211 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
212 </dc:when>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
213 <dc:when test="$out = 'bed_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
214 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
215 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
216 <dc:when test="$out = 'sedimentload_ls'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
217 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
218 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
219 <dc:when test="$out = 'bedheight_middle'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
220 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
221 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
222 <dc:when test="$out = 'bed_difference_height_year'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
223 <dc:call-macro name="longitudinal-section-prototype" />
6277
1366057e017e Add non recommendations for bed_difference_height_year
Andre Heinecke <aheinecke@intevation.de>
parents: 6238
diff changeset
224 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
225 <dc:when test="$out = 'bed_difference_year'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
226 <dc:call-macro name="longitudinal-section-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
227 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
228 <dc:comment> Discharge curves </dc:comment>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
229 <dc:when test="$out = 'historical_discharge_wq'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
230 <dc:call-macro name="discharge-curve-prototype" />
8298
5dfb3ff98bc6 Purge clash of out-names, resulting hacks and tests for not existing outs and give some more meaningful names.
"Tom Gottfried <tom@intevation.de>"
parents: 8297
diff changeset
231 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
232 <dc:when test="$out = 'discharge_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
233 <dc:call-macro name="discharge-curve-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
234 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
235 <dc:when test="$out = 'fix_wq_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
236 <dc:call-macro name="discharge-curve-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
237 </dc:when>
8336
b9fa8124583c The derivative curve is also a discharge diagram.
"Tom Gottfried <tom@intevation.de>"
parents: 8335
diff changeset
238 <dc:when test="$out = 'fix_derivate_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
239 <dc:call-macro name="discharge-curve-prototype" />
8336
b9fa8124583c The derivative curve is also a discharge diagram.
"Tom Gottfried <tom@intevation.de>"
parents: 8335
diff changeset
240 </dc:when>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
241 <dc:when test="$out = 'computed_discharge_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
242 <dc:call-macro name="discharge-curve-prototype" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
243 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
244 <dc:when test="starts-with($out, 'sq_relation') or
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
245 $out = 'sq_overview'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
246 <dc:call-macro name="discharge-curve-prototype" />
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
247 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
248 <dc:comment> Cross sections </dc:comment>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
249 <dc:when test="$out = 'cross_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
250 <dc:call-macro name="basedata_0" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
251 <dc:call-macro name="basedata_1_additionals" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
252 <dc:call-macro name="basedata_2_fixations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
253 <dc:call-macro name="basedata_3_officials" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
254 <dc:call-macro name="basedata_4_heightmarks-points" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
255 <dc:call-macro name="cross_sections" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
256 <dc:call-macro name="basedata_5_flood-protections" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
257 <dc:call-macro name="hyks" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
258 <dc:call-macro name="predefined_vegetation_zones" />
6081
cdd9759b15b6 Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents: 6075
diff changeset
259 </dc:when>
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
260 <dc:comment> Duration curve </dc:comment>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
261 <dc:when test="$out = 'duration_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
262 <dc:call-macro name="duration_curve_system" />
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
263 </dc:when>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
264 <dc:comment> Reference curve </dc:comment>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
265 <dc:when test="$out = 'reference_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
266 <dc:call-macro name="mainvalues" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
267 <dc:call-macro name="annotations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
268 <dc:call-macro name="basedata_1_additionals-relative_point" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
269 <dc:call-macro name="basedata_2_fixations_relative_point" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
270 <dc:call-macro name="basedata_4_heightmarks-points-relative_points" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
271 <dc:call-macro name="basedata_5_flood-protections_relative_points" />
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
272 </dc:when>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
273 <dc:comment> Maps </dc:comment>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
274 <dc:when test="$out = 'map'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
275 <dc:call-macro name="flood-map-complete" />
8300
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
276 </dc:when>
b70f0a3510c7 Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8299
diff changeset
277 <dc:when test="$out = 'floodmap'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
278 <dc:call-macro name="flood-map-complete" />
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
279 </dc:when>
8854
7bbfb24e6eec SINFO - first prototype of BArt Fließtiefen
gernotbelger
parents: 8773
diff changeset
280
7bbfb24e6eec SINFO - first prototype of BArt Fließtiefen
gernotbelger
parents: 8773
diff changeset
281 <dc:comment> S-INFO </dc:comment>
7bbfb24e6eec SINFO - first prototype of BArt Fließtiefen
gernotbelger
parents: 8773
diff changeset
282 <dc:when test="$out = 'sinfo_flowdepth_minfo_heights'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
283 <dc:call-macro name="bed-heights-single-MW" />
8854
7bbfb24e6eec SINFO - first prototype of BArt Fließtiefen
gernotbelger
parents: 8773
diff changeset
284 </dc:when>
8993
0adc6d04de95 SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents: 8981
diff changeset
285 <dc:when test="$out = 'sinfo_flowdepthminmax_heights'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
286 <dc:call-macro name="bed-heights-single-KL_TW" />
8993
0adc6d04de95 SInfo - FlowDepthMinMax: choosing bed heights, not bed height min and max separately
gernotbelger
parents: 8981
diff changeset
287 </dc:when>
8854
7bbfb24e6eec SINFO - first prototype of BArt Fließtiefen
gernotbelger
parents: 8773
diff changeset
288 <dc:when test="$out = 'sinfo_flowdepth_waterlevels'">
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
289 <minfo module="minfo">
8958
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
290 <fixanalysis>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
291 <dc:call-macro name="basedata_7_waterlevels" />
8958
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
292 </fixanalysis>
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
293 </minfo>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
294 <dc:call-macro name="basedata_3_officials" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
295 <dc:call-macro name="basedata_2_fixations" />
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
296 <sinfo module="sinfo">
8963
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
297 <sinfo_additional_ls>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
298 <dc:call-macro name="basedata_1_additionals-sinfo-with-q" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
299 <dc:call-macro name="basedata_1_additionals-sinfo-without-q" />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
300 </sinfo_additional_ls>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
301 </sinfo>
8854
7bbfb24e6eec SINFO - first prototype of BArt Fließtiefen
gernotbelger
parents: 8773
diff changeset
302 </dc:when>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
303
8897
863f2850dbcf Activated theme 'streckeninformation
gernotbelger
parents: 8854
diff changeset
304 <dc:when test="$out = 'sinfo_flow_depth'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
305 <dc:call-macro name="longitudinal-section-prototype" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
306 </dc:when>
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
307 <dc:when test="$out = 'sinfo_flow_depth_minmax'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
308 <dc:call-macro name="longitudinal-section-prototype" />
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
309 </dc:when>
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
310 <dc:when test="$out = 'sinfo_flow_depth_development'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
311 <dc:call-macro name="longitudinal-section-prototype" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
312 </dc:when>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
313 <dc:when test="$out = 'sinfo_flow_depth_development_peryear'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
314 <dc:call-macro name="longitudinal-section-prototype" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
315 </dc:when>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
316 <dc:when test="$out = 'sinfo_tkk'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
317 <dc:call-macro name="longitudinal-section-prototype" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
318 </dc:when>
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
319 <dc:when test="$out = 'sinfo_collision'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
320 <dc:call-macro name="longitudinal-section-prototype" />
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
321 </dc:when>
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
322 <dc:when test="$out = 'sinfo_flood_duration'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
323 <dc:call-macro name="longitudinal-section-prototype" />
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
324 </dc:when>
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
325 <dc:when test="$out = 'sinfo_flood_height'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
326 <dc:call-macro name="longitudinal-section-prototype" />
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
327 </dc:when>
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
328 <dc:when test="$out = 'sinfo_floodduration_curve'">
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
329 <dc:call-macro name="floodduration_curve_system" />
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
330 </dc:when>
9624
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
331 <dc:when test="$out = 'sinfo_floodduration_infrastructures'">
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
332 <dc:call-macro name="predefined_infrastructures" />
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
333 </dc:when>
9296
77f24792d75f Definitions for U-Info salix line
mschaefer
parents: 9282
diff changeset
334 <dc:when test="$out = 'uinfo_salix_line'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
335 <dc:call-macro name="longitudinal-section-prototype" />
9296
77f24792d75f Definitions for U-Info salix line
mschaefer
parents: 9282
diff changeset
336 </dc:when>
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
337 <dc:when test="$out = 'uinfo.inundation_duration.vegzoneselect'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
338 <dc:call-macro name="predefined_vegetation_zones" />
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
339 </dc:when>
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
340 <dc:when test="$out = 'bundu_wspl_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
341 <dc:call-macro name="longitudinal-section-prototype" />
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
342 </dc:when>
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
343 <dc:when test="$out = 'bundu_depth_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
344 <dc:call-macro name="longitudinal-section-prototype" />
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
345 </dc:when>
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
346 </dc:choose>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
347 </dc:iterate>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
348 </dc:otherwise>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
349 </dc:choose>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
350 </dc:call-macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
351 </dc:call-macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
352 </dc:macro>
5015
86e79fbb8fa3 Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents: 4895
diff changeset
353
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
354 <dc:macro name="generate-user-content">
7347
93a1e63f5644 Add debug output for variables in user context
Andre Heinecke <aheinecke@intevation.de>
parents: 7333
diff changeset
355 <dc:message>Generate user content with variables: {dc:dump-variables()}</dc:message>
6183
3f8f212253a0 Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6124
diff changeset
356 <dc:call-macro name="artifact-range">
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
357 <dc:call-macro name="all-user-artifacts">
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
358 <dc:call-macro name="km-filtered-user-artifacts">
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
359 <dc:choose>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
360 <dc:when test="dc:contains($parameters, 'recommended')">
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
361 <dc:comment>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
362 Recommendations (user)
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
363 </dc:comment>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
364 <dc:iterate var="out" container="artifact-outs">
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
365 <dc:choose>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
366 <dc:when test="$out = 'longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
367 <dc:call-macro name="officiallines_user" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
368 </dc:when>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
369 </dc:choose>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
370 </dc:iterate>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
371 </dc:when>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
372 <dc:otherwise>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
373 <dc:comment>
7303
cb3238edf0ee Comment in meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7294
diff changeset
374 Non Recommendations (user) - offer to load other projects
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
375 </dc:comment>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
376 <dc:iterate var="out" container="artifact-outs">
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
377 <dc:choose>
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
378 <dc:comment> Inline datacage panels </dc:comment>
8298
5dfb3ff98bc6 Purge clash of out-names, resulting hacks and tests for not existing outs and give some more meaningful names.
"Tom Gottfried <tom@intevation.de>"
parents: 8297
diff changeset
379 <dc:when test="$out = 'winfo_diff_twin_panel'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
380 <dc:call-macro name="differences-fix" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
381 <dc:call-macro name="differences" />
7435
1688aca02eb0 Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7431
diff changeset
382 <dc:comment comment="Candidate for:">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
383 <dc:call-macro name="longitudinal-section-user-prototype" />
7435
1688aca02eb0 Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7431
diff changeset
384 </dc:comment>
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
385 </dc:when>
8298
5dfb3ff98bc6 Purge clash of out-names, resulting hacks and tests for not existing outs and give some more meaningful names.
"Tom Gottfried <tom@intevation.de>"
parents: 8297
diff changeset
386 <dc:when test="$out = 'waterlevels_panel'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
387 <dc:call-macro name="waterlevels-user" />
7435
1688aca02eb0 Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7431
diff changeset
388 <dc:comment comment="Candidate for:">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
389 <dc:call-macro name="longitudinal-section-user-prototype" />
7435
1688aca02eb0 Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7431
diff changeset
390 </dc:comment>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
391 </dc:when>
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
392 <dc:when test="$out = 'floodmap_hws_panel'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
393 <dc:call-macro name="floodmap-hws-user" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
394 </dc:when>
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
395 <dc:comment> Longitudinal sections </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
396 <dc:when test="$out = 'longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
397 <dc:call-macro name="longitudinal-section-user-prototype" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
398 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
399 <dc:when test="$out = 'discharge_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
400 <dc:call-macro name="longitudinal-section-user-prototype" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
401 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
402 <dc:when test="$out = 'w_differences'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
403 <dc:call-macro name="longitudinal-section-user-prototype" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
404 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
405 <dc:when test="$out = 'fix_longitudinal_section_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
406 <dc:call-macro name="longitudinal-section-user-prototype" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
407 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
408 <dc:when test="$out = 'bedheight_middle'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
409 <dc:call-macro name="longitudinal-section-user-prototype" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
410 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
411 <dc:when test="$out = 'flow_velocity'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
412 <dc:call-macro name="longitudinal-section-user-prototype" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
413 </dc:when>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
414 <dc:when test="$out = 'bed_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
415 <dc:call-macro name="longitudinal-section-user-prototype" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
416 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
417 <dc:when test="$out = 'sedimentload_ls'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
418 <dc:call-macro name="longitudinal-section-user-prototype" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
419 </dc:when>
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
420 <dc:when test="$out = 'bed_difference_year'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
421 <dc:call-macro name="longitudinal-section-user-prototype" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
422 </dc:when>
7467
6878708ac1ab issue1572: Call longitudinal-section-user-prototype for bedheight-diffs/year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7457
diff changeset
423 <dc:when test="$out = 'bed_difference_height_year'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
424 <dc:call-macro name="longitudinal-section-user-prototype" />
7467
6878708ac1ab issue1572: Call longitudinal-section-user-prototype for bedheight-diffs/year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7457
diff changeset
425 </dc:when>
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
426 <dc:when test="$out = 'sinfo_flow_depth'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
427 <dc:call-macro name="longitudinal-section-user-prototype" />
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
428 </dc:when>
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
429 <dc:when test="$out = 'sinfo_flow_depth_minmax'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
430 <dc:call-macro name="longitudinal-section-user-prototype" />
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
431 </dc:when>
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
432 <dc:when test="$out = 'sinfo_flow_depth_development'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
433 <dc:call-macro name="longitudinal-section-user-prototype" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
434 </dc:when>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
435 <dc:when test="$out = 'sinfo_flow_depth_development_peryear'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
436 <dc:call-macro name="longitudinal-section-user-prototype" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
437 </dc:when>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
438 <dc:when test="$out = 'sinfo_tkk'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
439 <dc:call-macro name="longitudinal-section-user-prototype" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
440 </dc:when>
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
441 <dc:when test="$out = 'sinfo_collision'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
442 <dc:call-macro name="longitudinal-section-user-prototype" />
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
443 </dc:when>
9344
c08003a68478 Added longitudinal section prototype for S-Info flood duration output datacage
mschaefer
parents: 9341
diff changeset
444 <dc:when test="$out = 'sinfo_flood_duration'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
445 <dc:call-macro name="longitudinal-section-user-prototype" />
9344
c08003a68478 Added longitudinal section prototype for S-Info flood duration output datacage
mschaefer
parents: 9341
diff changeset
446 </dc:when>
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
447 <dc:when test="$out = 'sinfo_floodduration_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
448 <dc:call-macro name="floodduration-curve-user" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
449 </dc:when>
9344
c08003a68478 Added longitudinal section prototype for S-Info flood duration output datacage
mschaefer
parents: 9341
diff changeset
450 <dc:when test="$out = 'sinfo_flood_height'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
451 <dc:call-macro name="longitudinal-section-user-prototype" />
9344
c08003a68478 Added longitudinal section prototype for S-Info flood duration output datacage
mschaefer
parents: 9341
diff changeset
452 </dc:when>
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
453 <dc:when test="$out = 'sinfo_flowdepth_waterlevels'">
9691
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
454 <!-- the year necessary for intelligent datacage -->
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
455 <!-- all entries must have a year in the query, sth. like:
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
456 <dc:variable name="fixAnalysisYear" expr="dc:fix_analysis_year($a_gid)" />
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
457 <dc:attribute name="year" value="${fixAnalysisYear}" />
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
458 -->
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
459 <dc:call-macro name="longitudinal-section-fix-vollmer_w" />
9691
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
460 <dc:call-macro name="bundu_bezugswst" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
461 </dc:when>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
462
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
463 <dc:when test="$out = 'uinfo_salix_line'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
464 <dc:call-macro name="longitudinal-section-user-prototype" />
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
465 </dc:when>
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
466 <dc:when test="$out = 'uinfo.inundation_duration.vegzoneselect'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
467 <dc:call-macro name="vegetationzones" />
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
468 </dc:when>
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
469
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
470 <dc:when test="$out = 'bundu_wspl_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
471 <dc:call-macro name="longitudinal-section-user-prototype" />
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
472 </dc:when>
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
473 <dc:when test="$out = 'bundu_depth_longitudinal_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
474 <dc:call-macro name="longitudinal-section-user-prototype" />
9438
d2f5375ede26 Replaced own W and Q facets in bundu bzws by subclass of FixWaterlevelFacet, added annotations and datacage
mschaefer
parents: 9378
diff changeset
475 </dc:when>
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
476
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
477 <dc:comment> Discharge curves </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
478 <dc:when test="$out = 'computed_discharge_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
479 <dc:call-macro name="discharge-curve-user-prototype" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
480 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
481 <dc:when test="$out = 'fix_derivate_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
482 <dc:call-macro name="discharge-curve-user-prototype" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
483 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
484 <dc:when test="$out = 'fix_wq_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
485 <dc:call-macro name="discharge-curve-user-prototype" />
7575
8fd314253839 issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7572
diff changeset
486 </dc:when>
7576
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
487 <dc:when test="$out = 'historical_discharge_wq'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
488 <dc:call-macro name="discharge-curve-user-prototype" />
7576
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
489 </dc:when>
8958
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
490 <dc:when test="starts-with($out, 'sq_relation') or $out = 'sq_overview'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
491 <dc:call-macro name="discharge-curve-user-prototype" />
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
492 </dc:when>
9518
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
493
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
494 <dc:comment> Time series </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
495 <dc:when test="$out = 'fix_deltawt_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
496 <dc:call-macro name="delta-wt" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
497 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
498 <dc:when test="$out = 'historical_discharge'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
499 <dc:call-macro name="historical-discharge-user" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
500 </dc:when>
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
501
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
502 <dc:comment> Cross sections </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
503 <dc:when test="$out = 'cross_section'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
504 <dc:call-macro name="cross_section_user_content" />
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
505 </dc:when>
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
506 <dc:comment> Duration curve </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
507 <dc:when test="$out = 'duration_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
508 <dc:call-macro name="duration-curve-user" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
509 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
510 <dc:comment> Reference curve </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
511 <dc:when test="$out = 'reference_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
512 <dc:call-macro name="reference-curves" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
513 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
514 <dc:comment> Maps </dc:comment>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
515 <dc:when test="$out = 'floodmap'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
516 <dc:call-macro name="flood-map" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
517 </dc:when>
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
518 <dc:when test="$out = 'map'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
519 <dc:call-macro name="flood-map" />
8301
2869a2e482e5 Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents: 8300
diff changeset
520 </dc:when>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
521 </dc:choose>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
522 </dc:iterate>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
523 </dc:otherwise>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
524 </dc:choose>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
525 </dc:call-macro>
6081
cdd9759b15b6 Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents: 6075
diff changeset
526 </dc:call-macro>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
527 </dc:call-macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
528 </dc:macro>
4455
06c07cb478a8 meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 4449
diff changeset
529
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
530 <!-- Macros to load user data -->
5631
ca4b6263996c Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents: 5627
diff changeset
531
7575
8fd314253839 issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7572
diff changeset
532 <dc:macro name="historical-discharge-user">
7576
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
533 <dc:filter expr="$out = 'historical_discharge' and starts-with($facet_name, 'historical_discharge.historical')">
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
534 <dc:if test="dc:has-result()">
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
535 <historical_discharges>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
536 <dc:call-macro name="collection-group">
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
537 <discharges description="{dc:group-key()}">
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
538 <dc:for-each>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
539 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
540 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
541 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
542 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
543 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
544 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
545 <dc:attribute name="out" value="historical_discharge" />
7576
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
546 </dc:element>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
547 </dc:for-each>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
548 </discharges>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
549 </dc:call-macro>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
550 </historical_discharges>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
551 </dc:if>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
552 </dc:filter>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
553 </dc:macro>
4f69ebe580e1 issue1613: In DC, also show the 'diff' facets, define former calc. for hist. W/Q out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7575
diff changeset
554
6110
5ba28b563614 Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents: 6099
diff changeset
555 <dc:macro name="differences">
7795
0d846c211b3b Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents: 7702
diff changeset
556 <dc:filter expr="$facet_name = 'w_differences' or $facet_name = 'w_differences.filtered'">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
557 <dc:if test="dc:has-result()">
6110
5ba28b563614 Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents: 6099
diff changeset
558 <differences>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
559 <dc:call-macro name="collection-group">
7408
65e25bfd2049 issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7407
diff changeset
560 <differences description="{dc:group-key()}">
65e25bfd2049 issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7407
diff changeset
561 <dc:for-each>
7795
0d846c211b3b Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents: 7702
diff changeset
562 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
563 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
564 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
565 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
566 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
567 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
568 <dc:attribute name="out" value="${out_name}" />
7795
0d846c211b3b Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents: 7702
diff changeset
569 </dc:element>
7408
65e25bfd2049 issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7407
diff changeset
570 </dc:for-each>
65e25bfd2049 issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7407
diff changeset
571 </differences>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
572 </dc:call-macro>
6110
5ba28b563614 Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents: 6099
diff changeset
573 </differences>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
574 </dc:if>
6110
5ba28b563614 Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents: 6099
diff changeset
575 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
576 </dc:macro>
5976
178a873df7a9 Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents: 5884
diff changeset
577
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
578 <dc:macro name="reference-curves">
7457
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
579 <dc:filter expr="$out = 'reference_curve' and $facet_name = 'reference_curve'">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
580 <dc:if test="dc:has-result()">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
581 <reference_curves>
7457
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
582 <dc:call-macro name="collection-group">
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
583 <ref_curve description="{dc:group-key()}">
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
584 <dc:for-each>
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
585 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
586 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
587 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
588 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
589 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
590 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
591 <dc:attribute name="out" value="reference_curve" />
7457
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
592 </dc:element>
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
593 </dc:for-each>
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
594 </ref_curve>
1d37d324eedc issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7455
diff changeset
595 </dc:call-macro>
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
596 </reference_curves>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
597 </dc:if>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
598 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
599 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
600
6691
f41ba63e7a43 issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents: 6690
diff changeset
601
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
602 <dc:macro name="flood-map">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
603 <dc:filter expr="$facet_name = 'floodmap.wsplgen'">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
604 <dc:if test="dc:has-result()">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
605 <floodmap>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
606 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
607 <dc:variable name="combined_desc" expr="concat($facet_description, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
608 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
609 <dc:attribute name="description" value="${combined_desc}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
610 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
611 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
612 <dc:attribute name="artifact-id" value="${a_id}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
613 <dc:attribute name="ids" value="${a_id}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
614 <dc:attribute name="out" value="floodmap" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
615 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
616 </dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
617 </floodmap>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
618 </dc:if>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
619 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
620 </dc:macro>
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
621
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
622 <dc:macro name="cross_section_user_content">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
623 <dc:call-macro name="cross_section_user_content_waterlevels" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
624 <dc:call-macro name="cross_section_user_content_iota" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
625 <dc:call-macro name="vegetationzones" />
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
626 </dc:macro>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
627
9518
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
628 <dc:macro name="cross_section_user_content_waterlevels">
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
629 <dc:filter expr="$out_name = 'cross_section' and $a_state != 'state.uinfo.salix_line'">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
630 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
631 <waterlevels>
6654
6f42a62d0cf2 Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents: 6653
diff changeset
632 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation))">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
633 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
634 <longitudinal_section_columns description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
635 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
636 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
637 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
638 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
639 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
640 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
641 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
642 <dc:attribute name="out" value="cross_section" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
643 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
644 </dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
645 </longitudinal_section_columns>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
646 </dc:group>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
647 </waterlevels>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
648 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
649 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
650 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
651
9518
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
652 <dc:macro name="cross_section_user_content_iota">
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
653 <dc:filter expr="$out_name = 'cross_section' and $a_state = 'state.uinfo.salix_line' and starts-with($facet_name, 'uinfo_facet_salix_')">
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
654 <dc:if test="dc:has-result()">
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
655 <uinfo_salix_lines>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
656 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation))">
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
657 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
658 <longitudinal_section_columns description="{dc:group-key()}">
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
659 <dc:for-each>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
660 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
661 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
662 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
663 <dc:attribute name="factory" value="uinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
664 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
665 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
666 <dc:attribute name="out" value="cross_section" />
9518
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
667 </dc:element>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
668 </dc:for-each>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
669 </longitudinal_section_columns>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
670 </dc:group>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
671 </uinfo_salix_lines>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
672 </dc:if>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
673 </dc:filter>
2e6fd354dd8e Put iota cross section results in own data cage folder; working now
gernotbelger
parents: 9515
diff changeset
674 </dc:macro>
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
675
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
676 <dc:macro name="collection-group">
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
677 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
678 <dc:macro-body />
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
679 </dc:group>
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
680 </dc:macro>
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
681
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
682 <dc:macro name="longitudinal">
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
683 <dc:filter expr="$out_name = 'longitudinal_section' and $a_state != 'state.fix.vollmer.compute' and $a_state != 'state.bundu.vollmer.compute'">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
684 <dc:if test="dc:has-result()">
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
685 <waterlevels_ls>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
686 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
687 <dc:comment>Aheinecke: Why is this grouping different from the rest?</dc:comment>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
688 <longitudinal_section_columns description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
689 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
690 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
691 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
692 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
693 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
694 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
695 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
696 <dc:attribute name="out" value="longitudinal_section" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
697 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
698 </dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
699 </longitudinal_section_columns>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
700 </dc:call-macro>
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
701 </waterlevels_ls>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
702 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
703 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
704 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
705
7491
deaf6e848635 issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7478
diff changeset
706 <dc:macro name="longitudinal-section-fix-vollmer">
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
707 <dc:filter expr="($a_state = 'state.fix.vollmer.compute' or $a_state = 'state.bundu.vollmer.compute') and
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
708 ($facet_name = 'longitudinal_section.w' or $facet_name = 'longitudinal_section.q')">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
709 <dc:call-macro name="longitudinal-section-fix-vollmer_macro" />
8958
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
710 </dc:filter>
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
711 </dc:macro>
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
712
9340
85d08fb28d96 Fixed: when selecting waterlevels for 'Fließtiefen': should schow W(Q=xxx) syntax for user waterlevels from fixa.
gernotbelger
parents: 9310
diff changeset
713 <dc:macro name="longitudinal-section-fix-vollmer_w">
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
714 <dc:filter expr=" ($a_state = 'state.fix.vollmer.compute' or $a_state = 'state.bundu.vollmer.compute') and $facet_name = 'longitudinal_section.w'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
715 <dc:call-macro name="longitudinal-section-fix-vollmer_macro" />
8958
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
716 </dc:filter>
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
717 </dc:macro>
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
718
3c95b89da5ea Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
gernotbelger
parents: 8956
diff changeset
719 <dc:macro name="longitudinal-section-fix-vollmer_macro">
8961
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
720 <dc:if test="dc:has-result()">
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
721 <waterlevels_fix_vollmer>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
722 <dc:call-macro name="collection-group">
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
723 <waterlevels description="{dc:group-key()}">
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
724 <dc:for-each>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
725 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
726 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
727 <dc:attribute name="ids" value="${facet_num}" />
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
728 <!-- FIXME -->
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
729 <dc:attribute name="factory" value="fixanalysis" />
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
730 <!-- bundu works due to same implementation
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
731 <dc:attribute name="factory" value="bundu"/>
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
732 -->
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
733 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
734 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
735 <dc:attribute name="out" value="longitudinal_section" />
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
736
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
737 <dc:variable name="fixAnalysisYear" expr="dc:fix_analysis_year($a_gid)" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
738 <dc:attribute name="year" value="${fixAnalysisYear}" />
8961
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
739 </dc:element>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
740 </dc:for-each>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
741 </waterlevels>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
742 </dc:call-macro>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
743 </waterlevels_fix_vollmer>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
744 </dc:if>
7491
deaf6e848635 issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7478
diff changeset
745 </dc:macro>
deaf6e848635 issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7478
diff changeset
746
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
747 <dc:macro name="longitudinal-section-fix">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
748 <dc:filter expr="$out_name = 'fix_longitudinal_section_curve' and
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
749 (starts-with($facet_name, 'fix_deviation_ls') or
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
750 starts-with($facet_name, 'fix_sector_average_ls') or
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
751 starts-with($facet_name, 'fix_analysis_events_ls') or
7491
deaf6e848635 issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7478
diff changeset
752 starts-with($facet_name, 'fix_reference_events_ls'))
7365
4e055f92a8b3 issue1473: Let vollmer curves appear under 'former calc/waterlevels from fix.'.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7362
diff changeset
753 ">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
754 <dc:if test="dc:has-result()">
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
755 <waterlevels_fix>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
756 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
757 <waterlevels description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
758 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
759 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
760 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
761 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
762 <dc:attribute name="factory" value="fixanalysis" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
763 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
764 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
765 <dc:attribute name="out" value="fix_longitudinal_section_curve" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
766 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
767 </dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
768 </waterlevels>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
769 </dc:call-macro>
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
770 </waterlevels_fix>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
771 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
772 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
773 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
774
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
775 <dc:macro name="delta-wt">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
776 <dc:filter expr="$out_name = 'fix_deltawt_curve' and
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
777 ($facet_name = 'fix_analysis_events_dwt' or
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
778 $facet_name = 'fix_analysis_periods_dwt' or
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
779 $facet_name = 'fix_reference_events_dwt' or
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
780 starts-with($facet_name, 'fix_deviation_dwt') or
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
781 starts-with($facet_name, 'fix_sector_average_dwt'))">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
782 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
783 <waterlevels>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
784 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
785 <waterlevels description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
786 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
787 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
788 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
789 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
790 <dc:attribute name="factory" value="fixanalysis" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
791 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
792 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
793 <dc:attribute name="out" value="fix_deltawt_curve" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
794 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
795 </dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
796 </waterlevels>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
797 </dc:call-macro>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
798 </waterlevels>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
799 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
800 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
801 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
802
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
803 <dc:macro name="fix-wq-curve">
9624
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
804 <dc:filter
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
805 expr="($out_name = 'fix_wq_curve' and
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
806 (starts-with($facet_name, 'fix_analysis_events_wq') or
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
807 starts-with($facet_name, 'fix_reference_events_wq') or
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
808 starts-with($facet_name, 'fix_sector_average_wq') or
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
809 $facet_name = 'fix_wq_curve')) or
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
810 ($out_name = 'fix_derivate_curve' and
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
811 $facet_name = 'fix_derivate_curve')">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
812 <dc:if test="dc:has-result()">
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
813 <waterlevels_fix>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
814 <dc:call-macro name="collection-group">
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
815 <projects description="{dc:group-key()}">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
816 <dc:for-each>
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
817 <dc:choose>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
818 <dc:when test="$out_name = 'fix_wq_curve'">
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
819 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
820 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
821 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
822 <dc:attribute name="factory" value="fixanalysis" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
823 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
824 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
825 <dc:attribute name="out" value="fix_wq_curve" />
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
826 </dc:element>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
827 </dc:when>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
828 <dc:when test="$out_name = 'fix_derivate_curve'">
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
829 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
830 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
831 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
832 <dc:attribute name="factory" value="fixanalysis" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
833 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
834 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
835 <dc:attribute name="out" value="fix_derivate_curve" />
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
836 </dc:element>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
837 </dc:when>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
838 </dc:choose>
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
839 </dc:for-each>
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
840 </projects>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
841 </dc:call-macro>
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
842 </waterlevels_fix>
7267
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
843 </dc:if>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
844 </dc:filter>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
845 </dc:macro>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
846
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
847 <dc:macro name="extreme-wq-curve">
7424
d3137b603a3d meta-meta.xml: Also fetch extreme_base curves via dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7423
diff changeset
848 <dc:filter expr="$facet_name = 'extreme_wq_curve' or $facet_name = 'extreme_wq_curve_base'">
7267
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
849 <dc:if test="dc:has-result()">
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
850 <computed_discharge_curves>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
851 <dc:for-each>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
852 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
853 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
854 <dc:attribute name="factory" value="fixanalysis" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
855 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
856 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
857 <dc:attribute name="ids" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
858 <dc:attribute name="out" value="computed_discharge_curve" />
7267
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
859 </dc:element>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
860 </dc:for-each>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
861 </computed_discharge_curves>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
862 </dc:if>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
863 </dc:filter>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
864 </dc:macro>
171c8b0cffca meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7266
diff changeset
865
7264
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
866 <dc:macro name="computed-discharge-curve">
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
867 <dc:filter expr="$facet_name = 'computed_discharge_curve.q'">
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
868 <dc:if test="dc:has-result()">
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
869 <computed_discharge_curves>
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
870 <dc:call-macro name="collection-group">
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
871 <projects description="{dc:group-key()}">
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
872 <dc:for-each>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
873 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
874 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
875 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
876 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
877 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
878 <dc:attribute name="ids" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
879 <dc:attribute name="out" value="computed_discharge_curve" />
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
880 </dc:element>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
881 </dc:for-each>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
882 </projects>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
883 </dc:call-macro>
7264
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
884 </computed_discharge_curves>
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
885 </dc:if>
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
886 </dc:filter>
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
887 </dc:macro>
36fa4c752009 meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7236
diff changeset
888
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
889 <!-- Unterschreitungsdauern aus WINFO -->
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
890 <dc:macro name="duration-curve-user">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
891 <dc:call-macro name="duration-curve-user_winfo-duration-curve" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
892 </dc:macro>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
893
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
894 <!-- Überschrautungsdauern aus SINFO -->
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
895 <dc:macro name="floodduration-curve-user">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
896 <dc:call-macro name="duration-curve-user_sinfo-flood-duration" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
897 </dc:macro>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
898
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
899 <dc:macro name="duration-curve-user_winfo-duration-curve">
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
900 <!-- Restults of WINFO-DurationCurve calculation -->
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
901 <dc:filter expr="$a_state = 'state.winfo.durationcurve' and ( $facet_name = 'duration_curve.q' or $facet_name = 'duration_curve.w' )">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
902 <dc:if test="dc:has-result()">
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
903 <!-- FIXME: this label is wrong, should be rather 'winfo - duration curve' or something -->
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
904 <computed_discharge_curves>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
905 <dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
906 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
907 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
908 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
909 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
910 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
911 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
912 <dc:attribute name="out" value="${out_name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
913 </dc:element>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
914 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
915 </computed_discharge_curves>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
916 </dc:if>
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
917 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
918 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
919
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
920 <dc:macro name="duration-curve-user_sinfo-flood-duration">
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
921 <!-- Restults of SINFO-Überflutungsdauern-Aue calculation -->
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
922 <dc:filter expr="$a_state = 'state.sinfo.flood_duration' and $out_name = 'sinfo_floodduration_curve'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
923 <!-- FIXME: group by calculation? -->
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
924 <dc:if test="dc:has-result()">
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
925 <sinfo_flood_durations>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
926
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
927 <dc:call-macro name="collection-group">
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
928 <sinfo_flood_durations description="{dc:group-key()}">
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
929 <dc:for-each>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
930 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
931 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
932 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
933 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
934 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
935 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
936 <dc:attribute name="out" value="${out_name}" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
937 </dc:element>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
938 </dc:for-each>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
939 </sinfo_flood_durations>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
940 </dc:call-macro>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
941 </sinfo_flood_durations>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
942 </dc:if>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
943 </dc:filter>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
944 </dc:macro>
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
945
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
946 <dc:macro name="waterlevels-user">
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
947 <dc:filter expr="($out_name = 'longitudinal_section'
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
948 and $facet_name = 'longitudinal_section.w') and
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
949 (not ($current-state-id = 'state.winfo.uesk.wsp'
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
950 and $ld_m = 'location'))">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
951 <dc:if test="dc:has-result()">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
952 <waterlevels>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
953 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
954 <waterlevels description="{dc:group-key()}">
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
955 <dc:for-each>
6324
3cf9e82b9c75 Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents: 6318
diff changeset
956 <dc:choose>
3cf9e82b9c75 Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents: 6318
diff changeset
957 <dc:when test="$ld_m = 'location'">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
958 <dc:variable name="combined_desc" expr="concat($facet_description,
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
959 ' an KM ', $deffrom)" />
6324
3cf9e82b9c75 Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents: 6318
diff changeset
960 </dc:when>
3cf9e82b9c75 Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents: 6318
diff changeset
961 <dc:otherwise>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
962 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
963 $deffrom, ' bis KM ', $defto)" />
6324
3cf9e82b9c75 Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents: 6318
diff changeset
964 </dc:otherwise>
3cf9e82b9c75 Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents: 6318
diff changeset
965 </dc:choose>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
966 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
967 <dc:attribute name="description" value="${combined_desc}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
968 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
969 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
970 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
971 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
972 <dc:attribute name="out" value="longitudinal_section" />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
973 </dc:element>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
974 </dc:for-each>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
975 </waterlevels>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
976 </dc:call-macro>
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
977 </waterlevels>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
978 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
979 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
980 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
981
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
982 <dc:comment comment="For building differences." />
8298
5dfb3ff98bc6 Purge clash of out-names, resulting hacks and tests for not existing outs and give some more meaningful names.
"Tom Gottfried <tom@intevation.de>"
parents: 8297
diff changeset
983 <dc:macro name="differences-fix">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
984 <dc:comment comment="Vollmer curves need own factory" />
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
985 <dc:filter expr="($a_state = 'state.fix.vollmer.compute' or $a_state = 'state.bundu.vollmer.compute') and $facet_name = 'longitudinal_section.w'">
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
986 <dc:if test="dc:has-result()">
6587
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
987 <vollmer_waterlevels>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
988 <dc:call-macro name="collection-group">
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
989 <waterlevels description="{dc:group-key()}">
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
990 <dc:for-each>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
991 <dc:choose>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
992 <dc:when test="$ld_m = 'location'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
993 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)" />
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
994 </dc:when>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
995 <dc:otherwise>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
996 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
997 $deffrom, ' bis KM ', $defto)" />
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
998 </dc:otherwise>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
999 </dc:choose>
6587
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1000 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1001 <dc:attribute name="description" value="${combined_desc}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1002 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1003 <!-- FIXME: different factories! -->
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1004 <dc:attribute name="factory" value="fixanalysis" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1005 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1006 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1007 <dc:attribute name="out" value="longitudinal_section" />
6587
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1008 </dc:element>
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1009 </dc:for-each>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1010 </waterlevels>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
1011 </dc:call-macro>
6587
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1012 </vollmer_waterlevels>
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1013 </dc:if>
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1014 </dc:filter>
9546
abf4d0b10270 FlowDepths: DataCage AWSPL from "Betrieb und Unterhaltung"
gernotbelger
parents: 9520
diff changeset
1015 <dc:filter expr="not($a_state = 'state.fix.vollmer.compute' or $a_state = 'state.bundu.vollmer.compute') and (($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and
6587
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1016 (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location')))">
d553c4a1829d issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6581
diff changeset
1017 <dc:if test="dc:has-result()">
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1018 <waterlevels>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
1019 <dc:call-macro name="collection-group">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1020 <waterlevels description="{dc:group-key()}">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1021 <dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1022 <dc:choose>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1023 <dc:when test="$ld_m = 'location'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1024 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1025 </dc:when>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1026 <dc:otherwise>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1027 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1028 $deffrom, ' bis KM ', $defto)" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1029 </dc:otherwise>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1030 </dc:choose>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1031 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1032 <dc:attribute name="description" value="${combined_desc}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1033 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1034 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1035 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1036 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1037 <dc:attribute name="out" value="longitudinal_section" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1038 </dc:element>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1039 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1040 </waterlevels>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
1041 </dc:call-macro>
6581
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1042 </waterlevels>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1043 </dc:if>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1044 </dc:filter>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1045 </dc:macro>
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1046
5f0e3e9cf6f3 issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6572
diff changeset
1047
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1048 <dc:macro name="floodmap-hws-user">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1049 <dc:comment>No grouping in this?</dc:comment>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1050 <dc:filter expr="$out_name = 'floodmap' and $facet_name = 'floodmap.usershape'">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1051 <own-hws>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1052 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1053 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1054 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1055 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1056 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1057 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1058 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1059 <dc:attribute name="out" value="floodmap" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1060 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1061 </dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1062 </own-hws>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
1063 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1064 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1065
7443
8ce14aeebe61 meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7441
diff changeset
1066 <dc:macro name="bedquality">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1067 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
8592
36faef4f8acb (issue1755) Add interpolated facets and update themes accordingly
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8587
diff changeset
1068 starts-with($facet_name, 'bed_longitudinal_section')">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1069 <dc:if test="dc:has-result()">
7443
8ce14aeebe61 meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7441
diff changeset
1070 <bed_quality>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
1071 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1072 <quality-bed description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1073 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1074 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1075 <dc:attribute name="factory" value="minfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1076 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1077 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1078 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1079 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1080 <dc:attribute name="out" value="bed_longitudinal_section" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1081 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1082 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1083 </quality-bed>
7420
daa04d2f42ed meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7419
diff changeset
1084 </dc:call-macro>
7443
8ce14aeebe61 meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7441
diff changeset
1085 </bed_quality>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1086 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
1087 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1088 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1089
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1090 <dc:macro name="flow-velocity">
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
1091 <dc:filter expr="$out_name = 'flow_velocity' and
7469
4d47c42eecae issue1512: Show all flowvelocity facet in former calc. flow vel. part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7467
diff changeset
1092 starts-with($facet_name, 'flow_velocity')">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1093 <dc:if test="dc:has-result()">
7441
e0a806803fcf meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7438
diff changeset
1094 <flow_velocity>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1095 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1096 <flow description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1097 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1098 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1099 <dc:attribute name="factory" value="minfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1100 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1101 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1102 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1103 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1104 <dc:attribute name="out" value="flow_velocity" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1105 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1106 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1107 </flow>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1108 </dc:call-macro>
7441
e0a806803fcf meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7438
diff changeset
1109 </flow_velocity>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1110 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
1111 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1112 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1113
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1114 <dc:macro name="sediment-load">
6638
f4872350b50f Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents: 6518
diff changeset
1115 <dc:filter expr="$out_name = 'sedimentload_ls' and starts-with($facet_name, 'sedimentload')">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1116 <dc:if test="dc:has-result()">
7441
e0a806803fcf meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7438
diff changeset
1117 <sediment_load>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1118 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1119 <load description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1120 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1121 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1122 <dc:attribute name="factory" value="minfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1123 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1124 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1125 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1126 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1127 <dc:attribute name="out" value="${out_name}" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1128 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1129 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1130 </load>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1131 </dc:call-macro>
7441
e0a806803fcf meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7438
diff changeset
1132 </sediment_load>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1133 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
1134 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1135 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1136
8004
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1137 <dc:macro name="middle_bedheights">
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1138 <dc:filter expr="($out_name = 'bedheight_middle') and
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1139 (starts-with($facet_name, 'bedheight_middle.single'))">
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1140 <dc:if test="dc:has-result()">
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1141 <middle_bedheights>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1142 <dc:call-macro name="collection-group">
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1143 <middle_bedheight description="{dc:group-key()}">
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1144 <dc:for-each>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1145 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1146 <dc:attribute name="factory" value="minfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1147 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1148 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1149 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1150 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1151 <dc:attribute name="out" value="${out_name}" />
8004
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1152 </dc:element>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1153 </dc:for-each>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1154 </middle_bedheight>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1155 </dc:call-macro>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1156 </middle_bedheights>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1157 </dc:if>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1158 </dc:filter>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1159 </dc:macro>
05ef23d55046 Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents: 7978
diff changeset
1160
6595
61897a2b8283 issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6589
diff changeset
1161 <dc:macro name="bedheight_differences">
7923
21d320ebb50c Removed bed differences epoch from datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 7922
diff changeset
1162 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_height_year') and
21d320ebb50c Removed bed differences epoch from datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 7922
diff changeset
1163 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.height'))">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1164 <dc:if test="dc:has-result()">
6595
61897a2b8283 issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6589
diff changeset
1165 <bedheight_differences>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1166 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1167 <difference description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1168 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1169 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1170 <dc:attribute name="factory" value="minfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1171 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1172 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1173 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1174 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1175 <dc:attribute name="out" value="${out_name}" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1176 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1177 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1178 </difference>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1179 </dc:call-macro>
6595
61897a2b8283 issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 6589
diff changeset
1180 </bedheight_differences>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1181 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
1182 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1183 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1184
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1185 <dc:macro name="sqrelations_user">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1186 <dc:filter
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1187 expr="not(dc:contains($facet_name, 'overview')) and (
7362
eb226d788ccf Use more failsave pattern for SQ-facets.
Andre Heinecke <aheinecke@intevation.de>
parents: 7359
diff changeset
1188 ($out = 'sq_relation_a' and starts-with($facet_name, 'sq_a_')) or
eb226d788ccf Use more failsave pattern for SQ-facets.
Andre Heinecke <aheinecke@intevation.de>
parents: 7359
diff changeset
1189 ($out = 'sq_relation_b' and starts-with($facet_name, 'sq_b_')) or
eb226d788ccf Use more failsave pattern for SQ-facets.
Andre Heinecke <aheinecke@intevation.de>
parents: 7359
diff changeset
1190 ($out = 'sq_relation_c' and starts-with($facet_name, 'sq_c_')) or
eb226d788ccf Use more failsave pattern for SQ-facets.
Andre Heinecke <aheinecke@intevation.de>
parents: 7359
diff changeset
1191 ($out = 'sq_relation_d' and starts-with($facet_name, 'sq_d_')) or
eb226d788ccf Use more failsave pattern for SQ-facets.
Andre Heinecke <aheinecke@intevation.de>
parents: 7359
diff changeset
1192 ($out = 'sq_relation_e' and starts-with($facet_name, 'sq_e_')) or
8289
f12a5c55864d Consider new SQ-diagrams in datacage config.
"Tom Gottfried <tom@intevation.de>"
parents: 8277
diff changeset
1193 ($out = 'sq_relation_f' and starts-with($facet_name, 'sq_f_')) or
f12a5c55864d Consider new SQ-diagrams in datacage config.
"Tom Gottfried <tom@intevation.de>"
parents: 8277
diff changeset
1194 ($out = 'sq_relation_g' and starts-with($facet_name, 'sq_g_'))) or
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1195 dc:contains($facet_name, 'overview')">
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1196 <dc:if test="dc:has-result()">
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1197 <sq_relations>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1198 <dc:call-macro name="collection-group">
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1199 <sqrel description="{dc:group-key()}">
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1200 <dc:for-each>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1201 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1202 <dc:attribute name="factory" value="minfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1203 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1204 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1205 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1206 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1207 <dc:attribute name="out" value="${out_name}" />
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1208 </dc:element>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1209 </dc:for-each>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1210 </sqrel>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1211 </dc:call-macro>
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1212 </sq_relations>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1213 </dc:if>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1214 </dc:filter>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1215 </dc:macro>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
1216
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1217 <dc:macro name="waterlevels-discharge">
7426
f4623fe18868 meta-data.xml: Be less restrictive in showing facets from waterlevels-discharge.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7425
diff changeset
1218 <dc:filter expr="$out_name = 'discharge_longitudinal_section'">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1219 <dc:if test="dc:has-result()">
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
1220 <waterlevels_discharge>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1221 <dc:call-macro name="collection-group">
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1222 <discharge description="{dc:group-key()}">
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1223 <dc:for-each>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1224 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1225 <dc:attribute name="factory" value="winfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1226 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1227 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1228 <dc:attribute name="ids" value="${facet_num}-${facet_name}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1229 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1230 <dc:attribute name="out" value="discharge_longitudinal_section" />
6111
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1231 </dc:element>
6815714c1f97 Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents: 6110
diff changeset
1232 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1233 </discharge>
7418
6665d0e3d795 meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7413
diff changeset
1234 </dc:call-macro>
7332
0ad8ccbd6aa4 Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7330
diff changeset
1235 </waterlevels_discharge>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1236 </dc:if>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
1237 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1238 </dc:macro>
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1239
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1240
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1241 <!-- Macros to load system data -->
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1242
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
1243 <dc:macro name="duration_curve_system">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1244 <dc:call-macro name="mainvalues" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1245 <dc:call-macro name="basedata_2_fixations_relative_point" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1246 <dc:call-macro name="basedata_4_heightmarks-points-relative_points" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1247 <dc:call-macro name="basedata_5_flood-protections_relative_points" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
1248 </dc:macro>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
1249
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
1250 <dc:macro name="floodduration_curve_system">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1251 <dc:call-macro name="mainvalues" />
9548
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
1252 </dc:macro>
669ab639c56b Implemented datacage for sinfo - ueberflutungsdauern
gernotbelger
parents: 9546
diff changeset
1253
8334
38f57e854977 Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents: 8327
diff changeset
1254 <dc:macro name="qmainvalues">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1255 <qmainvalue factory="mainvalue" ids="{$river_id}:q" target_out="{$out}" />
8334
38f57e854977 Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents: 8327
diff changeset
1256 </dc:macro>
38f57e854977 Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents: 8327
diff changeset
1257
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1258 <dc:macro name="mainvalues">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1259 <wmainvalue factory="mainvalue" ids="{$river_id}:w" target_out="{$out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1260 <dc:call-macro name="qmainvalues" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1261 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1262
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1263 <!-- discharge curves -->
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1264 <dc:macro name="hist_discharge_factory">
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1265 <dc:for-each>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1266 <dc:variable name="validity" expr="concat(
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1267 dc:date-format('dd.MM.yyyy', $start_time),
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1268 ' - ',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1269 dc:date-format('dd.MM.yyyy', $stop_time))" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1270 <histdis name="{concat($bfg_id, ' ', $validity)}" description="{concat($bfg_id, ' ', $validity)}" factory="gaugedischarge" target_out="{$out}" ids="{$gauge_name};{$dt_id};{concat($bfg_id, ' ',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1271 $gauge_name, ' ', $validity)}" />
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1272 </dc:for-each>
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1273 </dc:macro>
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1274
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1275 <dc:macro name="hist_discharge_rec">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1276 <dc:variable name="start" type="number" expr="dc:date-format('yyyyMMdd',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1277 number(substring-before($year_range, ';')))" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1278 <dc:variable name="stop" type="number" expr="dc:date-format('yyyyMMdd',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1279 number(substring-after($year_range, ';')))" />
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1280 <dc:call-macro name="discharge_curve_choose_context">
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1281 <dc:filter expr="$kind = 1 and
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1282 number(dc:date-format('yyyyMMdd', $start_time))
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1283 &lt; $stop and
8496
1314d876a7e5 Do not filter tables without end date in recommendations for historical discharge tables.
Tom Gottfried <tom@intevation.de>
parents: 8487
diff changeset
1284 number(dc:coalesce(
1314d876a7e5 Do not filter tables without end date in recommendations for historical discharge tables.
Tom Gottfried <tom@intevation.de>
parents: 8487
diff changeset
1285 dc:date-format('yyyyMMdd', $stop_time),
1314d876a7e5 Do not filter tables without end date in recommendations for historical discharge tables.
Tom Gottfried <tom@intevation.de>
parents: 8487
diff changeset
1286 '99999999'))
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1287 &gt; $start">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1288 <dc:call-macro name="hist_discharge_factory" />
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1289 </dc:filter>
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1290 </dc:call-macro>
8461
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1291 </dc:macro>
2b4191f78ea6 Load discharge curves via recommendations in historical discharge calculation. ToDo: Remove the other logic to load them.
Tom Gottfried <tom@intevation.de>
parents: 8453
diff changeset
1292
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1293 <dc:macro name="discharge_table_gauge">
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1294 <dc:call-macro name="discharge_curve_choose_context">
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1295 <dc:filter expr="$kind = 0">
8434
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1296 <dc:group expr="$gauge_name">
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1297 <gauge name="{dc:group-key()}">
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1298 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1299 <current_gauge factory="gaugedischarge" target_out="{$out}" ids="{$gauge_name}" />
8434
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1300 </dc:for-each>
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1301 </gauge>
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1302 </dc:group>
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1303 </dc:filter>
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1304 </dc:call-macro>
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1305 </dc:macro>
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1306
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1307 <dc:macro name="historical_discharge_curve">
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1308 <dc:call-macro name="discharge_curve_choose_context">
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1309 <dc:filter expr="$kind = 1">
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1310 <historical_discharge_curves>
8434
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1311 <dc:group expr="$gauge_name">
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1312 <gauge name="{dc:group-key()}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1313 <dc:call-macro name="hist_discharge_factory" />
8434
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1314 </gauge>
48ed9019d8a1 For fixation analysis, allow loading discharge curves from multiple gauges on calculation range via datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8431
diff changeset
1315 </dc:group>
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1316 </historical_discharge_curves>
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1317 </dc:filter>
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1318 </dc:call-macro>
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1319 </dc:macro>
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1320
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1321 <dc:macro name="discharge_curve_choose_context">
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1322 <dc:choose>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1323 <dc:when test="$fromkm &gt; -99999 and $tokm &lt; 99999">
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1324 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1325 <dc:call-macro name="discharge_curves_km" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1326 <dc:macro-body />
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1327 </dc:context>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1328 </dc:when>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1329 <dc:otherwise>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1330 <dc:variable name="refgauge" type="number" expr="dc:get('reference_gauge')" />
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1331 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1332 <dc:call-macro name="discharge_curves_refgauge" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1333 <dc:macro-body />
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1334 </dc:context>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1335 </dc:otherwise>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1336 </dc:choose>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1337 </dc:macro>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1338
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1339 <dc:macro name="discharge_curves_km">
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1340 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1341 SELECT g.name AS gauge_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1342 dt.id AS dt_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1343 t.start_time AS start_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1344 t.stop_time AS stop_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1345 dt.bfg_id AS bfg_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1346 dt.kind AS kind
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1347 FROM gauges g
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1348 JOIN discharge_tables dt ON g.id = dt.gauge_id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1349 LEFT JOIN time_intervals t ON dt.time_interval_id = t.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1350 WHERE g.river_id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1351 AND g.station BETWEEN ${fromkm} AND ${tokm}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1352 ORDER BY start_time
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1353 </dc:statement>
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1354 </dc:macro>
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
1355
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1356 <dc:macro name="discharge_curves_refgauge">
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1357 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1358 SELECT g.name AS gauge_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1359 dt.id AS dt_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1360 t.start_time AS start_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1361 t.stop_time AS stop_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1362 dt.bfg_id AS bfg_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1363 dt.kind AS kind
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1364 FROM gauges g
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1365 JOIN discharge_tables dt ON g.id = dt.gauge_id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1366 LEFT JOIN time_intervals t ON dt.time_interval_id = t.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1367 WHERE g.river_id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1368 AND g.official_number = ${refgauge}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1369 ORDER BY start_time
8487
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1370 </dc:statement>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1371 </dc:macro>
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1372
3e5d69e143e9 Datacage config: Oracle has no boolean data type and thus can not handle such CASE-statement in WHERE-clause.
Tom Gottfried <tom@intevation.de>
parents: 8473
diff changeset
1373 <!-- Cross sections -->
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1374 <dc:macro name="cross_sections">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1375 <cross_sections id="flood-protections-{$river_id}">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1376 <dc:context connection="system">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1377 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1378 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1379 cs.id AS prot_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1380 cs.description AS prot_description
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1381 FROM cross_sections cs
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1382 JOIN cross_section_lines csl ON csl.cross_section_id = cs.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1383 WHERE cs.river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1384 AND csl.km BETWEEN ${fromkm} AND ${tokm}
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1385 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1386 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1387 <cross_section name="{$prot_description}" ids="{$prot_id}" factory="crosssections" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1388 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1389 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1390 </cross_sections>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1391 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1392
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1393 <dc:macro name="hyks">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1394 <hyks id="hyk-{$river_id}">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1395 <dc:context connection="system">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1396 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1397 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1398 h.id AS hyk_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1399 h.description AS hyk_description
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1400 FROM hyks h
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1401 JOIN hyk_entries he ON he.hyk_id = h.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1402 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1403 AND he.km BETWEEN ${fromkm} AND ${tokm}
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1404 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1405 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1406 <hyk name="{$hyk_description}" ids="{$hyk_id}" factory="hyk" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1407 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1408 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1409 </hyks>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1410 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1411
9506
8b7bf26b8782 Predefined artifact for standard vegetation zones.
gernotbelger
parents: 9499
diff changeset
1412 <!-- Default Vegetation Zones -->
8b7bf26b8782 Predefined artifact for standard vegetation zones.
gernotbelger
parents: 9499
diff changeset
1413 <dc:macro name="predefined_vegetation_zones">
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
1414 <uinfo module="uinfo">
9506
8b7bf26b8782 Predefined artifact for standard vegetation zones.
gernotbelger
parents: 9499
diff changeset
1415 <vegetation_zones>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1416 <dc:variable name="vegzonedata" expr="dc:defaultvegetationzone($river)" />
9506
8b7bf26b8782 Predefined artifact for standard vegetation zones.
gernotbelger
parents: 9499
diff changeset
1417
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1418 <defaultVegetationZone factory="predefined_vegetation_zonesf" target_out="{$out}" ids="{$vegzonedata}" />
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
1419 </vegetation_zones>
9506
8b7bf26b8782 Predefined artifact for standard vegetation zones.
gernotbelger
parents: 9499
diff changeset
1420 </uinfo>
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
1421 </dc:macro>
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1422
9624
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
1423 <dc:macro name="predefined_infrastructures">
9640
68d7b09a47b7 zu pos 20 little fixes
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9627
diff changeset
1424 <sinfo_flood_duration_infrastructures>
9626
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1425 <dc:choose>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1426 <dc:when test="dc:contains($riverside, 'left')">
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1427 <dc:context connection="system">
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1428 <dc:variable name="infra_rs_clause" expr="'AND (lower(rs.value) = ''links'')'" />
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1429 <!--dc:call-macro name="infrastructures_statement" /-->
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1430 <dc:call-macro name="infrastructures_leftside_statement" />
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1431 <dc:call-macro name="infrastructures_groups_fill" />
9626
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1432 </dc:context>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1433 </dc:when>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1434 <dc:when test="dc:contains($riverside, 'right')">
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1435 <dc:context connection="system">
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1436 <dc:variable name="infra_rs_clause" expr="'AND (lower(rs.value) = ''rechts'')'" />
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1437 <dc:call-macro name="infrastructures_rightside_statement" />
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1438 <dc:call-macro name="infrastructures_groups_fill" />
9626
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1439 </dc:context>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1440 </dc:when>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1441 <dc:otherwise>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1442 <dc:context connection="system">
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1443 <dc:variable name="infra_rs_clause" expr="" />
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1444 <dc:call-macro name="infrastructures_bothsides_statement" />
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1445 <dc:call-macro name="infrastructures_groups_fill" />
9626
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1446 </dc:context>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1447 </dc:otherwise>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1448 </dc:choose>
9640
68d7b09a47b7 zu pos 20 little fixes
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9627
diff changeset
1449 </sinfo_flood_duration_infrastructures>
9624
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
1450 </dc:macro>
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1451
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1452 <dc:macro name="infrastructures_groups_fill">
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1453 <dc:group expr="$group_label">
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1454 <infrastructure_group name="{dc:group-key()}" description="{dc:group-key()}">
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1455 <dc:for-each>
9640
68d7b09a47b7 zu pos 20 little fixes
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9627
diff changeset
1456 <!--target_out MUST BE DEFINED -->
68d7b09a47b7 zu pos 20 little fixes
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9627
diff changeset
1457 <infrastructure_type name="{$type_label}" factory="FAKE_FACTORY" target_out="{$out}" description="{$filename}"
68d7b09a47b7 zu pos 20 little fixes
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9627
diff changeset
1458 group_label="{$group_label}" group_id="{$group_id}" type_id="{$type_id}" type_label="{$type_label}" />
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1459 </dc:for-each>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1460 </infrastructure_group>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1461 </dc:group>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1462 </dc:macro>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1463
9626
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1464 <dc:macro name="infrastructures_statement">
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1465 <dc:comment>die expansion von infra_rs_clause funktioniert nicht richtig, die messages erscheinen leider nicht im log...</dc:comment>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1466 <dc:message>infrastructures_statement.infra_rs_clause: $infra_rs_clause</dc:message>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1467 <dc:message>infrastructures_statement.infra_rs_clause: ${infra_rs_clause}</dc:message>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1468 <dc:statement>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1469 SELECT s.id, MIN(s.filename) AS filename, MIN(s.group_id) AS group_id, MIN(g.name) AS group_label,
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1470 MIN(s.annotation_type_id) AS type_id, MIN(t.name) AS type_label
9641
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1471 FROM (((infrastructure s INNER JOIN infrastructure_values v ON v.infrastructure_id = s.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1472 INNER JOIN annotation_types g ON s.group_id = g.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1473 INNER JOIN annotation_types t ON s.annotation_type_id = t.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1474 INNER JOIN attributes rs ON v.attribute_id = rs.id
9626
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1475 WHERE (s.river_id = ${river_id})
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1476 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1477 ${infra_rs_clause}
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1478 GROUP BY s.id
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1479 ORDER BY MIN(g.name), MIN(t.name)
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1480 </dc:statement>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1481 </dc:macro>
ad852be69900 Nachtrag Pos. 20: improved infrastructure query
mschaefer
parents: 9625
diff changeset
1482
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1483 <dc:macro name="infrastructures_leftside_statement">
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1484 <dc:statement>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1485 SELECT s.id, MIN(s.filename) AS filename, MIN(s.group_id) AS group_id, MIN(g.name) AS group_label,
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1486 MIN(s.annotation_type_id) AS type_id, MIN(t.name) AS type_label
9641
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1487 FROM (((infrastructure s INNER JOIN infrastructure_values v ON v.infrastructure_id = s.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1488 INNER JOIN annotation_types g ON s.group_id = g.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1489 INNER JOIN annotation_types t ON s.annotation_type_id = t.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1490 INNER JOIN attributes rs ON v.attribute_id = rs.id
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1491 WHERE (s.river_id = ${river_id})
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1492 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1493 AND (lower(rs.value) = 'links')
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1494 GROUP BY s.id
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1495 ORDER BY MIN(g.name), MIN(t.name)
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1496 </dc:statement>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1497 </dc:macro>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1498
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1499 <dc:macro name="infrastructures_rightside_statement">
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1500 <dc:statement>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1501 SELECT s.id, MIN(s.filename) AS filename, MIN(s.group_id) AS group_id, MIN(g.name) AS group_label,
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1502 MIN(s.annotation_type_id) AS type_id, MIN(t.name) AS type_label
9641
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1503 FROM (((infrastructure s INNER JOIN infrastructure_values v ON v.infrastructure_id = s.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1504 INNER JOIN annotation_types g ON s.group_id = g.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1505 INNER JOIN annotation_types t ON s.annotation_type_id = t.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1506 INNER JOIN attributes rs ON v.attribute_id = rs.id
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1507 WHERE (s.river_id = ${river_id})
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1508 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1509 AND (lower(rs.value) = 'rechts')
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1510 GROUP BY s.id
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1511 ORDER BY MIN(g.name), MIN(t.name)
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1512 </dc:statement>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1513 </dc:macro>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1514
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1515 <dc:macro name="infrastructures_bothsides_statement">
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1516 <dc:statement>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1517 SELECT s.id, MIN(s.filename) AS filename, MIN(s.group_id) AS group_id, MIN(g.name) AS group_label,
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1518 MIN(s.annotation_type_id) AS type_id, MIN(t.name) AS type_label
9641
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1519 FROM (((infrastructure s INNER JOIN infrastructure_values v ON v.infrastructure_id = s.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1520 INNER JOIN annotation_types g ON s.group_id = g.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1521 INNER JOIN annotation_types t ON s.annotation_type_id = t.id)
f96be528ee35 Removed AS for table aliases in infrastructure queries to avoid Oracle problem
mschaefer
parents: 9640
diff changeset
1522 INNER JOIN attributes rs ON v.attribute_id = rs.id
9625
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1523 WHERE (s.river_id = ${river_id})
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1524 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1525 GROUP BY s.id
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1526 ORDER BY MIN(g.name), MIN(t.name)
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1527 </dc:statement>
07f02019065e Nachtrag Pos. 20: infrastructure query added, calculation updated for extended access class
mschaefer
parents: 9624
diff changeset
1528 </dc:macro>
9624
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
1529
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1530 <!-- wst-data -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1531
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1532 <!-- model-waterlevels -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1533 <dc:macro name="basedata_0_macro">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1534 <dc:filter expr="$kind = 0">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1535 <dc:if test="dc:has-result()">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1536 <basedata>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1537 <dc:group expr="$wst_description">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1538 <basedata name="{dc:group-key()}">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1539 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1540 <dc:macro-body />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1541 </dc:for-each>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1542 </basedata>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1543 </dc:group>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1544 </basedata>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1545 </dc:if>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1546 </dc:filter>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1547 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1548
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1549 <dc:macro name="basedata_0">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1550 <dc:call-macro name="basedata_0_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1551 <column name="{$wst_column_name}" ids="base_data-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1552 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1553 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1554
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1555 <dc:macro name="basedata_0_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1556 <dc:call-macro name="basedata_0_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1557 <column name="{$wst_column_name}" ids="base_data-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1558 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1559 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1560
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1561 <!-- additional longitudinal sections -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1562 <dc:macro name="basedata_1_additionals_macro">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1563 <dc:filter expr="$kind=1">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1564 <dc:if test="dc:has-result()">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1565 <additionals>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1566 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
1567 <additional name="{dc:group-key()}" description="{dc:group-key()}">
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1568 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1569 <dc:macro-body />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1570 </dc:for-each>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1571 </additional>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1572 </dc:group>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1573 </additionals>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1574 </dc:if>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1575 </dc:filter>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1576 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1577
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1578 <dc:macro name="basedata_1_additionals">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1579 <dc:call-macro name="basedata_1_additionals_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1580 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1581 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1582 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1583
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1584 <dc:macro name="basedata_1_additionals-sinfo-with-q_macro">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1585 <dc:filter expr="$kind=1 and $sinfo_selection='Q'">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1586 <dc:if test="dc:has-result()">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1587 <sinfo_additional_ls_withQ>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1588 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
1589 <additional name="{dc:group-key()}" description="{dc:group-key()}">
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1590 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1591 <dc:macro-body />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1592 </dc:for-each>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1593 </additional>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1594 </dc:group>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1595 </sinfo_additional_ls_withQ>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1596 </dc:if>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1597 </dc:filter>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1598 </dc:macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1599
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1600 <dc:macro name="basedata_1_additionals-sinfo-with-q">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1601 <dc:call-macro name="basedata_1_additionals-sinfo-with-q_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1602 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" year="{dc:date-format('yyyy', $start_time)}" />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1603 </dc:call-macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1604 </dc:macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1605
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1606 <dc:macro name="basedata_1_additionals-sinfo-without-q_macro">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1607 <dc:filter expr="$kind=1 and $sinfo_selection='W'">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1608 <dc:if test="dc:has-result()">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1609 <sinfo_additional_ls_withoutQ>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1610 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
1611 <additional name="{dc:group-key()}" description="{dc:group-key()}">
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1612 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1613 <dc:macro-body />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1614 </dc:for-each>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1615 </additional>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1616 </dc:group>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1617 </sinfo_additional_ls_withoutQ>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1618 </dc:if>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1619 </dc:filter>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1620 </dc:macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1621
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1622 <dc:macro name="basedata_1_additionals-sinfo-without-q">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1623 <dc:call-macro name="basedata_1_additionals-sinfo-without-q_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1624 <dc:variable name="start_year" expr="dc:date-format('yyyy', $start_time)" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1625 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" year="{dc:date-format('yyyy', $start_time)}" />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1626 </dc:call-macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1627 </dc:macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1628
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1629 <dc:macro name="basedata_1_additionals_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1630 <dc:call-macro name="basedata_1_additionals_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1631 <column name="{$wst_column_name}" ids="base_data-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1632 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1633 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1634
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1635 <dc:macro name="basedata_1_additionals-relative_point">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1636 <dc:call-macro name="basedata_1_additionals_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1637 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1638 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1639 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1640
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1641 <!-- fixations -->
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1642 <dc:macro name="fixings-macro">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1643 <dc:filter expr="$kind=2">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1644 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1645 <fixations>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1646 <dc:group expr="dc:replace($wst_description, 'Fixierungen/', '')">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1647 <fixation name="{dc:group-key()}">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1648 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1649 <dc:macro-body />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1650 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1651 </fixation>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1652 </dc:group>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1653 </fixations>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1654 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1655 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1656 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1657
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1658 <dc:macro name="basedata_2_fixations">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1659 <dc:call-macro name="fixings-macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1660 <dc:variable name="start_year" expr="dc:date-format('yyyy', $start_time)" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1661 <column name="{$wst_column_name}" ids="fixations-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" year="{dc:date-format('yyyy', $start_time)}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1662 </dc:call-macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1663 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1664
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1665 <dc:macro name="basedata_2_fixations_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1666 <dc:call-macro name="fixings-macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1667 <column name="{$wst_column_name}" ids="fixations-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1668 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1669 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1670
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1671 <dc:macro name="basedata_2_fixations_relative_point">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1672 <dc:call-macro name="fixings-macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1673 <column name="{$wst_column_name}" ids="fixations-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1674 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1675 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1676
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1677 <!-- official lines -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1678 <dc:macro name="basedata_3_macro">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1679 <dc:filter expr="$kind=3">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1680 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1681 <officiallines>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1682 <dc:group expr="$wst_description">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1683 <official name="{dc:group-key()}">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1684 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1685 <dc:macro-body />
7621
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1686 </dc:for-each>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1687 </official>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1688 </dc:group>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1689 </officiallines>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1690 </dc:if>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1691 </dc:filter>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1692 </dc:macro>
00db0071388f issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7576
diff changeset
1693
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1694 <dc:macro name="basedata_3_officials">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1695 <dc:call-macro name="basedata_3_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1696 <dc:variable name="start_year" expr="dc:date-format('yyyy', $start_time)" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1697 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" year="{dc:date-format('yyyy', $start_time)}" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1698 </dc:call-macro>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1699 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1700
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1701 <dc:macro name="basedata_3_officials_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1702 <dc:call-macro name="basedata_3_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1703 <column name="{$wst_column_name}" ids="officials_wq-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1704 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1705 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1706
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1707 <!-- flood marks -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1708 <dc:macro name="basedata_4_macro">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1709 <dc:filter expr="$kind=4">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1710 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1711 <heightmarks>
6081
cdd9759b15b6 Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents: 6075
diff changeset
1712 <dc:group expr="dc:replace($wst_description, 'HW-Marken/', '')">
9282
7efb27005d0d Fixed: using description attribute (same as name) everywhere to avoid gwt error message.
gernotbelger
parents: 9252
diff changeset
1713 <heightmark name="{dc:group-key()}" description="{dc:group-key()}">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1714 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1715 <dc:macro-body />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1716 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1717 </heightmark>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1718 </dc:group>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1719 </heightmarks>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1720 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1721 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1722 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1723
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1724 <dc:macro name="basedata_4_heightmarks-points">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1725 <dc:call-macro name="basedata_4_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1726 <column name="{$wst_column_name}" ids="heightmarks_points-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1727 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1728 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1729
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1730 <dc:macro name="basedata_4_heightmarks-points_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1731 <dc:call-macro name="basedata_4_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1732 <column name="{$wst_column_name}" ids="heightmarks_points-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1733 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1734 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1735
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1736 <dc:macro name="basedata_4_heightmarks-points-relative_points">
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1737 <dc:call-macro name="basedata_4_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1738 <column name="{$wst_column_name}" ids="heightmarks_points-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1739 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1740 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1741
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1742 <!-- flood protection structures -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1743 <dc:macro name="basedata_5_macro">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1744 <dc:filter expr="$kind=5">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1745 <dc:if test="dc:has-result()">
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1746 <flood_protections>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1747 <dc:group expr="dc:replace($wst_description, 'HW-Schutzanlagen/', '')">
9282
7efb27005d0d Fixed: using description attribute (same as name) everywhere to avoid gwt error message.
gernotbelger
parents: 9252
diff changeset
1748 <flood_protection name="{dc:group-key()}" description="{dc:group-key()}">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1749 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1750 <dc:macro-body />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1751 </dc:for-each>
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1752 </flood_protection>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1753 </dc:group>
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1754 </flood_protections>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1755 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1756 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1757 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1758
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1759 <dc:macro name="basedata_5_flood-protections">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1760 <dc:call-macro name="basedata_5_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1761 <column name="{$wst_column_name}" ids="flood_protection-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1762 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1763 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1764
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1765 <dc:macro name="basedata_5_flood-protections_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1766 <dc:call-macro name="basedata_5_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1767 <column name="{$wst_column_name}" ids="flood_protection-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1768 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1769 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1770
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1771 <dc:macro name="basedata_5_flood-protections_relative_points">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1772 <dc:call-macro name="basedata_5_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1773 <column name="{$wst_column_name}" ids="flood_protection-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1774 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1775 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1776
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1777 <!-- waterlevel differences imported from CSV-files for M-INFO -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1778 <dc:macro name="basedata_6_delta_w">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1779 <dc:filter expr="$kind=6">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1780 <dc:if test="dc:has-result()">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1781 <delta_w>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1782 <delta_w_cm>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1783 <dc:filter expr="contains($wst_description, 'cm.csv')">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1784 <dc:group expr="dc:replace($wst_description, 'CSV/', '')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
1785 <relativepoint name="{dc:group-key()}" description="{dc:group-key()}">
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1786 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1787 <column name="{$wst_column_name}" ids="delta_w-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1788 </dc:for-each>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1789 </relativepoint>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1790 </dc:group>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1791 </dc:filter>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1792 </delta_w_cm>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1793 <delta_w_cma>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1794 <dc:filter expr="contains($wst_description, 'cm-a.csv')">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1795 <dc:group expr="dc:replace($wst_description, 'CSV/', '')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
1796 <relativepoint name="{dc:group-key()}" description="{dc:group-key()}">
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1797 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1798 <column name="{$wst_column_name}" ids="delta_w_cma-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1799 </dc:for-each>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1800 </relativepoint>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1801 </dc:group>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1802 </dc:filter>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1803 </delta_w_cma>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1804 </delta_w>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1805 </dc:if>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1806 </dc:filter>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1807 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1808
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1809 <!-- waterlevels imported from CSV-files for M-INFO -->
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1810 <dc:macro name="basedata_7_macro">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1811 <dc:filter expr="$kind=7">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1812 <dc:if test="dc:has-result()">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1813 <wlevel>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1814 <dc:group expr="dc:replace($wst_description, 'CSV/', '')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
1815 <relativepoint name="{dc:group-key()}" description="{dc:group-key()}">
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1816 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1817 <dc:macro-body />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1818 </dc:for-each>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1819 </relativepoint>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1820 </dc:group>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1821 </wlevel>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1822 </dc:if>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1823 </dc:filter>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1824 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1825
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1826 <dc:macro name="basedata_7_waterlevels">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1827 <dc:call-macro name="basedata_7_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1828 <dc:variable name="start_year" expr="dc:date-format('yyyy', $start_time)" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1829 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" year="{dc:date-format('yyyy', $start_time)}" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1830 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1831 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1832
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1833 <dc:macro name="basedata_7_waterlevels_wq">
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1834 <dc:call-macro name="basedata_7_macro">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1835 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="wqinterpol" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]" />
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1836 </dc:call-macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1837 </dc:macro>
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1838
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1839
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1840 <!-- prototypes -->
8306
33d90858b2dc Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents: 8301
diff changeset
1841
7265
1446bdb372c9 meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7264
diff changeset
1842 <dc:macro name="discharge-curve-prototype">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1843 <computed_discharge_curve>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1844 <dc:call-macro name="discharge_table_gauge" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1845 <dc:call-macro name="mainvalues" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1846 </computed_discharge_curve>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1847 <dc:call-macro name="historical_discharge_curve" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1848 <dc:call-macro name="basedata_0_wq" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1849 <dc:call-macro name="basedata_1_additionals_wq" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1850 <dc:call-macro name="basedata_2_fixations_wq" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1851 <dc:call-macro name="basedata_3_officials_wq" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1852 <dc:call-macro name="basedata_4_heightmarks-points_wq" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1853 <dc:call-macro name="basedata_5_flood-protections_wq" />
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
1854 <minfo module="minfo">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1855 <dc:call-macro name="sqrelations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1856 <dc:call-macro name="basedata_7_waterlevels_wq" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1857 </minfo>
7265
1446bdb372c9 meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7264
diff changeset
1858 </dc:macro>
1446bdb372c9 meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7264
diff changeset
1859
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1860 <dc:macro name="discharge-curve-user-prototype">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1861 <dc:call-macro name="waterlevels-user" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1862 <dc:call-macro name="computed-discharge-curve" />
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1863 <!-- TODO: macro for discharge longitudinal section -->
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1864 <dc:call-macro name="fix-wq-curve" />
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1865 <!-- TODO: own macro for Vollmer-curve (extract from fix-wq-curve and waterlevels-user) -->
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1866 <dc:call-macro name="extreme-wq-curve" />
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
1867 <minfo module="minfo">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1868 <dc:call-macro name="sqrelations_user" />
8377
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1869 </minfo>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1870 </dc:macro>
64b21db73846 Q-symmetric datacage configuration for user-data.
Tom Gottfried <tom@intevation.de>
parents: 8336
diff changeset
1871
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1872 <dc:macro name="longitudinal-section-prototype">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1873 <dc:call-macro name="basedata_0" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1874 <dc:call-macro name="basedata_1_additionals" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1875 <dc:call-macro name="basedata_2_fixations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1876 <dc:call-macro name="basedata_3_officials" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1877 <dc:call-macro name="basedata_4_heightmarks-points" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1878 <dc:call-macro name="basedata_5_flood-protections" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1879 <dc:call-macro name="annotations_per_type" />
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
1880 <minfo module="minfo">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1881 <fixanalysis>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1882 <dc:call-macro name="basedata_6_delta_w" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1883 <dc:call-macro name="basedata_7_waterlevels" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1884 </fixanalysis>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1885 <dc:call-macro name="sedimentloads" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1886 <dc:call-macro name="densities" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1887 <dc:call-macro name="minfo-heights" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1888 <dc:call-macro name="sounding-width" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1889 <dc:call-macro name="morph_width" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1890 <dc:call-macro name="porosities" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1891 <flow_velocities>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1892 <dc:call-macro name="flow_velocity_measurements" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1893 <dc:call-macro name="flow_velocity_models" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1894 </flow_velocities>
7171
200ae084909a issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7021
diff changeset
1895 </minfo>
8961
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
1896
9520
b188255f08b3 Allow to filter datacage entries by module-roles of current user.
gernotbelger
parents: 9518
diff changeset
1897 <sinfo module="sinfo">
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1898 <sinfo_predefined_flowdepths>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1899 <dc:call-macro name="sinfo_predefined_flowdepth-m" />
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1900 </sinfo_predefined_flowdepths>
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1901
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
1902 <sinfo_predefined_collision>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1903 <dc:call-macro name="sinfo_predefined_collision" />
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
1904 </sinfo_predefined_collision>
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
1905
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
1906 <sinfo_predefined_channel>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1907 <dc:call-macro name="sinfo_predefined_channel" />
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
1908 </sinfo_predefined_channel>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
1909
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
1910 <sinfo_predefined_infrastructure>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1911 <dc:call-macro name="sinfo_predefined_infrastructure" />
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
1912 </sinfo_predefined_infrastructure>
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
1913
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1914 <sinfo_predefined_tkh>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1915 <dc:call-macro name="sinfo_predefined_tkh-berechnung" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1916 <dc:call-macro name="sinfo_predefined_tkh-messung" />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
1917 </sinfo_predefined_tkh>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1918
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
1919 <sinfo_predefined_depthevol>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1920 <dc:call-macro name="sinfo_predefined_depthevol-aktuell" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1921 <dc:call-macro name="sinfo_predefined_depthevol-etappe" />
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
1922 </sinfo_predefined_depthevol>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1923
8961
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
1924 </sinfo>
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
1925
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1926 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
1927
7333
7389fef8905c Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7332
diff changeset
1928 <dc:macro name="longitudinal-section-user-prototype">
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1929 <dc:comment> SINFO </dc:comment>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1930 <dc:call-macro name="sinfo_flowdepths" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1931 <dc:call-macro name="sinfo_flowdepths_minmax" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1932 <dc:call-macro name="sinfo_flow_depth_development" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1933 <dc:call-macro name="sinfo_tkh" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1934 <dc:call-macro name="sinfo_collision" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1935 <dc:call-macro name="sinfo_flood_duration" />
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1936
7419
cae7c0625436 Datacage: Consequently call macro 'longitudinal-section-user-prototype' in all longitudinal sections of old calculation. Moved asymmeterical stuff to prototype. This may crash!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7418
diff changeset
1937 <dc:comment> WINFO/DIFF/FIX </dc:comment>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1938 <dc:call-macro name="longitudinal" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1939 <dc:call-macro name="differences" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1940 <dc:call-macro name="waterlevels-discharge" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1941 <dc:call-macro name="longitudinal-section-fix" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1942 <dc:call-macro name="longitudinal-section-fix-vollmer" />
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
1943
7419
cae7c0625436 Datacage: Consequently call macro 'longitudinal-section-user-prototype' in all longitudinal sections of old calculation. Moved asymmeterical stuff to prototype. This may crash!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 7418
diff changeset
1944 <dc:comment> MINFO </dc:comment>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1945 <dc:call-macro name="middle_bedheights" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1946 <dc:call-macro name="bedheight_differences" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1947 <dc:call-macro name="bedquality" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1948 <dc:call-macro name="flow-velocity" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1949 <dc:call-macro name="sediment-load" />
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
1950
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
1951 <dc:comment> UINFO </dc:comment>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1952 <dc:call-macro name="uinfo_salix_line" />
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
1953
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
1954 <dc:comment> BUNDU </dc:comment>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1955 <dc:call-macro name="bundu_bezugswst" />
7333
7389fef8905c Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7332
diff changeset
1956 </dc:macro>
7389fef8905c Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7332
diff changeset
1957
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
1958 <!-- porosities -->
7851
b566cd0c025a New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents: 7801
diff changeset
1959 <dc:macro name="porosities">
b566cd0c025a New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents: 7801
diff changeset
1960 <porosities>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1961 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1962 <dc:statement>
7851
b566cd0c025a New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents: 7801
diff changeset
1963 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1964 p.id AS pid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1965 p.description AS description,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1966 d.lower AS depth_lower,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1967 d.upper AS depth_upper,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1968 p.description || '&lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1969 'Tiefe: ' || d.lower || ' - ' || d.upper
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1970 || ' cm &lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1971 'Zeitraum: ' AS info,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1972 t.start_time AS syear,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1973 t.stop_time AS eyear
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1974 FROM porosity p
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1975 JOIN depths d ON p.depth_id = d.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1976 JOIN time_intervals t ON p.time_interval_id=t.id
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
1977 WHERE p.river_id =
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
1978 ${river_id}
7851
b566cd0c025a New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents: 7801
diff changeset
1979 ORDER BY depth_lower, depth_upper
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1980 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1981 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1982 <dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1983 <porosity description="{$depth_lower}-{$depth_upper} cm" factory="porosity" target_out="{$out}" info="{concat($info, dc:date-format('yyyy', $syear),
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
1984 ' - ', dc:date-format('yyyy', $eyear))}" ids="{$pid};{$description}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1985 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1986 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1987 </dc:context>
7851
b566cd0c025a New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents: 7801
diff changeset
1988 </porosities>
b566cd0c025a New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents: 7801
diff changeset
1989 </dc:macro>
7333
7389fef8905c Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7332
diff changeset
1990
7208
b893e1d0ddc7 issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7195
diff changeset
1991 <dc:macro name="densities">
b893e1d0ddc7 issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7195
diff changeset
1992 <densities>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1993 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1994 <dc:statement>
7208
b893e1d0ddc7 issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7195
diff changeset
1995 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1996 sd.id AS sdid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1997 d.lower AS depth_lower,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1998 d.upper AS depth_upper,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
1999 min(sdv.year) AS year,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2000 sd.description || '&lt;BR&gt;Jahr: ' || min(sdv.year) AS info
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2001 FROM sediment_density sd
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2002 JOIN depths d ON sd.depth_id = d.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2003 JOIN sediment_density_values sdv on sdv.sediment_density_id = sd.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2004 WHERE sd.river_id = ${river_id}
7451
6b8d9c001329 issue1345: Sort sediment densities by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7450
diff changeset
2005 GROUP BY sd.id, sd.description, d.upper, d.lower
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2006 ORDER BY
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2007 year, depth_lower, depth_upper
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2008 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2009 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2010 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2011 <density description="{$depth_lower}-{$depth_upper} cm" factory="sedimentdensity" target_out="{$out}" info="{$info}" ids="{$sdid}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2012 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2013 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2014 </dc:context>
7208
b893e1d0ddc7 issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7195
diff changeset
2015 </densities>
b893e1d0ddc7 issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7195
diff changeset
2016 </dc:macro>
b893e1d0ddc7 issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7195
diff changeset
2017
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
2018 <!-- sediment load -->
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2019 <dc:macro name="load">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2020 <year description="{$timespan}" factory="sedimentload" target_out="{$out}" info="{$info}" ids="{$slid};{$fraction};{$timespan};{$kind}" />
8096
1d2a9c5ee97b Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8079
diff changeset
2021 </dc:macro>
1d2a9c5ee97b Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8079
diff changeset
2022
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2023 <dc:macro name="load_ls">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2024 <year description="{$timespan}" factory="sedimentload_ls" target_out="{$out}" info="{$info}" ids="{$slid};{$timespan};{$kind}" />
7279
237d5305b1a9 issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7278
diff changeset
2025 </dc:macro>
237d5305b1a9 issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7278
diff changeset
2026
7278
03fa985dd044 issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7277
diff changeset
2027 <dc:macro name="loads">
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2028 <dc:if test="dc:has-result()">
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2029 <dc:group expr="concat('SQ ', dc:date-format('yyyy', $sqstart), '-',
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2030 dc:date-format('yyyy', $sqstop))">
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2031 <sq_time description="{dc:group-key()}">
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2032 <dc:group expr="$fraction">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2033 <dc:variable name="fraction_name" expr="concat('${', dc:group-key(), '}')" />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2034 <fraction description="{$fraction_name}">
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2035 <dc:for-each>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2036 <dc:choose>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2037 <dc:when test="string-length(dc:get('endyear')) = 0">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2038 <dc:variable name="timespan" type="string" expr="dc:date-format('yyyy', $startyear)" />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2039 </dc:when>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2040 <dc:otherwise>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2041 <dc:variable name="timespan" type="string" expr="concat(dc:date-format('yyyy',
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2042 $startyear), '-',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2043 dc:date-format('yyyy', $endyear))" />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2044 </dc:otherwise>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2045 </dc:choose>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2046 <dc:if test="$kind = 'official'">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2047 <dc:variable name="info" type="string" expr="concat('Amtliche Epoche&lt;BR&gt;',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2048 dc:get('info'))" />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2049 </dc:if>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2050 <dc:macro-body />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2051 </dc:for-each>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2052 </fraction>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2053 </dc:group>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2054 </sq_time>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2055 </dc:group>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2056 </dc:if>
7278
03fa985dd044 issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7277
diff changeset
2057 </dc:macro>
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2058
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2059 <dc:macro name="sedimentloads-filter">
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2060 <years>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2061 <dc:filter expr="string-length(dc:get('endyear')) = 0 and
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2062 $kind != 'official'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2063 <dc:macro-body />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2064 </dc:filter>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2065 </years>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2066 <epochs>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2067 <dc:filter expr="string-length(dc:get('endyear')) &gt; 0 and
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2068 $kind != 'official'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2069 <dc:macro-body />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2070 </dc:filter>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2071 </epochs>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2072 <off_epochs>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2073 <dc:filter expr="$kind = 'official'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2074 <dc:macro-body />
8297
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2075 </dc:filter>
6f866709bbff Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8289
diff changeset
2076 </off_epochs>
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2077 </dc:macro>
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2078
8096
1d2a9c5ee97b Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8079
diff changeset
2079 <dc:macro name="sedimentloads">
1d2a9c5ee97b Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8079
diff changeset
2080 <sedimentloads>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2081 <dc:call-macro name="annotations_sediment_load_ls" />
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2082 <measurement_stations>
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2083 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2084 <dc:call-macro name="sedimentload_stations_statement" />
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2085 <dc:call-macro name="sedimentloads-filter">
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2086 <dc:call-macro name="loads">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2087 <dc:call-macro name="load" />
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2088 </dc:call-macro>
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2089 </dc:call-macro>
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2090 </dc:context>
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2091 </measurement_stations>
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2092 <sediment_load_ls>
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2093 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2094 <dc:call-macro name="sedimentload_ls_statement" />
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2095 <dc:call-macro name="sedimentloads-filter">
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2096 <dc:call-macro name="loads">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2097 <dc:call-macro name="load_ls" />
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2098 </dc:call-macro>
8120
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2099 </dc:call-macro>
b57f4bcd0f6f Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents: 8119
diff changeset
2100 </dc:context>
8079
1c57c9dc1661 Datacage config for new sediment load structures. Missing: some facets and everything down from the innermost macros for sediment load at measurement stations.
Tom Gottfried <tom@intevation.de>
parents: 8072
diff changeset
2101 </sediment_load_ls>
8096
1d2a9c5ee97b Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8079
diff changeset
2102 </sedimentloads>
7190
851fc99be4bc issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7177
diff changeset
2103 </dc:macro>
851fc99be4bc issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7177
diff changeset
2104
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2105 <dc:macro name="sedimentload_stations_statement">
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2106 <dc:statement>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2107 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2108 sl.id AS slid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2109 slk.kind AS kind,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2110 ti.start_time AS startyear,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2111 ti.stop_time AS endyear,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2112 sq.start_time AS sqstart,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2113 sq.stop_time AS sqstop,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2114 sq.id AS sqid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2115 gf.name AS fraction,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2116 sl.description || '&lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2117 'Fraktion: ' || gf.lower || ' bis ' || gf.upper ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2118 ' mm&lt;BR&gt;Einheit: t/a' AS info
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2119 FROM sediment_load sl
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2120 JOIN sediment_load_kinds slk ON slk.id = sl.kind
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2121 JOIN
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2122 sediment_load_values slv
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2123 ON sl.id = slv.sediment_load_id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2124 JOIN measurement_station ms
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2125 ON ms.id =
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2126 slv.measurement_station_id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2127 JOIN ranges ra ON ms.range_id = ra.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2128 JOIN rivers r ON ra.river_id = r.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2129 JOIN time_intervals ti ON sl.time_interval_id = ti.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2130 LEFT JOIN time_intervals sq ON sl.sq_time_interval_id = sq.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2131 JOIN grain_fraction gf ON gf.id = sl.grain_fraction_id
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2132 WHERE r.id = ${river_id}
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2133 AND CASE
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2134 WHEN r.km_up = 1 AND ra.b IS NOT NULL
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2135 THEN ra.b ELSE ra.a END BETWEEN ${fromkm} AND ${tokm}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2136 ORDER BY sqstart DESC, sqstop DESC,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2137 fraction, startyear DESC, endyear DESC
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2138 </dc:statement>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2139 </dc:macro>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2140
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2141 <dc:macro name="sedimentload_ls_statement">
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2142 <dc:statement>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2143 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2144 sl.id AS slid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2145 slk.kind AS kind,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2146 ti.start_time AS startyear,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2147 ti.stop_time AS endyear,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2148 sq.start_time AS sqstart,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2149 sq.stop_time AS sqstop,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2150 sq.id AS sqid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2151 gf.name AS fraction,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2152 sl.description || '&lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2153 'Fraktion: ' || gf.lower || ' bis ' || gf.upper ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2154 ' mm&lt;BR&gt;Einheit: ' || u.name AS info
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2155 FROM sediment_load_ls sl
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2156 JOIN sediment_load_kinds slk ON slk.id = sl.kind
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2157 JOIN rivers r ON sl.river_id = r.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2158 JOIN sediment_load_ls_values slv
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2159 ON sl.id = slv.sediment_load_ls_id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2160 JOIN time_intervals ti ON sl.time_interval_id = ti.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2161 LEFT JOIN time_intervals sq ON sl.sq_time_interval_id = sq.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2162 JOIN grain_fraction gf ON gf.id = sl.grain_fraction_id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2163 JOIN units u ON sl.unit_id = u.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2164 WHERE r.id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2165 AND slv.station BETWEEN ${fromkm} AND ${tokm}
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2166 ORDER BY sqstart
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2167 DESC, sqstop DESC,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2168 fraction, startyear DESC, endyear DESC
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2169 </dc:statement>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2170 </dc:macro>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
2171
8307
60212ed56023 Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents: 8306
diff changeset
2172 <!-- annotations -->
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
2173 <dc:macro name="annotations">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2174 <annotation factory="annotations" ids="{$river_id}" target_out="{$out}" />
8389
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
2175 </dc:macro>
1e1b08d033f4 Removed some code duplication and moved macros to more appropriate places in file.
Tom Gottfried <tom@intevation.de>
parents: 8377
diff changeset
2176
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2177 <dc:macro name="annotations_per_type">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2178 <annotations>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2179 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2180 <all_annotations factory="annotations" ids="{$river_id}" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2181 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2182 SELECT id AS anno_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2183 name AS anno_description
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2184 FROM annotation_types
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2185 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2186 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2187 <annotation name="{$anno_description}" factory="annotations" target_out="{$out}" ids="{$river_id}:{$anno_description}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2188 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2189 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2190 </annotations>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2191 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2192
8072
5f28aa1be795 SCHEMA CHANGE: rename database tables from yield to load_ls according to respective classes.
Tom Gottfried <tom@intevation.de>
parents: 8014
diff changeset
2193 <dc:macro name="annotations_sediment_load_ls">
7665
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2194 <sources_sinks>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2195 <dc:context>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2196 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2197 SELECT id AS anno_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2198 name AS anno_description
7665
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2199 FROM annotation_types
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2200 WHERE name LIKE 'Quelle %' OR name LIKE 'Senke %'
7665
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2201 </dc:statement>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2202 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2203 <annotation name="{$anno_description}" factory="annotations" target_out="{$out}" ids="{$river_id}:{$anno_description}" />
7665
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2204 </dc:for-each>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2205 </dc:context>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2206 </sources_sinks>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2207 </dc:macro>
6d39b4066c91 Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents: 7664
diff changeset
2208
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2209 <dc:macro name="qsectors">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2210 <qsector factory="qsectors" ids="{$river_id}" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2211 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2212
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2213 <dc:macro name="flood-map-recommended">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2214 <kilometrage>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2215 <riveraxis factory="riveraxis" ids="{$river_id}" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2216 </kilometrage>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2217 <rastermap>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2218 <background factory="wmsbackground" ids="{$river_id}" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2219 </rastermap>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2220 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2221
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2222 <!-- bed heights -->
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2223 <dc:macro name="minfo-heights-diff">
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2224 <dc:context>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2225 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2226 WITH sta
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2227 AS (SELECT bhs.id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2228 bhs.description,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2229 bhsv.station,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2230 bhs.year
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2231 FROM bed_height bhs
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2232 JOIN bed_height_values bhsv
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2233 ON bhsv.bed_height_id = bhs.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2234 WHERE bhs.river_id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2235 AND bhsv.station BETWEEN ${fromkm} AND ${tokm}),
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2236 csta
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2237 AS (SELECT b1.id AS b1id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2238 b1.description AS b1desc,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2239 b1.year AS b1year,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2240 b2.id AS b2id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2241 b2.description AS b2desc,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2242 b2.year AS b2year
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2243 FROM sta b1
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2244 JOIN sta b2
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2245 ON
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2246 b1.station = b2.station
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2247 AND b1.id &lt;&gt; b2.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2248 AND (b1.year &gt; b2.year OR b1.year IS NULL))
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2249 SELECT
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2250 DISTINCT b1id, b1desc, b1year,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2251 b2id, b2desc, b2year
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2252 FROM csta
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2253 ORDER BY b1desc, b2desc
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2254 </dc:statement>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2255 <dc:if test="dc:has-result()">
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2256 <bedheights>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2257 <dc:call-macro name="bed-heights-single-diff" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2258 <dc:call-macro name="bed-heights-epoch-diff" />
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2259 </bedheights>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2260 </dc:if>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2261 </dc:context>
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2262 </dc:macro>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2263
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2264 <dc:macro name="bed-heights-single-diff">
8009
4ca747495cbf Allow differences between years and epochs (accidentally did that in branch facet-metadata already too)
Tom Gottfried <tom@intevation.de>
parents: 7978
diff changeset
2265 <dc:filter expr="not(contains(dc:lowercase($b1desc), 'epoche'))">
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2266 <years>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2267 <dc:call-macro name="minfo-heights-diff-tree" />
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2268 </years>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2269 </dc:filter>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2270 </dc:macro>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2271
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2272 <dc:macro name="bed-heights-epoch-diff">
8009
4ca747495cbf Allow differences between years and epochs (accidentally did that in branch facet-metadata already too)
Tom Gottfried <tom@intevation.de>
parents: 7978
diff changeset
2273 <dc:filter expr="contains(dc:lowercase($b1desc), 'epoche')">
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2274 <epochs>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2275 <dc:call-macro name="minfo-heights-diff-tree" />
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2276 </epochs>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2277 </dc:filter>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2278 </dc:macro>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2279
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2280 <dc:macro name="minfo-heights-diff-tree">
7975
5dc5bbfdc023 Select complete differences matrix to have a well sorted dc-tree.
Raimund Renkert <rrenkert@intevation.de>
parents: 7973
diff changeset
2281 <dc:group expr="dc:coalesce($b1year, 'sonstige')">
7970
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2282 <minfo-diff name="{dc:group-key()}">
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2283 <dc:for-each>
7970
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2284 <dc:choose>
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2285 <dc:when test="dc:group-key() = $b1year">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2286 <height factory="bedheight" target_out="{$out}" ids="bedheight-single-{$b1id}-{$b1desc}#bedheight-single-{$b2id}-{$b2desc}" info="{$b1desc}#{$b2desc}" description="{$b1desc} - {$b2desc}" />
7970
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2287 </dc:when>
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2288 <dc:when test="dc:group-key() = 'sonstige'">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2289 <height factory="bedheight" target_out="{$out}" ids="bedheight-single-{$b1id}-{$b1desc}#bedheight-single-{$b2id}-{$b2desc}" info="{$b1desc}#{$b2desc}" description="{$b1desc} - {$b2desc}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2290 <height factory="bedheight" target_out="{$out}" ids="bedheight-single-{$b2id}-{$b1desc}#bedheight-single-{$b1id}-{$b2desc}" info="{$b2desc}#{$b1desc}" description="{$b2desc} - {$b1desc}" />
7970
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2291 </dc:when>
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2292 </dc:choose>
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2293 </dc:for-each>
7970
d66ea32d98bc Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents: 7964
diff changeset
2294 </minfo-diff>
7961
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2295 </dc:group>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2296 </dc:macro>
598e4bec920b New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents: 7947
diff changeset
2297
8419
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2298 <dc:macro name="minfo-heights">
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2299 <bedheights>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2300 <dc:call-macro name="bed-heights-single" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2301 <dc:call-macro name="bed-heights-epoch" />
8419
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2302 </bedheights>
8141
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2303 </dc:macro>
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2304
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2305 <!-- Show all three MW, TL, and KL bedheights -->
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2306 <dc:macro name="bed-heights-factory_MW_TW_KL">
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2307 <dc:for-each>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2308 <dc:if test="$bedh_height_count > 0">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2309 <height factory="bedheight" target_out="{$out}" ids="bedheight-single-{$bedh_id}-{$bedh_year}-MW-{$bedh_descr}" info="{$info}" description="MW-{$bedh_descr}" />
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2310 </dc:if>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2311 <dc:if test="$bedh_min_count > 0">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2312 <height factory="bedheight" target_out="{$out}" ids="bedheight-singleMin-{$bedh_id}-{$bedh_year}-TW-{$bedh_descr}" info="{$info}" description="TW-{$bedh_descr}" />
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2313 </dc:if>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2314 <dc:if test="$bedh_max_count > 0">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2315 <height factory="bedheight" target_out="{$out}" ids="bedheight-singleMax-{$bedh_id}-{$bedh_year}-KL-{$bedh_descr}" info="{$info}" description="KL-{$bedh_descr}" />
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2316 </dc:if>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2317 </dc:for-each>
8961
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
2318 </dc:macro>
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
2319
9573
b9c87bbff6a4 mean bed height -> mean bed LEVEL
gernotbelger
parents: 9548
diff changeset
2320 <!-- Show only MW bed level and name it in a neutral way -->
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2321 <dc:macro name="bed-heights-factory_MW">
8141
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2322 <dc:for-each>
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2323 <dc:if test="$bedh_height_count > 0">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
2324 <!-- REMARK: addition 'yaer' attribute is used by intelligent datacage filter of SINFO -->
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2325 <height factory="bedheight" target_out="{$out}" ids="bedheight-single-{$bedh_id}-{$bedh_year}-{$bedh_descr}" info="{$info}" description="{$bedh_descr}" year="{$bedh_year}" />
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2326 </dc:if>
8141
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2327 </dc:for-each>
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2328 </dc:macro>
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2329
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2330 <dc:macro name="bed-heights-single">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2331 <single>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2332 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2333 <dc:call-macro name="bed-heights-statement" />
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2334 <dc:if test="dc:has-result()">
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2335 <dc:group expr="dc:coalesce($bedh_year, 'sonstige')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
2336 <heights name="{dc:group-key()}" description="{dc:group-key()}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2337 <dc:call-macro name="bed-heights-factory_MW_TW_KL" />
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2338 </heights>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2339 </dc:group>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2340 </dc:if>
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2341 </dc:context>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2342 </single>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2343 </dc:macro>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2344
9573
b9c87bbff6a4 mean bed height -> mean bed LEVEL
gernotbelger
parents: 9548
diff changeset
2345 <!-- Show bed levels that have MW values with a neutral name -->
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2346 <dc:macro name="bed-heights-single-MW">
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2347 <single>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2348 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2349 <dc:call-macro name="bed-heights-statement" />
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2350 <dc:filter expr="$bedh_height_count">
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2351 <dc:if test="dc:has-result()">
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2352 <dc:group expr="dc:coalesce($bedh_year, 'sonstige')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
2353 <heights name="{dc:group-key()}" description="{dc:group-key()}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2354 <dc:call-macro name="bed-heights-factory_MW" />
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2355 </heights>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2356 </dc:group>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2357 </dc:if>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2358 </dc:filter>
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2359 </dc:context>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2360 </single>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2361 </dc:macro>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2362
9573
b9c87bbff6a4 mean bed height -> mean bed LEVEL
gernotbelger
parents: 9548
diff changeset
2363 <!-- Show bed levels that have KL and TW values with a neutral name -->
9103
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2364 <dc:macro name="bed-heights-single-KL_TW">
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2365 <single>
e68d4a10c308 Umsortierung in Datenkorb bzgl. min/max Sohlhöhen
gernotbelger
parents: 9088
diff changeset
2366 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2367 <dc:call-macro name="bed-heights-statement" />
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2368 <dc:filter expr="$bedh_max_count > 0 and $bedh_min_count > 0">
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2369 <dc:if test="dc:has-result()">
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2370 <dc:group expr="dc:coalesce($bedh_year, 'sonstige')">
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
2371 <heights name="{dc:group-key()}" description="{dc:group-key()}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2372 <dc:call-macro name="bed-heights-factory_MW" />
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2373 </heights>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2374 </dc:group>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2375 </dc:if>
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2376 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2377 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2378 </single>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2379 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2380
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2381 <dc:macro name="bed-heights-epoch">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2382 <epoch>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2383 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2384 <dc:call-macro name="bed-heights-statement" />
8141
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2385 <dc:filter expr="contains($bedh_descr, 'Epoche')">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2386 <dc:call-macro name="bed-heights-factory_MW_TW_KL" />
8141
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2387 </dc:filter>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2388 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2389 </epoch>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2390 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2391
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2392 <dc:macro name="sounding-width-factory">
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2393 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2394 <height factory="bedheight" target_out="{$out}" ids="bedheight-soundings-{$bedh_id}-{$bedh_year}-{$bedh_descr}" info="{$info}" description="{$bedh_descr}" />
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2395 </dc:for-each>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2396 </dc:macro>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2397
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2398 <dc:macro name="sounding-width">
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2399 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2400 <dc:call-macro name="bed-heights-statement" />
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2401 <dc:if test="dc:has-result()">
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2402 <soundings_width>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2403 <dc:call-macro name="sounding-width-factory" />
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2404 </soundings_width>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2405 </dc:if>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2406 </dc:context>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2407 </dc:macro>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2408
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2409 <dc:macro name="sounding-width-recommendations">
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2410 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2411 <dc:call-macro name="bed-heights-statement" />
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2412 <dc:filter expr="dc:contains($diffids, concat(';', $bedh_descr, ']'))">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2413 <dc:call-macro name="sounding-width-factory" />
8431
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2414 </dc:filter>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2415 </dc:context>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2416 </dc:macro>
f1bc081210ea Load sounding width via recommendations for bed height differences and cleanup and fix related bed height macros.
Tom Gottfried <tom@intevation.de>
parents: 8419
diff changeset
2417
8419
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2418 <dc:macro name="bed-heights-statement">
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2419 <dc:statement>
8963
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2420 SELECT bhs.id AS bedh_id,
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2421 bhs.year AS bedh_year,
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2422 bhs.description AS bedh_descr,
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2423 bhs.description || '&lt;BR&gt;Jahr: ' || bhs.year ||
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2424 '&lt;BR&gt;Aufnahmeart: ' || bht.name ||
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2425 '&lt;BR&gt;Lagesystem: ' || ls.name ||
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2426 '&lt;BR&gt;Höhensystem: ' || cur_em.name ||
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2427 '&lt;BR&gt;ursprüngliches Höhensystem: ' || old_em.name ||
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2428 '&lt;BR&gt;Strecke: ' || round(r.a, 1) || '-' || round(r.b, 1) ||
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2429 '&lt;BR&gt;Auswerter: ' || bhs.evaluation_by AS info,
9111
ee77e544e890 Where clause in bed-heights-statement extended by km range condition
mschaefer
parents: 9103
diff changeset
2430 COALESCE(bhv.height_count,0) AS bedh_height_count,
ee77e544e890 Where clause in bed-heights-statement extended by km range condition
mschaefer
parents: 9103
diff changeset
2431 COALESCE(bhv.min_count,0) AS bedh_min_count,
ee77e544e890 Where clause in bed-heights-statement extended by km range condition
mschaefer
parents: 9103
diff changeset
2432 COALESCE(bhv.max_count,0) AS bedh_max_count
8963
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2433 FROM bed_height bhs
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2434 JOIN bed_height_type bht ON bht.id = bhs.type_id
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2435 JOIN location_system ls ON ls.id = location_system_id
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2436 JOIN elevation_model cur_em ON cur_em.id = cur_elevation_model_id
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2437 LEFT JOIN
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2438 elevation_model old_em
8963
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2439 ON old_em.id = old_elevation_model_id
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2440 LEFT JOIN ranges r ON r.id = range_id
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
2441 LEFT JOIN (SELECT bed_height_id, COUNT(height) AS height_count, COUNT(min_height) AS min_count, COUNT(max_height)
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
2442 AS max_count
9111
ee77e544e890 Where clause in bed-heights-statement extended by km range condition
mschaefer
parents: 9103
diff changeset
2443 FROM bed_height_values
ee77e544e890 Where clause in bed-heights-statement extended by km range condition
mschaefer
parents: 9103
diff changeset
2444 WHERE (station BETWEEN (${fromkm}-0.0001) AND (${tokm}+0.0001))
ee77e544e890 Where clause in bed-heights-statement extended by km range condition
mschaefer
parents: 9103
diff changeset
2445 GROUP BY bed_height_id
8963
b98fbd91f64a Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
gernotbelger
parents: 8961
diff changeset
2446 ) bhv ON bhs.id = bhv.bed_height_id
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2447 WHERE bhs.river_id =
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2448 ${river_id}
8419
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2449 </dc:statement>
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2450 </dc:macro>
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2451
d7d74392cc46 Do not filter bed heights by year in datacage for optional data (plus some cleanup).
Tom Gottfried <tom@intevation.de>
parents: 8416
diff changeset
2452 <!-- flow velocity -->
7292
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2453 <dc:macro name="flow_velocity_models">
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2454 <dc:context>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2455 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2456 SELECT fvm.id AS fvmid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2457 fvm.description AS fvmd,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2458 dz.gauge_name AS gauge,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2459 dz.value AS q,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2460 dz.upper_discharge AS upperQ,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2461 dz.lower_discharge AS lowerQ
7292
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2462 FROM flow_velocity_model fvm
8502
7f63ad20d4f0 Whitespace-cleanup in XML-files.
"Tom Gottfried <tom@intevation.de>"
parents: 8496
diff changeset
2463 JOIN discharge_zone dz ON dz.id = fvm.discharge_zone_id
7292
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2464 WHERE dz.river_id = ${river_id}
7409
24a1b6b2fc7f issue1512: Sort flow-velocity-models by discharge_zone.value.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7408
diff changeset
2465 ORDER BY dz.value
7292
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2466 </dc:statement>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2467 <dc:if test="dc:has-result()">
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2468 <flowvelocitymodel>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2469 <dc:for-each>
9282
7efb27005d0d Fixed: using description attribute (same as name) everywhere to avoid gwt error message.
gernotbelger
parents: 9252
diff changeset
2470 <measurement_value name="{$fvmd}" description="{$fvmd}" ids="{$fvmid}" factory="flowvelocitymodel" info="{$lowerQ} - {$upperQ}&lt;BR&gt;
8141
37cdfad302cb Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents: 8122
diff changeset
2471 Pegel {$gauge}&lt;BR&gt;
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2472 Q = {$q} m3/s" target_out="{$out}" />
7292
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2473 </dc:for-each>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2474 </flowvelocitymodel>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2475 </dc:if>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2476 </dc:context>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2477 </dc:macro>
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2478
8943ab11ed3f issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 7280
diff changeset
2479
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2480 <dc:macro name="flow_velocity_measurements">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2481 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2482 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2483 SELECT id AS fvmid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2484 description AS fvmd
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2485 FROM flow_velocity_measurements WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2486 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2487 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2488 <flowvelocitymeasurement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2489 <dc:for-each>
9282
7efb27005d0d Fixed: using description attribute (same as name) everywhere to avoid gwt error message.
gernotbelger
parents: 9252
diff changeset
2490 <flow_velocity_measurement name="{$fvmd}" description="{$fvmd}">
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2491 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2492 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2493 SELECT id, description, station, datetime, v, w, q
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2494 FROM flow_velocity_measure_values
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2495 WHERE measurements_id = ${fvmid}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2496 AND station BETWEEN ${fromkm} AND ${tokm}
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2497 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2498 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2499 <measurement_value name="{$description} - {$station} - {$datetime}" description="{$description} - {$station} - {$datetime}" ids="{$id}" factory="flowvelocity" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2500 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2501 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2502 </flow_velocity_measurement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2503 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2504 </flowvelocitymeasurement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2505 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2506 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2507 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2508
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2509 <dc:macro name="morph_width">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2510 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2511 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2512 SELECT id AS width_id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2513 FROM morphologic_width
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2514 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2515 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2516 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2517 <morph_width>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2518 <dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2519 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2520 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2521 SELECT min(station) AS from_station,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2522 max(station) AS to_station
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2523 FROM morphologic_width_values
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2524 WHERE morphologic_width_id = ${width_id}
5976
178a873df7a9 Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents: 5884
diff changeset
2525 </dc:statement>
178a873df7a9 Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents: 5884
diff changeset
2526 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2527 <morphologic-width name="{$from_station} - {$to_station}" description="{$from_station} - {$to_station}" ids="{$width_id}" factory="morph-width" target_out="{$out}" />
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
2528 </dc:for-each>
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
2529 </dc:context>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2530 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2531 </morph_width>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2532 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2533 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2534 </dc:macro>
5405
5ca06120b918 Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents: 5404
diff changeset
2535
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2536 <dc:macro name="sqrelations">
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2537 <dc:context>
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2538 <dc:statement>
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2539 SELECT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2540 ti.start_time AS start_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2541 ti.stop_time AS stop_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2542 ms.name AS station_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2543 lower(sqv.parameter) AS parameter,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2544 sqv.id AS sqvid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2545 ra.a AS station_km
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2546 FROM sq_relation sq
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2547 JOIN time_intervals ti ON ti.id = sq.time_interval_id
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2548 JOIN sq_relation_value sqv ON sqv.sq_relation_id = sq.id
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2549 JOIN measurement_station ms ON sqv.measurement_station_id = ms.id
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2550 JOIN ranges ra ON ms.range_id =
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2551 ra.id
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2552 JOIN rivers r ON r.id = ra.river_id
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2553 WHERE r.id = ${river_id}
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2554 ORDER BY start_time, stop_time
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2555 </dc:statement>
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2556 <dc:if test="dc:has-result()">
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2557 <sq_relations>
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2558 <dc:group expr="concat('Parameter ', dc:uppercase($parameter))">
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2559 <parameter description="{dc:group-key()}">
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2560 <dc:group expr="$station_km" type="number">
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2561 <dc:group expr="concat('km ', $station_km, ': ',
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2562 $station_name)">
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2563 <station description="{dc:group-key()}">
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2564 <dc:for-each>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2565 <dc:variable name="combined_desc" expr="concat(dc:date-format('yyyy',
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2566 $start_time), ' bis ',
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2567 dc:date-format('yyyy',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2568 $stop_time))" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2569 <sqvalue factory="sqrelationdatacage" target_out="{$out}" ids="{$sqvid};{dc:uppercase($parameter)} - {$station_name}: {$combined_desc}" description="{$combined_desc}" />
8308
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2570 </dc:for-each>
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2571 </station>
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2572 </dc:group>
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2573 </dc:group>
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2574 </parameter>
b5e63ad6d307 Q-symmetry: SQ-relations should not be filtered for specific outs (and optimised statement a bit).
"Tom Gottfried <tom@intevation.de>"
parents: 8307
diff changeset
2575 </dc:group>
7236
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2576 </sq_relations>
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2577 </dc:if>
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2578 </dc:context>
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2579 </dc:macro>
a9bd4a23a852 (issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents: 7234
diff changeset
2580
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2581 <!-- Floodmap part -->
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2582 <dc:macro name="flood-map-complete">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2583 <dc:call-macro name="flood-map-buildings" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2584 <dc:call-macro name="flood-map-gaugelocations" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2585 <dc:call-macro name="floodmarks" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2586 <hws>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2587 <dc:call-macro name="hwslines" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2588 <dc:call-macro name="hwspoints" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2589 </hws>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2590 <dc:call-macro name="flood-map-routing" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2591 <hydrboundaries>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2592 <dc:call-macro name="flood-map-floodplain" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2593 <dc:call-macro name="flood-map-hydr-boundaries" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2594 </hydrboundaries>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2595 <dc:call-macro name="flood-map-uesk" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2596 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2597
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2598 <dc:macro name="flood-map-routing">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2599 <route_data>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2600 <dc:call-macro name="flood-map-qps" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2601 <dc:call-macro name="flood-map-fixpoints" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2602 <dc:call-macro name="flood-map-km" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2603 <dc:call-macro name="flood-map-riveraxis" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2604 </route_data>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2605 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2606
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2607 <dc:macro name="flood-map-hydr-boundaries">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2608 <bfg_model>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2609 <dc:call-macro name="flood-map-hydr-boundaries-poly" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2610 <dc:call-macro name="flood-map-hydr-boundaries-lines" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2611 </bfg_model>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2612 <dc:call-macro name="flood-map-hydr-boundaries-state" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2613 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2614
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2615 <dc:macro name="flood-map-dem">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2616 <dems>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2617 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2618 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2619 SELECT d.id AS dem_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2620 r.a AS dem_lower,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2621 r.b AS dem_upper,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2622 d.name AS name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2623 t.start_time AS start_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2624 t.stop_time AS stop_time,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2625 'Projektion: ' || d.projection || '&lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2626 'Rasterweite: ' || d.resolution || 'm&lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2627 'Format: ' || d.format || '&lt;BR&gt;' ||
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2628 'Zeitraum: '
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2629 AS info
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2630 FROM dem d
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2631 JOIN ranges r ON d.range_id = r.id
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2632 LEFT JOIN time_intervals t ON d.time_interval_id
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
2633 = t.id
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2634 WHERE d.river_id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2635 AND NOT((${tokm} &lt; r.a) or (${fromkm} &gt; r.b))
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2636 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2637 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2638 <dem factory="demfactory" target_out="{$out}" ids="{$dem_id}" name="{$name}" info="{$info}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2639 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2640 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2641 </dems>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2642 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2643
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2644 <dc:macro name="filter_hws_ddg">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2645 <dc:macro name="durchlass_damm_graben">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2646 <dc:macro name="ddg_factory">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2647 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2648 <hws factory="hwsfactory" name="{$hws_name}" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2649 </dc:for-each>
5976
178a873df7a9 Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents: 5884
diff changeset
2650 </dc:macro>
178a873df7a9 Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents: 5884
diff changeset
2651
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2652 <dc:filter expr="$hws_kind=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2653 <dc:if test="dc:has-result()">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2654 <Durchlass>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2655 <dc:call-macro name="ddg_factory" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2656 </Durchlass>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2657 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2658 </dc:filter>
5976
178a873df7a9 Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents: 5884
diff changeset
2659
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2660 <dc:filter expr="$hws_kind=2">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2661 <dc:if test="dc:has-result()">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2662 <Damm>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2663 <dc:call-macro name="ddg_factory" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2664 </Damm>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2665 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2666 </dc:filter>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
2667
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2668 <dc:filter expr="$hws_kind=3">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2669 <dc:if test="dc:has-result()">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2670 <Graben>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2671 <dc:call-macro name="ddg_factory" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2672 </Graben>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2673 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2674 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2675 </dc:macro>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
2676
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2677 <dc:filter expr="$hws_official=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2678 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2679 <official>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2680 <dc:call-macro name="durchlass_damm_graben" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2681 </official>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2682 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2683 </dc:filter>
5524
3badc699af0e Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5523
diff changeset
2684
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2685 <dc:filter expr="$hws_official=0">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2686 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2687 <inofficial>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2688 <dc:call-macro name="durchlass_damm_graben" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2689 </inofficial>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2690 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2691 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2692 </dc:macro>
5524
3badc699af0e Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5523
diff changeset
2693
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2694 <dc:macro name="flood-map-hws-lines">
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2695 <dc:context>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2696 <dc:statement>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2697 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2698 name AS hws_name,
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2699 official AS hws_official,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2700 kind_id AS hws_kind
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2701 FROM hws_lines
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2702 WHERE river_id = ${river_id}
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2703 </dc:statement>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2704 <dc:if test="dc:has-result()">
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2705 <lines>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2706 <dc:call-macro name="filter_hws_ddg" />
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2707 </lines>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2708 </dc:if>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2709 </dc:context>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2710 </dc:macro>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2711
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2712 <dc:macro name="flood-map-hws-points">
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2713 <dc:context>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2714 <dc:statement>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2715 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2716 name AS hws_name,
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2717 official AS hws_official,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2718 kind_id AS hws_kind
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2719 FROM hws_points
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2720 WHERE river_id = ${river_id}
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2721 </dc:statement>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2722 <dc:if test="dc:has-result()">
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2723 <points>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2724 <dc:call-macro name="filter_hws_ddg" />
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2725 </points>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2726 </dc:if>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2727 </dc:context>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2728 </dc:macro>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
2729
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2730 <dc:macro name="flood-map-hydr-boundaries-state">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2731 <federal>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2732 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2733 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2734 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2735 name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2736 FROM hydr_boundaries
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2737 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2738 AND kind = 2
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2739 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2740 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2741 <line factory="wmshydrboundariesfactory" target_out="{$out}" ids="{$river_id};{$name};2" name="{$name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2742 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2743 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2744 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2745 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2746 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2747 name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2748 FROM hydr_boundaries_poly
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2749 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2750 AND kind = 2
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2751 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2752 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2753 <line factory="wmshydrboundariespolyfactory" target_out="{$out}" ids="{$river_id};{$name};2" name="{$name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2754 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2755 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2756 </federal>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2757 </dc:macro>
5524
3badc699af0e Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5523
diff changeset
2758
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2759 <dc:macro name="flood-map-hydr-boundaries-lines">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2760 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2761 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2762 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2763 name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2764 FROM hydr_boundaries
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2765 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2766 AND kind = 1
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2767 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2768 <dc:comment> What about all other line kinds?</dc:comment>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2769 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2770 <lines>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2771 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2772 <line factory="wmshydrboundariesfactory" target_out="{$out}" ids="{$river_id};{$name};1" name="{$name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2773 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2774 </lines>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2775 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2776 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2777 </dc:macro>
5524
3badc699af0e Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5523
diff changeset
2778
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2779 <dc:macro name="flood-map-hydr-boundaries-poly">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2780 <areas>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2781 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2782 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2783 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2784 b.sectie AS sectie_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2785 sk.name AS sectie
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2786 FROM hydr_boundaries_poly b
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2787 JOIN sectie_kinds sk ON b.sectie = sk.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2788 WHERE b.river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2789 AND b.kind = 1
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2790 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2791 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2792 <sobek_areas>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2793 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2794 <boundary name="{$sectie}" factory="wmshydrboundariespolyfactory" target_out="{$out}" ids="{$river_id};{$sectie};1;{$sectie_id};-1" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2795 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2796 </sobek_areas>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2797 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2798 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2799 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2800 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2801 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2802 b.sobek AS sobek_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2803 sk.name AS sobek
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2804 FROM hydr_boundaries_poly b
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2805 JOIN sobek_kinds sk ON b.sobek = sk.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2806 WHERE b.river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2807 AND b.kind = 1
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2808 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2809 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2810 <sobek_flooded>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2811 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2812 <boundary name="{$sobek}" factory="wmshydrboundariespolyfactory" target_out="{$out}" ids="{$river_id};{$sobek};1;-1;{$sobek_id}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2813 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2814 </sobek_flooded>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2815 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2816 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2817 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2818 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2819 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2820 b.name AS name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2821 FROM hydr_boundaries_poly b
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2822 WHERE b.river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2823 AND b.kind = 1
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2824 AND b.sobek IS NULL
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2825 AND b.sectie is NULL
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2826 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2827 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2828 <boundary name="{$name}" factory="wmshydrboundariespolyfactory" target_out="{$out}" ids="{$river_id};{$name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2829 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2830 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2831 </areas>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2832 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2833
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2834 <dc:macro name="flood-map-uesk">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2835 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2836 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2837 SELECT DISTINCT 1 FROM floodmaps WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2838 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2839 <dc:if test="dc:has-result()">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2840 <uesk>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2841 <calculations>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2842 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2843 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2844 SELECT DISTINCT 1 FROM floodmaps WHERE river_id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2845 AND (kind = 112 OR kind = 111)
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2846 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2847 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2848 <current>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2849 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2850 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2851 SELECT DISTINCT name AS name
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2852 FROM floodmaps
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2853 WHERE river_id = ${river_id} AND kind = 111
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2854 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2855 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2856 <bfg>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2857 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2858 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" ids="{$river_id};{$name}" name="{$name}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2859 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2860 </bfg>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2861 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2862 </dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2863 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2864 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2865 SELECT DISTINCT name AS name
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2866 FROM floodmaps
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2867 WHERE river_id = ${river_id} AND kind = 112
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2868 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2869 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2870 <federal>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2871 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2872 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" ids="{$river_id};{$name}" name="{$name}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2873 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2874 </federal>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2875 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2876 </dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2877 </current>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2878 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2879 </dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2880 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2881 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2882 SELECT DISTINCT 1 from floodmaps where river_id = ${river_id}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2883 AND (kind = 122 OR kind = 121)
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2884 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2885 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2886 <potential>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2887 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2888 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2889 SELECT DISTINCT name AS name
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2890 FROM floodmaps
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2891 WHERE river_id = ${river_id} AND kind = 121
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2892 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2893 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2894 <bfg>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2895 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2896 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" ids="{$river_id};{$name}" name="{$name}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2897 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2898 </bfg>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2899 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2900 </dc:context>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2901 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2902 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2903 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2904 name AS name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2905 FROM floodmaps
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2906 WHERE river_id = ${river_id} AND kind = 122
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2907 </dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2908 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2909 <federal>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2910 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2911 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" ids="{$river_id};{$name}" name="{$name}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2912 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2913 </federal>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2914 </dc:if>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2915 </dc:context>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2916 </potential>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2917 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2918 </dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2919 </calculations>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2920 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2921 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2922 SELECT DISTINCT
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2923 source AS source
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2924 FROM floodmaps
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2925 WHERE river_id = ${river_id} AND kind = 200
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2926 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2927 <dc:if test="dc:has-result()">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2928 <measurements>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2929 <dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2930 <year name="{$source}">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2931 <dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2932 <dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2933 SELECT DISTINCT
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2934 name AS name
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2935 FROM floodmaps
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2936 WHERE river_id = ${river_id} AND kind = 200 AND source =
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2937 ${source}
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2938 </dc:statement>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2939 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2940 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" ids="{$river_id};{$name}" name="{$name}" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2941 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2942 </dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2943 </year>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2944 </dc:for-each>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2945 </measurements>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2946 </dc:if>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2947 </dc:context>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2948 </uesk>
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2949 </dc:if>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2950 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2951 </dc:macro>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
2952
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2953 <dc:macro name="flood-map-floodplain">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2954 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2955 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2956 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2957 fp.kind_id AS kind_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2958 flk.name AS kind_name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2959 FROM floodplain fp
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
2960 JOIN floodplain_kinds flk on fp.kind_id = flk.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2961 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2962 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2963 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2964 <floodplain>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2965 <dc:filter expr="$kind_id=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2966 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2967 <floody factory="wmsfloodplainfactory" target_out="{$out}" description="{$kind_name}" ids="{$river_id};{$kind_name};{$kind_id}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2968 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2969 </dc:filter>
6098
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2970 <dc:filter expr="$kind_id != 1">
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2971 <dc:if test="dc:has-result()">
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2972 <other>
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2973 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2974 <floody factory="wmsfloodplainfactory" target_out="{$out}" description="{$layer_name}" ids="{$river_id};{$layer_name};{$kind_id}" />
6098
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2975 </dc:for-each>
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2976 </other>
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
2977 </dc:if>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2978 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2979 </floodplain>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2980 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2981 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2982 </dc:macro>
5015
86e79fbb8fa3 Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents: 4895
diff changeset
2983
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2984 <dc:macro name="hwspoints_by_kind">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2985 <dc:comment>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2986 Call from a context where fed_name hws_kind hws_name and river_id is
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2987 availble
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2988 </dc:comment>
5015
86e79fbb8fa3 Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents: 4895
diff changeset
2989
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2990 <dc:macro name="hwspoints_by_kind_factory">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2991 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2992 <hws factory="wmshwspointsfactory" target_out="{$out}" ids="{$river_id};{$hws_name}" name="{$hws_name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2993 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2994 </dc:macro>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
2995
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2996 <dc:filter expr="$hws_kind=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2997 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
2998 <Durchlass>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
2999 <dc:call-macro name="hwspoints_by_kind_factory" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3000 </Durchlass>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3001 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3002 </dc:filter>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3003
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3004 <dc:filter expr="$hws_kind=2">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3005 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3006 <Damm>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3007 <dc:call-macro name="hwspoints_by_kind_factory" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3008 </Damm>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3009 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3010 </dc:filter>
2096
bf598599782a Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 2086
diff changeset
3011
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3012 <dc:filter expr="$hws_kind=3">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3013 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3014 <Graben>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3015 <dc:call-macro name="hwspoints_by_kind_factory" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3016 </Graben>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3017 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3018 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3019 </dc:macro>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3020
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3021 <dc:macro name="hwspoints">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3022 <hws_points>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3023 <official>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3024 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3025 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3026 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3027 fs.name AS fed_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3028 fs.id AS fed_id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3029 FROM hws_points hws
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3030 JOIN fed_states fs ON hws.fed_state_id = fs.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3031 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3032 AND hws.official=1
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3033 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3034 <dc:for-each>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3035 <dc:context>
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3036 <dc:statement>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3037 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3038 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3039 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3040 FROM hws_points
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3041 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3042 AND official=1
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3043 AND fed_state_id = ${fed_id} ORDER BY name
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3044 </dc:statement>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3045 <fedstate description="{$fed_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3046 <dc:call-macro name="hwspoints_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3047 </fedstate>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3048 </dc:context>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3049 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3050 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3051 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3052 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3053 SELECT distinct
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3054 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3055 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3056 FROM hws_points
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3057 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3058 AND official=1
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3059 AND fed_state_id IS NULL
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3060 ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3061 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3062 <hws_fed_unknown>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3063 <dc:call-macro name="hwspoints_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3064 </hws_fed_unknown>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3065 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3066 </official>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3067 <inofficial>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3068 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3069 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3070 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3071 fs.name AS fed_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3072 fs.id AS fed_id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3073 FROM hws_points hws
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3074 JOIN fed_states fs ON hws.fed_state_id = fs.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3075 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3076 AND hws.official=0
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3077 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3078 <dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3079 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3080 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3081 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3082 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3083 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3084 FROM hws_points
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3085 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3086 AND official=0
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3087 AND fed_state_id = ${fed_id} ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3088 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3089 <fedstate description="{$fed_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3090 <dc:call-macro name="hwspoints_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3091 </fedstate>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3092 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3093 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3094 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3095 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3096 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3097 SELECT distinct
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3098 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3099 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3100 FROM hws_points
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3101 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3102 AND official=0
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3103 AND fed_state_id IS NULL ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3104 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3105 <hws_fed_unknown>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3106 <dc:call-macro name="hwspoints_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3107 </hws_fed_unknown>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3108 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3109 </inofficial>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3110 </hws_points>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3111 </dc:macro>
5523
35dba807966a Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents: 5522
diff changeset
3112
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3113 <dc:macro name="hwslines_by_kind">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3114 <dc:comment>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3115 Call from a context where fed_name hws_kind hws_name and river_id is
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3116 availble
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3117 </dc:comment>
5549
38acd82feeac Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 5534
diff changeset
3118
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3119 <dc:macro name="hwslines_by_kind_factory">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3120 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3121 <hws factory="wmshwslinesfactory" target_out="{$out}" ids="{$river_id};{$hws_name}" name="{$hws_name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3122 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3123 </dc:macro>
5549
38acd82feeac Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 5534
diff changeset
3124
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3125 <dc:filter expr="$hws_kind=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3126 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3127 <Durchlass>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3128 <dc:call-macro name="hwslines_by_kind_factory" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3129 </Durchlass>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3130 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3131 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3132
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3133 <dc:filter expr="$hws_kind=2">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3134 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3135 <Damm>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3136 <dc:call-macro name="hwslines_by_kind_factory" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3137 </Damm>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3138 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3139 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3140
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3141 <dc:filter expr="$hws_kind=3">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3142 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3143 <Graben>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3144 <dc:call-macro name="hwslines_by_kind_factory" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3145 </Graben>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3146 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3147 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3148 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3149
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3150 <dc:macro name="hwslines">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3151 <hws_lines>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3152 <official>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3153 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3154 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3155 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3156 fs.name AS fed_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3157 fs.id AS fed_id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3158 FROM hws_lines hws
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3159 JOIN fed_states fs ON hws.fed_state_id = fs.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3160 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3161 AND hws.official=1
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3162 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3163 <dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3164 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3165 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3166 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3167 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3168 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3169 FROM hws_lines
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3170 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3171 AND official=1
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3172 AND fed_state_id = ${fed_id} ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3173 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3174 <fedstate description="{$fed_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3175 <dc:call-macro name="hwslines_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3176 </fedstate>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3177 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3178 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3179 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3180 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3181 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3182 SELECT distinct
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3183 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3184 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3185 FROM hws_lines
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3186 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3187 AND official=1
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3188 AND fed_state_id IS NULL
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3189 ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3190 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3191 <hws_fed_unknown>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3192 <dc:call-macro name="hwslines_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3193 </hws_fed_unknown>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3194 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3195 </official>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3196 <inofficial>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3197 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3198 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3199 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3200 fs.name AS fed_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3201 fs.id AS fed_id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3202 FROM hws_lines hws
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3203 JOIN fed_states fs ON hws.fed_state_id = fs.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3204 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3205 AND hws.official=0
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3206 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3207 <dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3208 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3209 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3210 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3211 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3212 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3213 FROM hws_lines
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3214 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3215 AND official=0
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3216 AND fed_state_id = ${fed_id} ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3217 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3218 <fedstate description="{$fed_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3219 <dc:call-macro name="hwslines_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3220 </fedstate>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3221 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3222 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3223 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3224 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3225 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3226 SELECT distinct
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3227 name AS hws_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3228 kind_id AS hws_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3229 FROM hws_lines
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3230 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3231 AND official=0
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3232 AND fed_state_id IS NULL ORDER BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3233 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3234 <hws_fed_unknown>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3235 <dc:call-macro name="hwslines_by_kind" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3236 </hws_fed_unknown>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3237 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3238 </inofficial>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3239 </hws_lines>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3240 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3241
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3242 <dc:macro name="floodmarks">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3243 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3244 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3245 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3246 COALESCE(CAST (year AS VARCHAR(64)), 'Unbekanntes Jahr') AS year
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3247 FROM flood_marks
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3248 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3249 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3250 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3251 <floodmarks>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3252 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3253 <floodmark name="{$year}" factory="wmsfloodmarkfactory" target_out="{$out}" ids="{$river_id};{$year};{$year}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3254 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3255 </floodmarks>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3256 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3257 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3258 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3259
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3260 <dc:macro name="flood-map-gaugelocations">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3261 <gaugelocations>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3262 <gauge_points factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelpunkte (WSV)" target_out="{$out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3263 <gauge_names factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelnamen;Pegelnamen (WSV)" target_out="{$out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3264 <gauge_level factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelwasserstand;Aktueller Wasserstand (WSV)" target_out="{$out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3265 <gauge_tendency factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;TendenzWasserstand;Tendenz des Wasserstands (WSV)" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3266 </gaugelocations>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3267 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3268
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3269 <dc:macro name="flood-map-riveraxis">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3270 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3271 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3272 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3273 ak.name AS kind_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3274 ax.kind_id AS kind_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3275 ax.name AS layer_name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3276 FROM river_axes ax
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3277 JOIN axis_kinds ak on ax.kind_id = ak.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3278 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3279 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3280 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3281 <axis>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3282 <dc:filter expr="$kind_id=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3283 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3284 <actual description="{$kind_name}" ids="{$river_id};{$kind_name};{$kind_id}" factory="riveraxis" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3285 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3286 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3287 <dc:filter expr="$kind_id!=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3288 <other>
5591
55d6c5cac9d1 Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 5579
diff changeset
3289 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3290 <misc-axis description="{$layer_name}" ids="{$river_id};{$layer_name};{$kind_id}" factory="riveraxis" target_out="{$out}" />
5591
55d6c5cac9d1 Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 5579
diff changeset
3291 </dc:for-each>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3292 </other>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3293 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3294 </axis>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3295 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3296 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3297 </dc:macro>
5631
ca4b6263996c Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents: 5627
diff changeset
3298
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3299 <dc:macro name="flood-map-km">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3300 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3301 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3302 SELECT DISTINCT 1 FROM river_axes_km WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3303 </dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3304 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3305 <kilometrage factory="wmskmfactory" ids="{$river_id}" target_out="{$out}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3306 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3307 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3308 </dc:macro>
5631
ca4b6263996c Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents: 5627
diff changeset
3309
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3310 <dc:macro name="flood-map-fixpoints">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3311 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3312 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3313 SELECT name AS name
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3314 FROM fixpoints
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3315 WHERE river_id = ${river_id}
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3316 GROUP BY name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3317 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3318 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3319 <fixpoints factory="wmsfixpointsfactory" target_out="{$out}" ids="{$river_id};{$name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3320 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3321 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3322 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3323
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3324 <dc:macro name="flood-map-qps">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3325 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3326 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3327 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3328 cs.kind_id AS kind_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3329 cs.name AS layer_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3330 ck.name AS kind_name
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3331 FROM cross_section_tracks cs
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3332 JOIN cross_section_track_kinds ck ON cs.kind_id = ck.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3333 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3334 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3335 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3336 <qps>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3337 <dc:filter expr="$kind_id=1">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3338 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3339 <actual description="{$kind_name}" factory="wmsqpsfactory" target_out="{$out}" ids="{$river_id};{$kind_name};{$kind_id}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3340 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3341 </dc:filter>
6098
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3342 <dc:filter expr="$kind_id = 0">
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3343 <dc:if test="dc:has-result()">
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3344 <other>
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3345 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3346 <misc-qps description="{$layer_name}" factory="wmsqpsfactory" target_out="{$out}" ids="{$river_id};{$layer_name};{$kind_id}" />
6098
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3347 </dc:for-each>
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3348 </other>
c21bfa653942 Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6095
diff changeset
3349 </dc:if>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3350 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3351 </qps>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3352 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3353 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3354 </dc:macro>
5549
38acd82feeac Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents: 5534
diff changeset
3355
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3356 <dc:macro name="flood-map-buildings">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3357 <buildings>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3358 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3359 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3360 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3361 b.name AS building_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3362 bk.name AS building_kind,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3363 b.kind_id AS building_kind_id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3364 FROM buildings b
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3365 JOIN building_kinds bk ON b.kind_id = bk.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3366 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3367 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3368 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3369 <dc:filter expr="$building_kind_id!=0">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3370 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3371 <buildings description="{$building_kind}" factory="wmsbuildingsfactory" target_out="{$out}" ids="{$river_id};{$building_kind};{$building_kind_id}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3372 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3373 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3374 <dc:filter expr="$building_kind_id=0">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3375 <other>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3376 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3377 <buildings description="{$building_name}" factory="wmsbuildingsfactory" target_out="{$out}" ids="{$river_id};{$building_name}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3378 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3379 </other>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3380 </dc:filter>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3381 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3382 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3383 <dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3384 <dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3385 SELECT DISTINCT
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3386 j.kind_id AS jetty_kind_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3387 jk.name AS jetty_kind
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3388 FROM jetties j
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3389 JOIN jetty_kinds jk ON j.kind_id = jk.id
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3390 WHERE river_id = ${river_id}
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3391 </dc:statement>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3392 <dc:if test="dc:has-result()">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3393 <jetties>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3394 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3395 <jetty description="{$jetty_kind}" factory="wmsjettiesfactory" target_out="{$out}" ids="{$river_id};{$jetty_kind};{$jetty_kind_id}" />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3396 </dc:for-each>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3397 </jetties>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3398 </dc:if>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3399 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3400 </buildings>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3401 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3402
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
3403 <dc:macro name="officiallines_user">
6401
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3404 <dc:if test="dc:contains($parameters, 'official-lines')">
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3405 <dc:container-context container="official-lines">
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3406 <dc:properties>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3407 <dc:property name="name" alias="olname" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3408 <dc:property name="wstId" alias="wstid" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3409 <dc:property name="columnPos" alias="wstcolpos" />
6401
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3410 </dc:properties>
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3411 <dc:if test="dc:has-result()">
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3412 <officiallines>
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3413 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3414 <column name="{$olname}" ids="official-wstv-{$wstcolpos}-{$wstid}" factory="staticwqkms" target_out="{$out}" />
6401
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3415 </dc:for-each>
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3416 </officiallines>
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3417 </dc:if>
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3418 </dc:container-context>
f369d69e3488 Datacage: Rewrote the loading of the official lines based on the latest changes. Untested!
Sascha L. Teichmann <teichmann@intevation.de>
parents: 6363
diff changeset
3419 </dc:if>
6054
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
3420 </dc:macro>
5db238b0176e Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents: 6053
diff changeset
3421
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3422 <!-- sediment loads -->
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3423 <dc:macro name="sedimentload_off_epoch_filter">
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3424 <dc:if test="dc:has-result()">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3425 <dc:variable name="sq_time_id" type="number" expr="number($sq_ti_id)" />
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3426 <dc:if test="string-length(dc:get('epochs')) &gt; 0">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3427 <dc:variable name="start" type="number" expr="dc:min-number(dc:find-all('\d{4}', $epochs))" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3428 <dc:variable name="end" type="number" expr="dc:max-number(dc:find-all('\d{4}', $epochs))" />
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3429 </dc:if>
8598
af840bf7f05a (issue1051) Fix recommended official epochs for period mode
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8594
diff changeset
3430 <dc:if test="string-length(dc:get('years')) &gt; 0">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3431 <dc:variable name="start" type="number" expr="dc:min-number(dc:find-all('\d{4}', $years))" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3432 <dc:variable name="end" type="number" expr="dc:max-number(dc:find-all('\d{4}', $years))" />
8598
af840bf7f05a (issue1051) Fix recommended official epochs for period mode
Andre Heinecke <andre.heinecke@intevation.de>
parents: 8594
diff changeset
3433 </dc:if>
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3434 <dc:filter expr="$kind = 'official' and
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3435 $sqid = $sq_time_id and
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3436 not(number($end) &lt;
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3437 number(dc:date-format('yyyy', $startyear))
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3438 or number($start) &gt;
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3439 number(dc:date-format('yyyy', $endyear)))">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3440 <dc:macro-body />
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3441 </dc:filter>
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3442 </dc:if>
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3443 </dc:macro>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3444
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3445 <dc:macro name="sedimentload_off_epochs">
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3446 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3447 <dc:call-macro name="sedimentload_stations_statement" />
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3448 <dc:call-macro name="sedimentload_off_epoch_filter">
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3449 <dc:call-macro name="loads">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3450 <dc:call-macro name="load" />
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3451 </dc:call-macro>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3452 </dc:call-macro>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3453 </dc:context>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3454 <dc:context>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3455 <dc:call-macro name="sedimentload_ls_statement" />
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3456 <dc:call-macro name="sedimentload_off_epoch_filter">
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3457 <dc:call-macro name="loads">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3458 <dc:call-macro name="load_ls" />
8241
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3459 </dc:call-macro>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3460 </dc:call-macro>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3461 </dc:context>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3462 </dc:macro>
a65afd85d516 Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents: 8222
diff changeset
3463
8416
6399ebc6fce9 Reduce code duplication and repair filter for sediment load-recommendations.
Tom Gottfried <tom@intevation.de>
parents: 8412
diff changeset
3464
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3465 <!-- Common stuff -->
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3466 <dc:macro name="km-filtered-wsts">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3467 <dc:context connection="system">
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3468 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3469 SELECT w.kind AS kind,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3470 w.id AS wst_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3471 wc.id AS wst_column_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3472 wc.position AS wst_column_position,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3473 wc.description AS info,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3474 w.description AS wst_description,
9233
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
3475 ti.start_time AS start_time,
03427b89ba62 Configured 'year' attributes on bed heights,certain waterlevels and fixation results; this is used in the intelligent datacage selection for waterlevels-soundings
gernotbelger
parents: 9176
diff changeset
3476 ti.stop_time AS stop_time,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3477 COALESCE(wc.name, '') AS wst_column_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3478 wr.a AS deffrom,
8961
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
3479 wr.b AS defto,
8a1c6e2ad48b Implemented datacage for min/max bedheights.
gernotbelger
parents: 8958
diff changeset
3480 w.sinfo_selection
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3481 FROM wst_columns wc
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3482 JOIN wsts w ON wc.wst_id = w.id
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3483 JOIN wst_ranges wr ON wc.id =
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3484 wr.wst_column_id
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3485 LEFT JOIN time_intervals ti ON wc.time_interval_id = ti.id
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3486 WHERE w.river_id = ${river_id}
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3487 AND
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3488 NOT((${tokm} &lt; wr.a) or (${fromkm} &gt; wr.b))
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3489 ORDER BY wst_column_position
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3490 </dc:statement>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3491 <dc:macro-body />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3492 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3493 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3494
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3495 <dc:macro name="all-user-artifacts">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3496 <dc:context connection="user">
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3497 <dc:comment>Select collections and masterartifacts.
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3498 XXX: The cast is a quick hack because the ld_* values are
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3499 now TEXT fields. To properly fix / asses the problems here
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3500 an SLT evaluation is needed.
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3501 </dc:comment>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3502 <dc:statement>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3503 SELECT c.name AS collection_name,
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
3504 c.gid AS collection_gid,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3505 ma.id AS a_id,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3506 ma.state AS a_state,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3507 ma.gid AS a_gid,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3508 ma.creation AS a_creation,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3509 CAST(COALESCE(ma.ld_mode, '') AS VARCHAR(255)) AS ld_m,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3510 CAST(COALESCE(ma.ld_locations, '') AS VARCHAR(255)) AS ld_l,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3511 CAST(COALESCE(ma.ld_from, '') AS VARCHAR(255)) AS ld_f,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3512 CAST(COALESCE(ma.ld_to, '') AS VARCHAR(255)) AS ld_t,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3513 o.name AS out_name,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3514 o.id AS out_id,
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3515 f.name AS
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3516 facet_name,
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3517 f.num AS facet_num,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3518 f.description AS facet_description,
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3519 f.id AS fid
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3520 FROM users u
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3521 JOIN
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3522 collections c ON c.user_id = u.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3523 JOIN master_artifacts_range ma ON ma.collection_id = c.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3524 JOIN outs o ON o.artifact_id = ma.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3525 JOIN facets f ON f.out_id = o.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3526 WHERE u.gid = CAST(${user-id} AS UUID)
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3527 AND ma.gid &lt;&gt; CAST(${artifact-id} AS uuid)
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3528 AND f.name NOT LIKE
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3529 '%empty.facet%'
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3530 AND EXISTS (
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3531 SELECT
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3532 id
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3533 FROM artifact_data ad
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3534 WHERE ad.artifact_id = ma.id
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3535 AND k = 'river'
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3536 AND v = ${river})
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3537 </dc:statement>
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3538 <dc:virtual-column name="deffrom" type="number" expr="dc:fromValue($ld_m, $ld_l, $ld_f)">
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3539 <dc:virtual-column name="defto" type="number" expr="dc:toValue($ld_m, $ld_l, $ld_t)">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3540 <dc:macro-body />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3541 </dc:virtual-column>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3542 </dc:virtual-column>
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3543 </dc:context>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3544 </dc:macro>
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3545
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3546 <dc:macro name="km-filtered-user-artifacts">
7348
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
3547 <dc:comment>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
3548 Apply KM Filtering but pass
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
3549 sq_ facets with no regard about their location.
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
3550 </dc:comment>
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
3551 <dc:filter expr="not($deffrom &gt; $tokm or $defto &lt; $fromkm) or
59bfda45262b (issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents: 7347
diff changeset
3552 starts-with($facet_name, 'sq_')">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3553 <dc:macro-body />
6095
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3554 </dc:filter>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3555 </dc:macro>
0f3ca851d204 First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6084
diff changeset
3556
6183
3f8f212253a0 Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents: 6124
diff changeset
3557 <dc:macro name="artifact-range">
8773
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3558 <dc:choose>
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3559 <dc:when test="dc:coalesce(dc:get('ld_locations'), ' ') != ' '">
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3560 <dc:variable name="fromkm" type="number" expr="dc:min-number(dc:find-all('\d*\.?\d*',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3561 dc:get('ld_locations')))" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3562 <dc:variable name="tokm" type="number" expr="dc:max-number(dc:find-all('\d*\.?\d*',
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3563 dc:get('ld_locations')))" />
8773
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3564 </dc:when>
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3565 <dc:otherwise>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3566 <dc:variable name="fromkm" type="number" expr="dc:fromValue(dc:get('ld_mode'),
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3567 dc:get('ld_locations'), dc:get('ld_from'))" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3568 <dc:variable name="tokm" type="number" expr="dc:toValue(dc:get('ld_mode'),
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3569 dc:get('ld_locations'), dc:get('ld_to'))" />
8773
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3570 <dc:if test="$fromkm > $tokm">
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3571 <dc:message>Inverting KM filter.</dc:message>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3572 <dc:variable name="fromkm" type="number" expr="dc:toValue(dc:get('ld_mode'),
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3573 dc:get('ld_locations'), dc:get('ld_to'))" />
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
3574 <dc:variable name="tokm" type="number" expr="dc:fromValue(dc:get('ld_mode'),
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3575 dc:get('ld_locations'), dc:get('ld_from'))" />
8773
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3576 </dc:if>
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3577 </dc:otherwise>
cc1f59766e49 (issue1839) Consider more than one location in ld_locations.
Tom Gottfried <tom@intevation.de>
parents: 8598
diff changeset
3578 </dc:choose>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3579 <dc:macro-body />
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
3580 </dc:macro>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
3581
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3582 <!-- S-INFO -->
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3583 <dc:macro name="sinfo_flowdepths">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3584 <dc:filter
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3585 expr="$a_state = 'state.sinfo.flow_depth' and
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3586 ( $facet_name = 'sinfo_facet_flow_depth' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3587 $facet_name = 'sinfo_facet_flow_depth.filtered' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3588 $facet_name = 'sinfo_facet_flow_depth_waterlevel' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3589 $facet_name = 'sinfo_facet_flow_depth_bedheight' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3590 $facet_name = 'sinfo_facet_flow_depth_bedheight_min' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3591 $facet_name = 'sinfo_facet_flow_depth_bedheight_max' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3592 $facet_name = 'sinfo_facet_flow_depth_discharge' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3593 $facet_name = 'sinfo_facet_flow_depth_with_tkh' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3594 $facet_name = 'sinfo_facet_flow_depth_with_tkh.filtered' or
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3595 $facet_name = 'sinfo_facet_tkh' )">
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3596 <dc:if test="dc:has-result()">
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3597 <sinfo_flow_depths>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3598 <dc:call-macro name="collection-group">
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3599 <sinfo_flow_depth description="{dc:group-key()}">
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3600 <dc:for-each>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3601 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3602 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3603 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3604 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3605 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3606 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3607 <dc:attribute name="out" value="${out_name}" />
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3608 </dc:element>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3609 </dc:for-each>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3610 </sinfo_flow_depth>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3611 </dc:call-macro>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3612 </sinfo_flow_depths>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3613 </dc:if>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3614 </dc:filter>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3615 </dc:macro>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3616
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3617 <dc:macro name="sinfo_flowdepths_minmax">
9624
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
3618 <dc:filter
02ca823ec9c6 zu Pos 20 Nachtrag; infrastructureChoice
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9617
diff changeset
3619 expr="$a_state = 'state.sinfo.flow_depth_minmax' and
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3620 ( $facet_name = 'sinfo_facet_flow_depth_min' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3621 $facet_name = 'sinfo_facet_flow_depth_bedheight_min' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3622 $facet_name = 'sinfo_facet_flow_depth_bedheight_max' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3623 $facet_name = 'sinfo_facet_flow_depth_waterlevel' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3624 $facet_name = 'sinfo_facet_flow_depth_discharge' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3625 $facet_name = 'sinfo_facet_flow_depth_min.filtered' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3626 $facet_name = 'sinfo_facet_flow_depth_max' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3627 $facet_name = 'sinfo_facet_flow_depth_max.filtered' )">
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3628 <dc:if test="dc:has-result()">
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3629 <sinfo_flow_depths_minmax>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3630 <dc:call-macro name="collection-group">
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3631 <sinfo_flow_depth_minmax description="{dc:group-key()}">
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3632 <dc:for-each>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3633 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3634 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3635 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3636 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3637 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3638 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3639 <dc:attribute name="out" value="${out_name}" />
8950
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3640 </dc:element>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3641 </dc:for-each>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3642 </sinfo_flow_depth_minmax>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3643 </dc:call-macro>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3644 </sinfo_flow_depths_minmax>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3645 </dc:if>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3646 </dc:filter>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3647 </dc:macro>
b0aeed4c97c1 Implemented chart output for sinfo flow depth min/max calculation
gernotbelger
parents: 8941
diff changeset
3648
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3649 <dc:macro name="sinfo_flow_depth_development">
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3650 <dc:filter
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3651 expr="$a_state = 'state.sinfo.flow_depth_development' and
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3652 ( $facet_name = 'sinfo_facet_flow_depth_development' or $facet_name = 'sinfo_facet_flow_depth_development.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3653 $facet_name = 'sinfo_facet_flow_depth_development_per_year' or $facet_name = 'sinfo_facet_flow_depth_development_per_year.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3654 $facet_name = 'sinfo_facet_flow_depth_current' or $facet_name = 'sinfo_facet_flow_depth_current.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3655 $facet_name = 'sinfo_facet_flow_depth_historical' or $facet_name = 'sinfo_facet_flow_depth_historical.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3656 $facet_name = 'sinfo_facet_waterlevel_difference' or $facet_name = 'sinfo_facet_waterlevel_difference.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3657 $facet_name = 'sinfo_facet_bedheight_difference' or $facet_name = 'sinfo_facet_bedheight_difference.filtered' )">
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3658 <dc:if test="dc:has-result()">
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3659 <sinfo_flow_depth_developments>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3660 <dc:call-macro name="collection-group">
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3661 <sinfo_flow_depth_development description="{dc:group-key()}">
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3662 <dc:for-each>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3663 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3664 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3665 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3666 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3667 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3668 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3669 <dc:attribute name="out" value="${out_name}" />
8956
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3670 </dc:element>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3671 </dc:for-each>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3672 </sinfo_flow_depth_development>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3673 </dc:call-macro>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3674 </sinfo_flow_depth_developments>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3675 </dc:if>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3676 </dc:filter>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3677 </dc:macro>
ee5ce13016ed Work on SINFO-Fließtiefenentwicklung
gernotbelger
parents: 8950
diff changeset
3678
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3679 <dc:macro name="sinfo_tkh">
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3680 <dc:filter
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3681 expr="$a_state = 'state.sinfo.transport_bodies_heights' and
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3682 ( $facet_name = 'sinfo_facet_tkh' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3683 $facet_name = 'sinfo_facet_flow_depth' or $facet_name = 'sinfo_facet_flow_depth.filtered' or
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3684 $facet_name = 'sinfo_facet_flow_depth_discharge' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3685 $facet_name = 'sinfo_facet_flow_depth_waterlevel' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3686 $facet_name = 'sinfo_facet_flow_depth_bedheight' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3687 $facet_name = 'sinfo_facet_flow_depth_bedheight_min' or
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3688 $facet_name = 'sinfo_facet_flow_depth_bedheight_max' or
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3689 $facet_name = 'sinfo_facet_velocity' or $facet_name = 'sinfo_facet_velocity.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3690 $facet_name = 'sinfo_facet_tau' or $facet_name = 'sinfo_facet_tau.filtered' or
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3691 $facet_name = 'sinfo_facet_d50' or $facet_name = 'sinfo_facet_d50.filtered' )">
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3692 <dc:if test="dc:has-result()">
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3693 <sinfo_tkhs>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3694 <dc:call-macro name="collection-group">
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3695 <sinfo_tkh description="{dc:group-key()}">
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3696 <dc:for-each>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3697 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3698 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3699 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3700 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3701 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3702 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3703 <dc:attribute name="out" value="${out_name}" />
8909
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3704 </dc:element>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3705 </dc:for-each>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3706 </sinfo_tkh>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3707 </dc:call-macro>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3708 </sinfo_tkhs>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3709 </dc:if>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3710 </dc:filter>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3711 </dc:macro>
31dff17c6828 Adding SInfo results to datacage
gernotbelger
parents: 8897
diff changeset
3712
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
3713 <dc:macro name="sinfo_collision">
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3714 <dc:filter expr="$a_state = 'state.sinfo.collision' and ($facet_name = 'sinfo_facet_collision_calc_count'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3715 or $facet_name = 'sinfo_facet_collision_calc_count.2' or $facet_name = 'sinfo_facet_collision_calc_count.3')">
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
3716 <dc:if test="dc:has-result()">
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3717 <sinfo_collisions>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3718 <dc:call-macro name="collection-group">
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3719 <sinfo_collision description="{dc:group-key()}">
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3720 <dc:for-each>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3721 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3722 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3723 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3724 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3725 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3726 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3727 <dc:attribute name="out" value="${out_name}" />
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3728 </dc:element>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3729 </dc:for-each>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3730 </sinfo_collision>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3731 </dc:call-macro>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3732 </sinfo_collisions>
9156
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
3733 </dc:if>
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
3734 </dc:filter>
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
3735 </dc:macro>
568961ff709a Added definitions for the S-Info collision workflow and output
mschaefer
parents: 9144
diff changeset
3736
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
3737 <dc:macro name="sinfo_flood_duration">
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3738 <dc:filter expr="$a_state = 'state.sinfo.flood_duration'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3739 and ($facet_name = 'sinfo_facet_flood_duration.left' or $facet_name = 'sinfo_facet_flood_duration.right'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3740 or $facet_name = 'mainvalue.duration' or $facet_name = 'sinfo_facet_flood_height.left'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3741 or $facet_name = 'sinfo_facet_flood_height.right' or $facet_name = 'mainvalue.w')">
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
3742 <dc:if test="dc:has-result()">
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3743 <sinfo_flood_durations>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3744 <dc:call-macro name="collection-group">
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3745 <sinfo_flood_duration description="{dc:group-key()}">
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3746 <dc:for-each>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3747 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3748 <dc:attribute name="factory" value="sinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3749 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3750 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3751 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3752 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3753 <dc:attribute name="out" value="${out_name}" />
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3754 </dc:element>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3755 </dc:for-each>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3756 </sinfo_flood_duration>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3757 </dc:call-macro>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3758 </sinfo_flood_durations>
9176
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
3759 </dc:if>
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
3760 </dc:filter>
1614cb14308f Work on calculations for S-Info flood duration workflow
mschaefer
parents: 9156
diff changeset
3761 </dc:macro>
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
3762
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3763 <!-- channel size imported from CSV-files for S-INFO -->
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3764 <dc:macro name="sinfo_predefined_channel">
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3765 <dc:context>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3766 <dc:statement>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3767 SELECT s.id AS id, MIN(s.filename) AS seriesname, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3768 MIN(s.filename) || '&lt;br /&gt;'
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3769 || MIN(s.kmrange_info) || ']&lt;br /&gt;'
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3770 || MIN(s.year_from) || ' - ' || MIN(s.year_to) || '&lt;br /&gt;' AS info
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3771 FROM channel s
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3772 INNER JOIN channel_values v ON s.id=v.channel_id
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3773 WHERE (s.river_id=${river_id})
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3774 AND (v.station BETWEEN ${fromkm}-0.0001
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3775 AND ${tokm}+0.0001)
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3776 GROUP BY s.id
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3777 ORDER BY MIN(s.year_to) DESC
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3778 </dc:statement>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3779 <dc:if test="dc:has-result()">
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3780 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3781 <channelseries name="{$seriesname}" description="{$seriesname}" ids="channelx-{$id}-{$seriesname}" factory="channelf" target_out="{$out}" info="{$info}" />
9112
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3782 </dc:for-each>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3783 </dc:if>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3784 </dc:context>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3785 </dc:macro>
189cc8ededbd Added datacage select and chart display for river channel sizes loaded from database
mschaefer
parents: 9111
diff changeset
3786
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3787 <!-- tkh imported from CSV-files for S-INFO -->
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3788 <dc:macro name="sinfo_predefined_tkh-berechnung">
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3789 <predefined_tkh_berechnung>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3790 <dc:variable name="tkh_groupname" expr="'berechnung'" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3791 <dc:call-macro name="sinfo_predefined_tkh" />
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3792 </predefined_tkh_berechnung>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3793 </dc:macro>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3794
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3795 <dc:macro name="sinfo_predefined_tkh-messung">
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3796 <predefined_tkh_messung>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3797 <dc:variable name="tkh_groupname" expr="'messung'" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3798 <dc:call-macro name="sinfo_predefined_tkh" />
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3799 </predefined_tkh_messung>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3800 </dc:macro>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3801
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3802 <dc:macro name="sinfo_predefined_tkh">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3803 <dc:context>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3804 <dc:statement>
9059
c49b95820d60 Fixed the queries for the loadable tkh, flow depth and depth evolution data
mschaefer
parents: 9035
diff changeset
3805 SELECT sc.tkh_id AS tkh_id, sc.id AS tkh_col_id, MIN(sc.name) AS tkh_col_name,
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3806 MIN(s.filename) AS tkh_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3807 MIN(s.filename) || '&lt;br /&gt;'
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3808 || MIN(s.kmrange_info) || ']&lt;br /&gt;'
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3809 || MIN(s.sounding_info) || '&lt;br /&gt;'
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3810 || MIN(s.evaluation_by) AS info
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3811 FROM tkh_column sc
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3812 INNER JOIN tkh s ON sc.tkh_id=s.id
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3813 INNER JOIN tkh_values
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3814 v ON sc.id=v.tkh_column_id
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3815 WHERE (s.river_id=${river_id})
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3816 AND (lower(s.groupname)=${tkh_groupname})
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3817 AND
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3818 (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3819 GROUP BY sc.tkh_id, sc.id
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3820 ORDER BY sc.id
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3821 </dc:statement>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3822 <dc:if test="dc:has-result()">
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3823 <dc:group expr="$tkh_name">
9282
7efb27005d0d Fixed: using description attribute (same as name) everywhere to avoid gwt error message.
gernotbelger
parents: 9252
diff changeset
3824 <tkhx name="{dc:group-key()}" description="{dc:group-key()}">
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3825 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3826 <tkhcolumn name="{$tkh_col_name}" description="{$tkh_col_name}" ids="tkhx-{$tkh_col_id}-{$tkh_id}" factory="tkhxf" target_out="{$out}" info="{$info}" />
9016
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3827 </dc:for-each>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3828 </tkhx>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3829 </dc:group>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3830 </dc:if>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3831 </dc:context>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3832 </dc:macro>
6e5ff436febe Added datacage select and chart display for TKH series loaded from database
mschaefer
parents: 8993
diff changeset
3833
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3834 <!-- depth_evolution imported from CSV-files for S-INFO -->
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3835 <dc:macro name="sinfo_predefined_depthevol-aktuell">
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3836 <predefined_depthevol_aktuell>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3837 <dc:variable name="depthevol_groupname" expr="'aktuell'" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3838 <dc:call-macro name="sinfo_predefined_depthevol" />
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3839 </predefined_depthevol_aktuell>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3840 </dc:macro>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3841
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3842 <dc:macro name="sinfo_predefined_depthevol-etappe">
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3843 <predefined_depthevol_etappe>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3844 <dc:variable name="depthevol_groupname" expr="'etappe'" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3845 <dc:call-macro name="sinfo_predefined_depthevol" />
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3846 </predefined_depthevol_etappe>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3847 </dc:macro>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3848
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3849 <dc:macro name="sinfo_predefined_depthevol">
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3850 <dc:context>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3851 <dc:statement>
9059
c49b95820d60 Fixed the queries for the loadable tkh, flow depth and depth evolution data
mschaefer
parents: 9035
diff changeset
3852 SELECT s.id AS depthevol_id, MIN(s.filename) AS depthevol_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3853 MIN(s.filename) || '&lt;br /&gt;'
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3854 || MIN(s.kmrange_info) || ']&lt;br /&gt;'
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3855 || MIN(s.start_year) || ' - ' || MIN(s.reference_year) || '&lt;br /&gt;'
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3856 || MIN(s.old_sounding) || ' - ' || MIN(s.curr_sounding) || '&lt;br /&gt;'
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3857 || MIN(s.old_glw) || ' - ' ||
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3858 MIN(s.curr_glw) AS info
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3859 FROM depth_evolution s
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3860 INNER JOIN depth_evolution_values v ON s.id=v.depth_evolution_id
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3861 WHERE
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3862 (s.river_id=${river_id})
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3863 AND (lower(s.groupname)=${depthevol_groupname})
9113
bfc0da2aa3aa Where clause of the predefined datacage series extended by km range condition
mschaefer
parents: 9112
diff changeset
3864 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3865 GROUP BY s.id
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3866 ORDER BY s.id
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3867 </dc:statement>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3868 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3869 <depth_evol name="{$depthevol_name}" description="{$depthevol_name}" ids="depthevolx-{$depthevol_id}-{$depthevol_name}" factory="depthevolxf" target_out="{$out}" info="{$info}" />
9033
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3870 </dc:for-each>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3871 </dc:context>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3872 </dc:macro>
384eee4b4135 Added datacage select and chart display for flow depth evolution series loaded from database, and a correction for the tkh data
mschaefer
parents: 9016
diff changeset
3873
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3874 <!-- flow depth imported from CSV-files for S-INFO -->
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3875 <dc:macro name="sinfo_predefined_flowdepth-m">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3876 <dc:call-macro name="sinfo_predefined_flowdepth-m1" />
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3877 </dc:macro>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3878
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3879 <dc:macro name="sinfo_predefined_flowdepth-m1">
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3880 <dc:context>
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3881 <dc:statement>
9059
c49b95820d60 Fixed the queries for the loadable tkh, flow depth and depth evolution data
mschaefer
parents: 9035
diff changeset
3882 SELECT sc.flow_depth_id AS flowdepth_id, sc.id AS flowdepth_col_id, MIN(sc.name) AS flowdepth_col_name,
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3883 MIN(s.filename) AS flowdepth_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3884 MIN(s.filename) || '&lt;br /&gt;'
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3885 || MIN(s.kmrange_info) || ']&lt;br /&gt;'
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3886 || MIN(s.sounding_info) || '&lt;br /&gt;'
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3887 || MIN(s.evaluation_by) AS info
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3888 FROM flow_depth_column sc
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3889 INNER JOIN
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3890 flow_depth s ON sc.flow_depth_id=s.id
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3891 INNER JOIN flow_depth_values v ON sc.id=v.flow_depth_column_id
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3892 WHERE
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3893 (s.river_id=${river_id})
9113
bfc0da2aa3aa Where clause of the predefined datacage series extended by km range condition
mschaefer
parents: 9112
diff changeset
3894 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3895 GROUP BY sc.flow_depth_id, sc.id
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3896 ORDER BY sc.id
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3897 </dc:statement>
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3898 <dc:if test="dc:has-result()">
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3899 <dc:group expr="$flowdepth_name">
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3900 <sinfo_predefined_flowdepth>
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3901 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3902 <flowdepthcolumn name="{$flowdepth_col_name}" description="{$flowdepth_col_name}" ids="flowdepthx-{$flowdepth_col_id}-{$flowdepth_id}" factory="flowdepthxf" target_out="{$out}" info="{$info}" />
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3903 </dc:for-each>
9088
7e60457f9d26 Changed order of SINFO results and fixed data in datacage.
gernotbelger
parents: 9080
diff changeset
3904 </sinfo_predefined_flowdepth>
9035
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3905 </dc:group>
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3906 </dc:if>
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3907 </dc:context>
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3908 </dc:macro>
c16e90a0baf7 Added datacage select and chart display for modelled flow depth series loaded from database
mschaefer
parents: 9033
diff changeset
3909
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3910 <!-- infrastructure height imported from CSV-files for S-INFO -->
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3911 <dc:macro name="sinfo_predefined_infrastructure">
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3912 <dc:context>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3913 <dc:statement>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3914 SELECT s.id AS id, MIN(s.filename) AS seriesname, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3915 MIN(x.name) AS typename,
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3916 MIN(s.filename) || '&lt;br /&gt;'
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3917 || MIN(s.kmrange_info) || '&lt;br /&gt;'
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3918 || MIN(s.year) || '&lt;br /&gt;' AS info
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3919 FROM infrastructure s
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3920 INNER JOIN infrastructure_values v ON s.id=v.infrastructure_id
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3921 INNER JOIN annotation_types x ON
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3922 s.annotation_type_id=x.id
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3923 WHERE (s.river_id=${river_id})
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3924 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3925 GROUP BY
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3926 s.id
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3927 ORDER BY MIN(s.filename) DESC
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3928 </dc:statement>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3929 <dc:if test="dc:has-result()">
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3930 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3931 <infrastructureseries name="{$seriesname}" description="{$seriesname}" ids="infrastructurex-{$id}-{$seriesname}" factory="infrastructuref" target_out="{$out}" info="{$info}" />
9116
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3932 </dc:for-each>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3933 </dc:if>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3934 </dc:context>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3935 </dc:macro>
edc3958b3ed2 Conf files for the infrastructure datacage extension
mschaefer
parents: 9113
diff changeset
3936
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3937 <!-- collisions imported from CSV-files for S-INFO -->
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3938 <dc:macro name="sinfo_predefined_collision">
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3939 <dc:context>
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3940 <dc:statement>
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3941 SELECT s.id AS id, MIN(s.filename) AS seriesname, MIN(v.station) AS km_min, MAX(v.station) AS km_max, MIN(s.year) AS year,
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3942 MIN(s.filename) || '&lt;br /&gt;'
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3943 || MIN(s.kmrange_info) || '&lt;br /&gt;'
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3944 || MIN(s.year) || '&lt;br /&gt;' AS info
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3945 FROM collision s
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3946 INNER JOIN collision_values v ON s.id=v.collision_id
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3947 WHERE (s.river_id=${river_id})
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3948 AND (v.station BETWEEN ${fromkm}-0.0001 AND
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3949 ${tokm}+0.0001)
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3950 GROUP BY s.id
9144
7879c2ca8bd3 Fixed three queries (channel, infrastructure, collision) by removing the trailing semicolon (produces oracle errors)
mschaefer
parents: 9127
diff changeset
3951 ORDER BY MIN(s.year)
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3952 </dc:statement>
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3953 <dc:if test="dc:has-result()">
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3954 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3955 <collisionseries name="{$seriesname}" description="{$seriesname}" ids="collisionx-{$id}-{$year}-{$seriesname}" factory="collisionf" target_out="{$out}" info="{$info}" />
9117
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3956 </dc:for-each>
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3957 </dc:if>
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3958 </dc:context>
623b51bf03d7 Added datacage select and chart display for river bed collision counts loaded from database
mschaefer
parents: 9116
diff changeset
3959 </dc:macro>
9127
dbb26bc81843 Testing
gernotbelger
parents: 9117
diff changeset
3960
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3961 <!-- U-INFO -->
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3962 <dc:macro name="uinfo_salix_line">
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3963 <dc:filter expr="$a_state = 'state.uinfo.salix_line'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3964 and ($facet_name = 'uinfo_facet_salix_line' or $facet_name = 'uinfo_facet_salix_line.filtered'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3965 or $facet_name = 'uinfo_facet_salix_mnwmw' or $facet_name = 'uinfo_facet_salix_mnwmw.filtered'
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3966 or $facet_name = 'uinfo_facet_salix_scenario' or $facet_name = 'uinfo_facet_salix_scenario.filtered')">
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3967 <dc:if test="dc:has-result()">
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3968 <uinfo_salix_lines>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3969 <dc:call-macro name="collection-group">
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3970 <uinfo_salix_line description="{dc:group-key()}">
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3971 <dc:for-each>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3972 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3973 <dc:attribute name="factory" value="uinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3974 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3975 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3976 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3977 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3978 <dc:attribute name="out" value="${out_name}" />
9378
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3979 </dc:element>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3980 </dc:for-each>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3981 </uinfo_salix_line>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3982 </dc:call-macro>
063befcaef74 Added datacage for S-Info collision and U-Info salix line, added datacage grouping for previous calculations of collisions, flood durations, salix lines
mschaefer
parents: 9344
diff changeset
3983 </uinfo_salix_lines>
9341
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3984 </dc:if>
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3985 </dc:filter>
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3986 </dc:macro>
c9a4eb3afa4a Facet filter added for S-Info collision and flood duration, db loaded artifacts renamed to predefined..
mschaefer
parents: 9340
diff changeset
3987
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3988 <!-- Vegetation zones, edited by the user -->
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3989 <dc:macro name="vegetationzones">
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
3990 <dc:filter expr="$a_state = 'state.uinfo.vegetation_zones' and $facet_name = 'uinfo_facet_vegetation_zones_cross_section'">
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
3991 <dc:if test="dc:has-result()">
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
3992 <vegetation_zones>
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
3993 <dc:for-each>
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3994 <dc:variable name="vegzonedata" expr="dc:data_from_artifact($a_gid,'vegzones')" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3995 <dc:variable name="label_temp" type="string" expr="concat(dc:get('ld_f'), ' km - ', dc:get('ld_t'), ' km')" />
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
3996
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
3997 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3998 <dc:attribute name="factory" value="uinfo" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
3999 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4000 <dc:attribute name="description" value="${label_temp}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4001 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4002 <dc:attribute name="out" value="${out_name}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4003 <dc:attribute name="ids" value="${facet_num}" />
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
4004 <!-- veg zones string as attribute -->
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4005 <dc:attribute name="data" value="${vegzonedata}" />
9499
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
4006 </dc:element>
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
4007 </dc:for-each>
853f2dafc16e VegetationZones in CrossSectionsDiagram
gernotbelger
parents: 9495
diff changeset
4008 </vegetation_zones>
9299
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
4009 </dc:if>
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
4010 </dc:filter>
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
4011 </dc:macro>
4a6cc7c6716a uinfo.inundation_duration veg'zone select
gernotbelger
parents: 9296
diff changeset
4012
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4013 <!-- U-INFO -->
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4014 <dc:macro name="bundu_bezugswst">
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4015 <dc:filter
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4016 expr="$a_state = 'state.bundu.wst'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4017
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4018 and ($facet_name = 'longitudinal_section.w'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4019 or $facet_name = 'bundu_facet_bedheight'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4020 or $facet_name = 'bundu_facet_channelmin'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4021 or $facet_name = 'bundu_facet_bedheight_01'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4022 or $facet_name = 'bundu_facet_bedheight_02'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4023 or $facet_name = 'bundu_facet_bedheight_03'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4024 or $facet_name = 'bundu_facet_bedheight_04'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4025 or $facet_name = 'bundu_facet_bedheight_05'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4026 or $facet_name = 'bundu_facet_bedheight_06'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4027 or $facet_name = 'bundu_facet_bedheight_07'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4028 or $facet_name = 'bundu_facet_bedheight_08'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4029 or $facet_name = 'bundu_facet_bedheight_09'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4030 or $facet_name = 'bundu_facet_bedheight_10'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4031 or $facet_name = 'bundu_facet_bedheight_01'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4032 or $facet_name = 'bundu_facet_bedheight_01'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4033 or $facet_name = 'longitudinal_section.q'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4034 or $facet_name = 'longitudinal_section.area'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4035 or $facet_name = 'longitudinal_section.manualpoints'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4036 or $facet_name = 'bundu_facet_flowdepth.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4037 or $facet_name = 'bundu_facet_channeldepth'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4038 or $facet_name = 'bundu_facet_depth_01.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4039 or $facet_name = 'bundu_facet_depth_02.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4040 or $facet_name = 'bundu_facet_depth_03.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4041 or $facet_name = 'bundu_facet_depth_04.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4042 or $facet_name = 'bundu_facet_depth_05.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4043 or $facet_name = 'bundu_facet_depth_06.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4044 or $facet_name = 'bundu_facet_depth_07.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4045 or $facet_name = 'bundu_facet_depth_08.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4046 or $facet_name = 'bundu_facet_depth_09.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4047 or $facet_name = 'bundu_facet_depth_10.filtered'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4048 or $facet_name = 'longitudinal_section.area'
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4049 or $facet_name = 'longitudinal_section.manualpoints'
9515
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
4050 )">
4efaa2622c43 Formatting
gernotbelger
parents: 9506
diff changeset
4051
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4052 <dc:if test="dc:has-result()">
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4053 <bundu_bezugswsts>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4054 <dc:call-macro name="collection-group">
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4055 <bundu_bezugswst description="{dc:group-key()}">
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4056 <dc:for-each>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4057 <dc:element name="${facet_name}">
9617
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4058 <dc:attribute name="factory" value="bundu" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4059 <dc:attribute name="target_out" value="${out}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4060 <dc:attribute name="description" value="${facet_description}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4061 <dc:attribute name="ids" value="${facet_num}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4062 <dc:attribute name="artifact-id" value="${a_gid}" />
1d4262a68f1f #12 Minuend/Subtrahend + MergeConflict #19 CollisionCalculation
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9573
diff changeset
4063 <dc:attribute name="out" value="${out_name}" />
9691
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
4064 <!-- year necessary for intelligent datacage -->
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
4065 <dc:variable name="fixAnalysisYear" expr="dc:fix_analysis_year($a_gid)" />
4311db5dacc8 Nachtrag Datenkorb Bezugswasserstände anzeigen
dnt_bjoernsen <d.tironi@bjoernsen.de>
parents: 9641
diff changeset
4066 <dc:attribute name="year" value="${fixAnalysisYear}" />
9495
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4067 </dc:element>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4068 </dc:for-each>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4069 </bundu_bezugswst>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4070 </dc:call-macro>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4071 </bundu_bezugswsts>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4072 </dc:if>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4073 </dc:filter>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4074 </dc:macro>
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4075
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4076
bb278c927b66 Datenkorb bezugswasserstände längsschnitte + minor fixes
gernotbelger
parents: 9482
diff changeset
4077
6053
a18aafc1372f Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents: 6036
diff changeset
4078 </datacage>
8941
a9950a3a71e5 SINFO - tkh, configured result facets and themes
gernotbelger
parents: 8916
diff changeset
4079 </dc:template>

http://dive4elements.wald.intevation.org