Mercurial > dive4elements > river
annotate artifacts/doc/conf/meta-data.xml @ 8334:38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
author | "Tom Gottfried <tom@intevation.de>" |
---|---|
date | Fri, 26 Sep 2014 10:53:26 +0200 |
parents | 1e4e5ff44aa9 |
children | 9d62a8b4bf15 |
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 |
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
|
5 <dc:call-macro name="load-user"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
6 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
7 <dc:call-macro name="load-system"/> |
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> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
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> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
24 <dc:call-macro name="generate-user-content"/> |
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'"> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
42 <dc:call-macro name="annotations"/> |
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'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
45 <dc:call-macro name="annotations"/> |
6456
0624d3a0a63e
Call official lines macro in system context and fixed the macro.
Raimund Renkert <rrenkert@intevation.de>
parents:
6439
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'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
49 <dc:call-macro name="annotations"/> |
6456
0624d3a0a63e
Call official lines macro in system context and fixed the macro.
Raimund Renkert <rrenkert@intevation.de>
parents:
6439
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'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
53 <dc:call-macro name="annotations"/> |
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'"> |
0db5f3642335
meta-data.xml/DC: Automatically add annotations to middle bed height diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6717
diff
changeset
|
56 <dc:call-macro name="annotations"/> |
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'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
59 <dc:call-macro name="annotations"/> |
6565
7facf38edc61
Show (csv-)waterlevel in beddiff-datacages.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6495
diff
changeset
|
60 <dc:call-macro name="basedata_6_delta_w"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
61 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
62 <dc:when test="$out = 'bed_difference_height_year'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
63 <dc:call-macro name="annotations"/> |
6565
7facf38edc61
Show (csv-)waterlevel in beddiff-datacages.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6495
diff
changeset
|
64 <dc:call-macro name="basedata_6_delta_w"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
65 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
66 <dc:when test="$out = 'sedimentload_ls'"> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
67 <dc:call-macro name="annotations"/> |
8241
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
68 <dc:call-macro name="sedimentload_off_epochs"/> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
69 </dc:when> |
7664
877d558747c6
Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7662
diff
changeset
|
70 <dc:when test="$out = 'bed_longitudinal_section'"> |
877d558747c6
Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7662
diff
changeset
|
71 <dc:call-macro name="annotations"/> |
877d558747c6
Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7662
diff
changeset
|
72 </dc:when> |
877d558747c6
Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7662
diff
changeset
|
73 <dc:when test="$out = 'flow_velocity'"> |
877d558747c6
Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7662
diff
changeset
|
74 <dc:call-macro name="annotations"/> |
877d558747c6
Add recommendations for bed quality and flow velocity.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7662
diff
changeset
|
75 </dc:when> |
8299
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
76 <dc:comment> Discharge curves </dc:comment> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
77 <dc:when test="$out = 'historical_discharge_wq'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
78 <dc:call-macro name="mainvalues"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
79 </dc:when> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
80 <dc:when test="$out = 'discharge_curve'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
81 <dc:call-macro name="mainvalues"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
82 <dc:call-macro name="basedata_3_officials_wq"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
83 </dc:when> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
84 <dc:when test="$out = 'computed_discharge_curve'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
85 <dc:call-macro name="mainvalues"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
86 <dc:call-macro name="basedata_3_officials_wq"/> |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
87 <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
|
88 </dc:when> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
89 <dc:when test="$out = 'fix_wq_curve'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
90 <dc:call-macro name="mainvalues"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
91 <dc:call-macro name="qsectors"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
92 </dc:when> |
8334
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
93 <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
|
94 not($out = 'sq_relation_export')"> |
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
95 <dc:call-macro name="qmainvalues"/> |
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
96 </dc:when> |
8299
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
97 <dc:comment> Cross sections </dc:comment> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
98 <dc:when test="$out = 'cross_section'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
99 <dc:call-macro name="cross_sections"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
100 <dc:call-macro name="hyks"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
101 <dc:call-macro name="officiallines_user"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
102 </dc:when> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
103 <dc:comment> Duration curve </dc:comment> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
104 <dc:when test="$out = 'duration_curve'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
105 <dc:call-macro name="mainvalues"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
106 </dc:when> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
107 <dc:comment> Reference curve </dc:comment> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
108 <dc:when test="$out = 'reference_curve'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
109 <dc:call-macro name="mainvalues"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
110 </dc:when> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
111 <dc:comment> Maps </dc:comment> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
112 <dc:when test="$out = 'floodmap'"> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
113 <dc:call-macro name="flood-map-recommended"/> |
de42523b2e27
Classify and sort iteration over recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8298
diff
changeset
|
114 </dc:when> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
115 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
116 </dc:iterate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
117 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
118 <dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
119 <dc:comment> |
7303
cb3238edf0ee
Comment in meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7294
diff
changeset
|
120 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
|
121 </dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
122 <dc:iterate var="out" container="artifact-outs"> |
6653
ca80f61370ab
Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents:
6650
diff
changeset
|
123 <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
|
124 <dc:choose> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
125 <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
|
126 <dc:when test="$out = 'minfo_diff_panel'"> |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
127 <dc:call-macro name="minfo-heights-diff"/> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
128 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
129 <dc:when test="$out = 'floodmap_dem_panel'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
130 <dc:call-macro name="flood-map-dem"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
131 </dc:when> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
132 <dc:when test="$out = 'floodmap_hws_panel'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
133 <hws> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
134 <dc:call-macro name="flood-map-hws-lines"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
135 <dc:call-macro name="flood-map-hws-points"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
136 </hws> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
137 </dc:when> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
138 <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
|
139 <dc:if test="$current-state-id != 'state.winfo.uesk.wsp'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
140 <dc:call-macro name="basedata_0"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
141 <dc:call-macro name="basedata_1_additionals"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
142 <dc:call-macro name="basedata_2_fixations"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
143 <dc:call-macro name="basedata_4_heightmarks-points"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
144 <dc:call-macro name="basedata_5_flood-protections"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
145 </dc:if> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
146 </dc:when> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
147 <dc:when test="$out = 'waterlevels_panel'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
148 <dc:call-macro name="basedata_0"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
149 <dc:call-macro name="basedata_1_additionals"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
150 <dc:call-macro name="basedata_2_fixations"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
151 <dc:call-macro name="basedata_3_officials"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
152 <dc:call-macro name="basedata_4_heightmarks-points"/> |
6075
b121b865907d
issue954/2: Flood- Protections in Cross-Sections Datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6073
diff
changeset
|
153 <dc:call-macro name="basedata_5_flood-protections"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
154 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
155 <dc:comment> Longitudinal sections </dc:comment> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
156 <dc:when test="$out = 'longitudinal_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
157 <dc:call-macro name="longitudinal-section-prototype"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
158 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
159 <dc:when test="$out = 'w_differences'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
160 <dc:call-macro name="longitudinal-section-prototype"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
161 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
162 <dc:when test="$out = 'discharge_longitudinal_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
163 <dc:call-macro name="longitudinal-section-prototype"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
164 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
165 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
6439
b02f3a948858
Enabled basedata datacage in fix analysis ls.
Raimund Renkert <rrenkert@intevation.de>
parents:
6401
diff
changeset
|
166 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
167 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
168 <dc:when test="$out = 'flow_velocity'"> |
7233
abc78599e96e
issue1345: call longitudinal-section-prototype macro for flow-veloc. DC. Added todo.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7232
diff
changeset
|
169 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
170 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
171 <dc:when test="$out = 'bed_longitudinal_section'"> |
7231
22531b47e76d
issue1345: Also let bed-quality use longitudinal-section-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7230
diff
changeset
|
172 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
173 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
174 <dc:when test="$out = 'sedimentload_ls'"> |
7232
208c40b121f1
issue 1345: Let sediment-load dc-config call longitdunal-section-prototype macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7231
diff
changeset
|
175 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
176 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
177 <dc:when test="$out = 'bedheight_middle'"> |
7229
873af92dc672
issue1345: meta-data.xml: For bedheight_middle, use the longitudinal-section-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7225
diff
changeset
|
178 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
179 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
180 <dc:when test="$out = 'bed_difference_height_year'"> |
7230
4baa0020ff69
issue1345: adjust dc-conf for befheight-diffs: is now longitudinal-section-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7229
diff
changeset
|
181 <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
|
182 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
183 <dc:when test="$out = 'bed_difference_year'"> |
7230
4baa0020ff69
issue1345: adjust dc-conf for befheight-diffs: is now longitudinal-section-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7229
diff
changeset
|
184 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
185 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
186 <dc:comment> Discharge curves </dc:comment> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
187 <dc:when test="$out = 'historical_discharge_wq'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
188 <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
|
189 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
190 <dc:when test="$out = 'discharge_curve'"> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
191 <dc:call-macro name="discharge-curve-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
192 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
193 <dc:when test="$out = 'fix_wq_curve'"> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
194 <dc:call-macro name="discharge-curve-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
195 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
196 <dc:when test="$out = 'computed_discharge_curve'"> |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
197 <dc:call-macro name="discharge-curve-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
198 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
199 <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
|
200 $out = 'sq_overview'"> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
201 <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
|
202 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
203 <dc:comment> Cross sections </dc:comment> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
204 <dc:when test="$out = 'cross_section'"> |
7572
85b44b0e6579
issue1020: Display more waterlevels for uesk.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7549
diff
changeset
|
205 <dc:call-macro name="basedata_0"/> |
85b44b0e6579
issue1020: Display more waterlevels for uesk.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7549
diff
changeset
|
206 <dc:call-macro name="basedata_1_additionals"/> |
85b44b0e6579
issue1020: Display more waterlevels for uesk.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7549
diff
changeset
|
207 <dc:call-macro name="basedata_2_fixations"/> |
7675
7e4c5bd86227
issue1020: Show official lines in datacage to compute uesks, too.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7672
diff
changeset
|
208 <dc:call-macro name="basedata_3_officials"/> |
7572
85b44b0e6579
issue1020: Display more waterlevels for uesk.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7549
diff
changeset
|
209 <dc:call-macro name="basedata_4_heightmarks-points"/> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
210 <dc:call-macro name="cross_sections"/> |
7572
85b44b0e6579
issue1020: Display more waterlevels for uesk.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7549
diff
changeset
|
211 <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
|
212 <dc:call-macro name="hyks"/> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
213 </dc:when> |
8300
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
214 <dc:comment> Duration curve </dc:comment> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
215 <dc:when test="$out = 'duration_curve'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
216 <dc:call-macro name="mainvalues"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
217 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
218 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
219 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
220 </dc:when> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
221 <dc:comment> Reference curve </dc:comment> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
222 <dc:when test="$out = 'reference_curve'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
223 <dc:call-macro name="mainvalues"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
224 <dc:call-macro name="annotations"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
225 <dc:call-macro name="basedata_1_additionals-relative_point"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
226 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
227 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
228 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
229 </dc:when> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
230 <dc:comment> Maps </dc:comment> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
231 <dc:when test="$out = 'map'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
232 <dc:call-macro name="flood-map-complete"/> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
233 </dc:when> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
234 <dc:when test="$out = 'floodmap'"> |
b70f0a3510c7
Classify and sort iteration over non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8299
diff
changeset
|
235 <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
|
236 </dc:when> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
237 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
238 </dc:iterate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
239 </dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
240 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
241 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
242 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
243 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
244 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
245 <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
|
246 <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
|
247 <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
|
248 <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
|
249 <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
|
250 <dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
251 <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
|
252 <dc:comment> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
253 Recommendations (user) |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
254 </dc:comment> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
255 <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
|
256 <dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
257 <dc:when test="$out = 'longitudinal_section'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
258 <dc:call-macro name="officiallines_user"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
259 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
260 </dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
261 </dc:iterate> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
262 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
263 <dc:otherwise> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
264 <dc:comment> |
7303
cb3238edf0ee
Comment in meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7294
diff
changeset
|
265 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
|
266 </dc:comment> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
267 <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
|
268 <dc:choose> |
8301
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
269 <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
|
270 <dc:when test="$out = 'winfo_diff_twin_panel'"> |
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
|
271 <dc:call-macro name="differences-fix"/> |
7435
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
272 <dc:call-macro name="differences"/> |
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
273 <dc:comment comment="Candidate for:"> |
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
274 <dc:call-macro name="longitudinal-section-user-prototype"/> |
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
275 </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
|
276 </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
|
277 <dc:when test="$out = 'waterlevels_panel'"> |
7435
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
278 <dc:call-macro name="waterlevels-fix"/> |
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
279 <dc:comment comment="Candidate for:"> |
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
280 <dc:call-macro name="longitudinal-section-user-prototype"/> |
1688aca02eb0
Partly revert rev 7419, conservative guess about which "outs" are handcrafted.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7431
diff
changeset
|
281 </dc:comment> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
282 </dc:when> |
8301
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
283 <dc:when test="$out = 'floodmap_hws_panel'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
284 <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
|
285 </dc:when> |
8301
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
286 <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
|
287 <dc:when test="$out = 'longitudinal_section'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
288 <dc:call-macro name="longitudinal-section-user-prototype"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
289 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
290 <dc:when test="$out = 'discharge_longitudinal_section'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
291 <dc:call-macro name="longitudinal-section-user-prototype"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
292 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
293 <dc:when test="$out = 'w_differences'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
294 <dc:call-macro name="longitudinal-section-user-prototype"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
295 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
296 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
297 <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
|
298 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
299 <dc:when test="$out = 'bedheight_middle'"> |
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
|
300 <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
|
301 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
302 <dc:when test="$out = 'flow_velocity'"> |
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
|
303 <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
|
304 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
305 <dc:when test="$out = 'bed_longitudinal_section'"> |
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
|
306 <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
|
307 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
308 <dc:when test="$out = 'sedimentload_ls'"> |
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
|
309 <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
|
310 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
311 <dc:when test="$out = 'bed_difference_year'"> |
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
|
312 <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
|
313 </dc:when> |
7467
6878708ac1ab
issue1572: Call longitudinal-section-user-prototype for bedheight-diffs/year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7457
diff
changeset
|
314 <dc:when test="$out = 'bed_difference_height_year'"> |
6878708ac1ab
issue1572: Call longitudinal-section-user-prototype for bedheight-diffs/year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7457
diff
changeset
|
315 <dc:call-macro name="longitudinal-section-user-prototype"/> |
6878708ac1ab
issue1572: Call longitudinal-section-user-prototype for bedheight-diffs/year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7457
diff
changeset
|
316 </dc:when> |
8301
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
317 <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
|
318 <dc:when test="$out = 'computed_discharge_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
319 <dc:call-macro name="computed-discharge-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
320 <dc:call-macro name="fix-wq-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
321 <dc:call-macro name="discharge-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
322 <dc:call-macro name="extreme-wq-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
323 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
324 <dc:when test="$out = 'fix_derivate_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
325 <dc:call-macro name="fix-derivate-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
326 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
327 <dc:when test="$out = 'fix_wq_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
328 <dc:call-macro name="fix-wq-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
329 <dc:call-macro name="waterlevels-fix"/> |
7575
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
330 </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
|
331 <dc:when test="$out = 'historical_discharge_wq'"> |
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
|
332 <dc:call-macro name="historical-discharge-wq-user"/> |
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
|
333 </dc:when> |
8289
f12a5c55864d
Consider new SQ-diagrams in datacage config.
"Tom Gottfried <tom@intevation.de>"
parents:
8277
diff
changeset
|
334 <dc:when test="starts-with($out, 'sq_relation') or |
f12a5c55864d
Consider new SQ-diagrams in datacage config.
"Tom Gottfried <tom@intevation.de>"
parents:
8277
diff
changeset
|
335 $out = 'sq_overview'"> |
7348
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
336 <dc:call-macro name="sqrelations_user"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
337 </dc:when> |
8301
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
338 <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
|
339 <dc:when test="$out = 'fix_deltawt_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
340 <dc:call-macro name="delta-wt"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
341 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
342 <dc:when test="$out = 'historical_discharge'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
343 <dc:call-macro name="historical-discharge-user"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
344 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
345 <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
|
346 <dc:when test="$out = 'cross_section'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
347 <dc:call-macro name="waterlevels"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
348 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
349 <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
|
350 <dc:when test="$out = 'duration_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
351 <dc:call-macro name="duration-curve"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
352 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
353 <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
|
354 <dc:when test="$out = 'reference_curve'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
355 <dc:call-macro name="reference-curves"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
356 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
357 <dc:comment> Maps </dc:comment> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
358 <dc:when test="$out = 'floodmap'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
359 <dc:call-macro name="flood-map"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
360 </dc:when> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
361 <dc:when test="$out = 'map'"> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
362 <dc:call-macro name="flood-map"/> |
2869a2e482e5
Classify and sort iteration over user-data non-recommendations.
"Tom Gottfried <tom@intevation.de>"
parents:
8300
diff
changeset
|
363 </dc:when> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
364 </dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
365 </dc:iterate> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
366 </dc:otherwise> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
367 </dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
368 </dc:call-macro> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
369 </dc:call-macro> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
370 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
371 </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
|
372 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
373 <!-- Macros to load user data --> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
374 |
7575
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
375 <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
|
376 <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
|
377 <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
|
378 <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
|
379 <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
|
380 <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
|
381 <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
|
382 <dc:element name="${facet_name}"> |
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
|
383 <dc:attribute name="description" value="${facet_description}"/> |
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
|
384 <dc:attribute name="factory" value="winfo"/> |
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
|
385 <dc:attribute name="target_out" value="${out}"/> |
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
|
386 <dc:attribute name="artifact-id" value="${a_gid}"/> |
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
|
387 <dc:attribute name="ids" value="${facet_num}"/> |
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
|
388 <dc:attribute name="out" value="historical_discharge"/> |
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
|
389 </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
|
390 </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
|
391 </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
|
392 </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
|
393 </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
|
394 </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
|
395 </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
|
396 </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
|
397 |
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
|
398 <dc:macro name="historical-discharge-wq-user"> |
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
|
399 <dc:filter expr="$out = 'historical_discharge_wq' and starts-with($facet_name, 'historical_discharge.wq')"> |
7575
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
400 <dc:if test="dc:has-result()"> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
401 <historical_discharges> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
402 <dc:call-macro name="collection-group"> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
403 <discharges description="{dc:group-key()}"> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
404 <dc:for-each> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
405 <dc:element name="${facet_name}"> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
406 <dc:attribute name="description" value="${facet_description}"/> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
407 <dc:attribute name="factory" value="winfo"/> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
408 <dc:attribute name="target_out" value="${out}"/> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
409 <dc:attribute name="artifact-id" value="${a_gid}"/> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
410 <dc:attribute name="ids" value="${facet_num}"/> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
411 <dc:attribute name="out" value="historical_discharge"/> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
412 </dc:element> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
413 </dc:for-each> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
414 </discharges> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
415 </dc:call-macro> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
416 </historical_discharges> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
417 </dc:if> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
418 </dc:filter> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
419 </dc:macro> |
8fd314253839
issue1631: Allow loading of some former historical-discharge facets.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7572
diff
changeset
|
420 |
6110
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
421 <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
|
422 <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
|
423 <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
|
424 <differences> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
425 <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
|
426 <differences description="{dc:group-key()}"> |
65e25bfd2049
issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7407
diff
changeset
|
427 <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
|
428 <dc:element name="${facet_name}"> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
429 <dc:attribute name="description" value="${facet_description}"/> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
430 <dc:attribute name="factory" value="winfo"/> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
431 <dc:attribute name="artifact-id" value="${a_gid}"/> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
432 <dc:attribute name="ids" value="${facet_num}"/> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
433 <dc:attribute name="target_out" value="${out}"/> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
434 <dc:attribute name="out" value="${out_name}"/> |
0d846c211b3b
Fixed datacage macro for winfo differences and added the new facet.
Raimund Renkert <rrenkert@intevation.de>
parents:
7702
diff
changeset
|
435 </dc:element> |
7408
65e25bfd2049
issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7407
diff
changeset
|
436 </dc:for-each> |
65e25bfd2049
issue1473: Show differences project name in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7407
diff
changeset
|
437 </differences> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
438 </dc:call-macro> |
6110
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
439 </differences> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
440 </dc:if> |
6110
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
441 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
442 </dc:macro> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
443 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
444 <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
|
445 <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
|
446 <dc:if test="dc:has-result()"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
447 <reference_curves> |
7457
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
448 <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
|
449 <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
|
450 <dc:for-each> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
451 <dc:element name="${facet_name}"> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
452 <dc:attribute name="description" value="${facet_description}"/> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
453 <dc:attribute name="factory" value="winfo"/> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
454 <dc:attribute name="target_out" value="${out}"/> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
455 <dc:attribute name="artifact-id" value="${a_gid}"/> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
456 <dc:attribute name="ids" value="${facet_num}"/> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
457 <dc:attribute name="out" value="reference_curve"/> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
458 </dc:element> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
459 </dc:for-each> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
460 </ref_curve> |
1d37d324eedc
issue1397: Fix reference_curve former calculations in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7455
diff
changeset
|
461 </dc:call-macro> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
462 </reference_curves> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
463 </dc:if> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
464 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
465 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
466 |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
467 |
6717
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
468 <dc:macro name="historical_discharge_curve"> |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
469 <dc:context> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
470 <dc:statement> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
471 SELECT g.id AS gauge_id, |
7423
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
472 g.name AS gauge_name, |
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
473 dt.id AS dt_id, |
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
474 t.start_time AS start_time, |
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
475 t.stop_time AS stop_time, |
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
476 dt.bfg_id AS bfg_id |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
477 FROM gauges g |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
478 JOIN discharge_tables dt ON g.id = dt.gauge_id |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
479 LEFT JOIN time_intervals t ON dt.time_interval_id = t.id |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
480 WHERE g.river_id = ${river_id} |
7423
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
481 AND dt.kind <> 0 |
e345db45e489
meta-data.xml: cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7421
diff
changeset
|
482 AND ((g.station = ${fromkm} AND g.station = ${tokm}) |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
483 OR g.official_number = ${reference_gauge}) |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
484 ORDER BY start_time |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
485 </dc:statement> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
486 <dc:if test="dc:has-result()"> |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
487 <historical_discharge_curves> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
488 <dc:group expr="$gauge_name"> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
489 <dc:for-each> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
490 <dc:variable name="combined_desc" expr="concat($bfg_id, ' ', dc:date-format('dd.MM.yyyy', $start_time), ' - ', dc:date-format('dd.MM.yyyy', $stop_time))"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
491 <histdis name="{$combined_desc}" |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
492 description="{$combined_desc}" |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
493 factory="gaugedischarge" target_out="{$out}" |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
494 ids="{$gauge_name};{$dt_id};{$combined_desc}"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
495 </dc:for-each> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
496 </dc:group> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
497 </historical_discharge_curves> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
498 </dc:if> |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
499 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
500 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
501 |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
502 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
503 <dc:macro name="flood-map"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
504 <dc:filter expr="$facet_name = 'floodmap.wsplgen'"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
505 <dc:if test="dc:has-result()"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
506 <floodmap> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
507 <dc:for-each> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
508 <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
|
509 <dc:element name="${facet_name}"> |
6237
d961b6d0237e
Fix uesk description for issue 770
Andre Heinecke <aheinecke@intevation.de>
parents:
6226
diff
changeset
|
510 <dc:attribute name="description" value="${combined_desc}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
511 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
512 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
513 <dc:attribute name="artifact-id" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
514 <dc:attribute name="ids" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
515 <dc:attribute name="out" value="floodmap"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
516 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
517 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
518 </floodmap> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
519 </dc:if> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
520 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
521 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
522 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
523 <dc:macro name="waterlevels"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
524 <dc:filter expr="$out_name = 'cross_section'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
525 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
526 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
527 <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
|
528 <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
|
529 <longitudinal_section_columns description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
530 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
531 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
532 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
533 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
534 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
535 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
536 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
537 <dc:attribute name="out" value="cross_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
538 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
539 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
540 </longitudinal_section_columns> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
541 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
542 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
543 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
544 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
545 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
546 |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
547 <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
|
548 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> |
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
549 <dc:macro-body/> |
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
550 </dc:group> |
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
551 </dc:macro> |
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
552 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
553 <dc:macro name="longitudinal"> |
7492
4ad8f335d39b
issue1571: Exclude vollmer curves from general longitudinal dc folder.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7491
diff
changeset
|
554 <dc:filter expr="$out_name = 'longitudinal_section' and $a_state != 'state.fix.vollmer.compute'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
555 <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
|
556 <waterlevels_ls> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
557 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
558 <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
|
559 <longitudinal_section_columns description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
560 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
561 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
562 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
563 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
564 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
565 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
566 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
567 <dc:attribute name="out" value="longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
568 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
569 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
570 </longitudinal_section_columns> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
571 </dc:call-macro> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
572 </waterlevels_ls> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
573 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
574 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
575 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
576 |
7491
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
577 <dc:macro name="longitudinal-section-fix-vollmer"> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
578 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
579 ($facet_name = 'longitudinal_section.w' or |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
580 $facet_name = 'longitudinal_section.q') |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
581 "> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
582 <dc:if test="dc:has-result()"> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
583 <waterlevels_fix_vollmer> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
584 <dc:call-macro name="collection-group"> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
585 <waterlevels description="{dc:group-key()}"> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
586 <dc:for-each> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
587 <dc:element name="${facet_name}"> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
588 <dc:attribute name="description" value="${facet_description}"/> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
589 <dc:attribute name="ids" value="${facet_num}"/> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
590 <dc:attribute name="factory" value="fixanalysis"/> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
591 <dc:attribute name="target_out" value="${out}"/> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
592 <dc:attribute name="artifact-id" value="${a_gid}"/> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
593 <dc:attribute name="out" value="longitudinal_section"/> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
594 </dc:element> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
595 </dc:for-each> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
596 </waterlevels> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
597 </dc:call-macro> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
598 </waterlevels_fix_vollmer> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
599 </dc:if> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
600 </dc:filter> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
601 </dc:macro> |
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
602 |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
603 <dc:macro name="longitudinal-section-fix"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
604 <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
|
605 (starts-with($facet_name, 'fix_deviation_ls') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
606 starts-with($facet_name, 'fix_sector_average_ls') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
607 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
|
608 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
|
609 "> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
610 <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
|
611 <waterlevels_fix> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
612 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
613 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
614 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
615 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
616 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
617 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
618 <dc:attribute name="factory" value="fixanalysis"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
619 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
620 <dc:attribute name="artifact-id" value="${a_gid}"/> |
7491
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
621 <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
|
622 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
623 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
624 </waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
625 </dc:call-macro> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
626 </waterlevels_fix> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
627 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
628 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
629 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
630 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
631 <dc:macro name="delta-wt"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
632 <dc:filter expr="$out_name = 'fix_deltawt_curve' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
633 ($facet_name = 'fix_analysis_events_dwt' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
634 $facet_name = 'fix_analysis_periods_dwt' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
635 $facet_name = 'fix_reference_events_dwt' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
636 starts-with($facet_name, 'fix_deviation_dwt') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
637 starts-with($facet_name, 'fix_sector_average_dwt'))"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
638 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
639 <waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
640 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
641 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
642 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
643 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
644 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
645 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
646 <dc:attribute name="factory" value="fixanalysis"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
647 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
648 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
649 <dc:attribute name="out" value="fix_deltawt_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
650 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
651 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
652 </waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
653 </dc:call-macro> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
654 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
655 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
656 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
657 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
658 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
659 <dc:macro name="fix-derivate-curve"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
660 <dc:filter expr="$out_name = 'fix_derivate_curve' and $facet_name = 'fix_derivate_curve'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
661 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
662 <waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
663 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
664 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
665 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
666 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
667 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
668 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
669 <dc:attribute name="factory" value="fixanalysis"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
670 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
671 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
672 <dc:attribute name="out" value="fix_derivate_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
673 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
674 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
675 </waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
676 </dc:call-macro> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
677 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
678 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
679 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
680 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
681 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
682 <dc:macro name="fix-wq-curve"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
683 <dc:filter expr="$out_name = 'fix_wq_curve' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
684 (starts-with($facet_name, 'fix_analysis_events_wq') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
685 starts-with($facet_name, 'fix_reference_events_wq') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
686 starts-with($facet_name, 'fix_sector_average_wq') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
687 $facet_name = 'fix_wq_curve')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
688 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
689 <waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
690 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
691 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
692 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
693 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
694 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
695 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
696 <dc:attribute name="factory" value="fixanalysis"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
697 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
698 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
699 <dc:attribute name="out" value="fix_wq_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
700 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
701 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
702 </waterlevels> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
703 </dc:call-macro> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
704 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
705 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
706 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
707 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
708 |
7267
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
709 |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
710 <dc:macro name="discharge-curve"> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
711 <dc:filter expr="$facet_name = 'discharge_curve.curve'"> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
712 <dc:if test="dc:has-result()"> |
7269 | 713 <discharge_curves> |
7267
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
714 <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
|
715 <dc:element name="${facet_name}"> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
716 <dc:attribute name="description" value="${facet_description}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
717 <dc:attribute name="factory" value="winfo"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
718 <dc:attribute name="target_out" value="${out}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
719 <dc:attribute name="artifact-id" value="${a_gid}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
720 <dc:attribute name="ids" value="${a_gid}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
721 <dc:attribute name="out" value="discharge_curve"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
722 </dc:element> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
723 </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
|
724 </discharge_curves> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
725 </dc:if> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
726 </dc:filter> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
727 </dc:macro> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
728 |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
729 <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
|
730 <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
|
731 <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
|
732 <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
|
733 <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
|
734 <dc:element name="${facet_name}"> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
735 <dc:attribute name="description" value="${facet_description}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
736 <dc:attribute name="factory" value="fixanalysis"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
737 <dc:attribute name="target_out" value="${out}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
738 <dc:attribute name="artifact-id" value="${a_gid}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
739 <dc:attribute name="ids" value="${a_gid}"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
740 <dc:attribute name="out" value="computed_discharge_curve"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
741 </dc:element> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
742 </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
|
743 </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
|
744 </dc:if> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
745 </dc:filter> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
746 </dc:macro> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
747 |
7264
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
748 <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
|
749 <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
|
750 <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
|
751 <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
|
752 <dc:for-each> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
753 <dc:element name="${facet_name}"> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
754 <dc:attribute name="description" value="${facet_description}"/> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
755 <dc:attribute name="factory" value="winfo"/> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
756 <dc:attribute name="target_out" value="${out}"/> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
757 <dc:attribute name="artifact-id" value="${a_gid}"/> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
758 <dc:attribute name="ids" value="${a_gid}"/> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
759 <dc:attribute name="out" value="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
|
760 </dc:element> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
761 </dc:for-each> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
762 </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
|
763 </dc:if> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
764 </dc:filter> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
765 </dc:macro> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
766 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
767 <dc:macro name="duration-curve"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
768 <dc:filter expr="$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
|
769 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
770 <computed_discharge_curves> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
771 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
772 <dc:element name="${facet_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
773 <dc:attribute name="description" value="${facet_description}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
774 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
775 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
776 <dc:attribute name="artifact-id" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
777 <dc:attribute name="ids" value="${a_id}"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
778 <dc:attribute name="out" value="duration_curve"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
779 </dc:element> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
780 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
781 </computed_discharge_curves> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
782 </dc:if> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
783 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
784 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
785 |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
786 <dc:comment>TODO doesnt work nicely for fix/wq-diags. Aheinecke (27.5.2013): Why?</dc:comment> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
787 <dc:macro name="waterlevels-fix"> |
6324
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
788 <dc:filter expr="($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
789 (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location'))"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
790 <dc:if test="dc:has-result()"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
791 <waterlevels> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
792 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
793 <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
|
794 <dc:for-each> |
6324
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
795 <dc:choose> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
796 <dc:when test="$ld_m = 'location'"> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
797 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
798 </dc:when> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
799 <dc:otherwise> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
800 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ', |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
801 $deffrom, ' bis KM ', $defto)"/> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
802 </dc:otherwise> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
803 </dc:choose> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
804 <dc:element name="${facet_name}"> |
6279
5f822f311f89
Add km range to description of waterlevels for issue565
Andre Heinecke <aheinecke@intevation.de>
parents:
6277
diff
changeset
|
805 <dc:attribute name="description" value="${combined_desc}"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
806 <dc:attribute name="ids" value="${facet_num}"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
807 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
808 <dc:attribute name="target_out" value="${out}"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
809 <dc:attribute name="artifact-id" value="${a_gid}"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
810 <dc:attribute name="out" value="longitudinal_section"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
811 </dc:element> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
812 </dc:for-each> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
813 </waterlevels> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
814 </dc:call-macro> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
815 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
816 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
817 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
818 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
819 |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
820 <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
|
821 <dc:macro name="differences-fix"> |
6587
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
822 <dc:comment comment="Vollmer curves need own factory"/> |
6649
5e567047ef72
Collapse overly complicated dc-filter-statement for vollmer-curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6645
diff
changeset
|
823 <dc:filter expr="$a_state = 'state.fix.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
|
824 <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
|
825 <vollmer_waterlevels> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
826 <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
|
827 <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
|
828 <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
|
829 <dc:choose> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
830 <dc:when test="$ld_m = 'location'"> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
831 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
832 </dc:when> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
833 <dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
834 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ', |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
835 $deffrom, ' bis KM ', $defto)"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
836 </dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
837 </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
|
838 <dc:element name="${facet_name}"> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
839 <dc:attribute name="description" value="${combined_desc}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
840 <dc:attribute name="ids" value="${facet_num}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
841 <dc:attribute name="factory" value="fixanalysis"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
842 <dc:attribute name="target_out" value="${out}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
843 <dc:attribute name="artifact-id" value="${a_gid}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
844 <dc:attribute name="out" value="longitudinal_section"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
845 </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
|
846 </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
|
847 </waterlevels> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
848 </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
|
849 </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
|
850 </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
|
851 </dc:filter> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
852 <dc:filter expr="not($a_state = 'state.fix.vollmer.compute') and (($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
853 (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
|
854 <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
|
855 <waterlevels> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
856 <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
|
857 <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
|
858 <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
|
859 <dc:choose> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
860 <dc:when test="$ld_m = 'location'"> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
861 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
862 </dc:when> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
863 <dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
864 <dc:variable name="combined_desc" expr="concat($facet_description, ' von KM ', |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
865 $deffrom, ' bis KM ', $defto)"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
866 </dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
867 </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
|
868 <dc:element name="${facet_name}"> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
869 <dc:attribute name="description" value="${combined_desc}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
870 <dc:attribute name="ids" value="${facet_num}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
871 <dc:attribute name="factory" value="winfo"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
872 <dc:attribute name="target_out" value="${out}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
873 <dc:attribute name="artifact-id" value="${a_gid}"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
874 <dc:attribute name="out" value="longitudinal_section"/> |
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
875 </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
|
876 </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
|
877 </waterlevels> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
878 </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
|
879 </waterlevels> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
880 </dc:if> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
881 </dc:filter> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
882 </dc:macro> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
883 |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
884 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
885 <dc:macro name="floodmap-hws-user"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
886 <dc:comment>No grouping in this?</dc:comment> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
887 <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
|
888 <own-hws> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
889 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
890 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
891 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
892 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
893 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
894 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
895 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
896 <dc:attribute name="out" value="floodmap"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
897 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
898 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
899 </own-hws> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
900 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
901 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
902 |
7443
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
903 <dc:macro name="bedquality"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
904 <dc:filter expr="$out_name = 'bed_longitudinal_section' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
905 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or |
7443
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
906 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer' or |
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
907 $facet_name = 'bed_longitudinal_section.bedload_diameter' or |
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
908 $facet_name = 'bed_longitudinal_section.sediment_density_toplayer' or |
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
909 $facet_name = 'bed_longitudinal_section.sediment_density_sublayer' or |
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
910 $facet_name = 'bed_longitudinal_section.porosity_toplayer' or |
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
911 $facet_name = 'bed_longitudinal_section.porosity_sublayer')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
912 <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
|
913 <bed_quality> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
914 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
915 <quality-bed description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
916 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
917 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
918 <dc:attribute name="factory" value="minfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
919 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
920 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
921 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
7177
336d7690b38c
Fix wrong usage of a_id and add more datacage stuff to WSPL longitundinal
Andre Heinecke <aheinecke@intevation.de>
parents:
7174
diff
changeset
|
922 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
923 <dc:attribute name="out" value="bed_longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
924 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
925 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
926 </quality-bed> |
7420
daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7419
diff
changeset
|
927 </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
|
928 </bed_quality> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
929 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
930 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
931 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
932 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
933 <dc:macro name="flow-velocity"> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
934 <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
|
935 starts-with($facet_name, 'flow_velocity')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
936 <dc:if test="dc:has-result()"> |
7441
e0a806803fcf
meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7438
diff
changeset
|
937 <flow_velocity> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
938 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
939 <flow description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
940 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
941 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
942 <dc:attribute name="factory" value="minfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
943 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
944 <dc:attribute name="description" value="${facet_description}"/> |
7470
e590599031d8
issue1512: Fix loading of all former flow vel. calculation via folder.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7469
diff
changeset
|
945 <dc:attribute name="ids" value="${facet_num}"/> |
7177
336d7690b38c
Fix wrong usage of a_id and add more datacage stuff to WSPL longitundinal
Andre Heinecke <aheinecke@intevation.de>
parents:
7174
diff
changeset
|
946 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
947 <dc:attribute name="out" value="flow_velocity"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
948 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
949 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
950 </flow> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
951 </dc:call-macro> |
7441
e0a806803fcf
meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7438
diff
changeset
|
952 </flow_velocity> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
953 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
954 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
955 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
956 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
957 <dc:macro name="sediment-load"> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
958 <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
|
959 <dc:if test="dc:has-result()"> |
7441
e0a806803fcf
meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7438
diff
changeset
|
960 <sediment_load> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
961 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
962 <load description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
963 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
964 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
965 <dc:attribute name="factory" value="minfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
966 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
967 <dc:attribute name="description" value="${facet_description}"/> |
7662
ba0de3c3a73e
issue1691: Sedimentload-fetching via datacage now picks right facet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7624
diff
changeset
|
968 <dc:attribute name="ids" value="${facet_num}"/> |
7177
336d7690b38c
Fix wrong usage of a_id and add more datacage stuff to WSPL longitundinal
Andre Heinecke <aheinecke@intevation.de>
parents:
7174
diff
changeset
|
969 <dc:attribute name="artifact-id" value="${a_gid}"/> |
8174
4b2b7593815c
Make sedimentload loadable as old calculation.
Tom Gottfried <tom@intevation.de>
parents:
8169
diff
changeset
|
970 <dc:attribute name="out" value="${out_name}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
971 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
972 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
973 </load> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
974 </dc:call-macro> |
7441
e0a806803fcf
meta-data.xml: Ease i18nability.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7438
diff
changeset
|
975 </sediment_load> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
976 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
977 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
978 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
979 |
8004
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
980 <dc:macro name="middle_bedheights"> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
981 <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
|
982 (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
|
983 <dc:if test="dc:has-result()"> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
984 <middle_bedheights> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
985 <dc:call-macro name="collection-group"> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
986 <middle_bedheight description="{dc:group-key()}"> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
987 <dc:for-each> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
988 <dc:element name="${facet_name}"> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
989 <dc:attribute name="factory" value="minfo"/> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
990 <dc:attribute name="target_out" value="${out}"/> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
991 <dc:attribute name="description" value="${facet_description}"/> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
992 <dc:attribute name="ids" value="${facet_num}"/> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
993 <dc:attribute name="artifact-id" value="${a_gid}"/> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
994 <dc:attribute name="out" value="${out_name}"/> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
995 </dc:element> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
996 </dc:for-each> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
997 </middle_bedheight> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
998 </dc:call-macro> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
999 </middle_bedheights> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
1000 </dc:if> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
1001 </dc:filter> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
1002 </dc:macro> |
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
1003 |
6595
61897a2b8283
issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6589
diff
changeset
|
1004 <dc:macro name="bedheight_differences"> |
7923
21d320ebb50c
Removed bed differences epoch from datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
7922
diff
changeset
|
1005 <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
|
1006 (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
|
1007 <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
|
1008 <bedheight_differences> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
1009 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1010 <difference description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1011 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1012 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1013 <dc:attribute name="factory" value="minfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1014 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1015 <dc:attribute name="description" value="${facet_description}"/> |
6615
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
1016 <dc:attribute name="ids" value="${facet_num}"/> |
6572
d99575a659af
Fix cloning of old MINFO/Beddiff-calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6565
diff
changeset
|
1017 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6589
5bab963b5d44
issue1395: Use correct out name in DC for bedheight-diffs.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6588
diff
changeset
|
1018 <dc:attribute name="out" value="${out_name}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1019 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1020 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1021 </difference> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
1022 </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
|
1023 </bedheight_differences> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1024 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
1025 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1026 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1027 |
7348
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1028 <dc:macro name="sqrelations_user"> |
8289
f12a5c55864d
Consider new SQ-diagrams in datacage config.
"Tom Gottfried <tom@intevation.de>"
parents:
8277
diff
changeset
|
1029 <dc:filter 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
|
1030 ($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
|
1031 ($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
|
1032 ($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
|
1033 ($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
|
1034 ($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
|
1035 ($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
|
1036 ($out = 'sq_relation_g' and starts-with($facet_name, 'sq_g_'))) or |
f12a5c55864d
Consider new SQ-diagrams in datacage config.
"Tom Gottfried <tom@intevation.de>"
parents:
8277
diff
changeset
|
1037 $out = 'sq_overview' and 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
|
1038 <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
|
1039 <sq_relations> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
1040 <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
|
1041 <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
|
1042 <dc:for-each> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1043 <dc:element name="${facet_name}"> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1044 <dc:attribute name="factory" value="minfo"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1045 <dc:attribute name="target_out" value="${out}"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1046 <dc:attribute name="description" value="${facet_description}"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1047 <dc:attribute name="ids" value="${facet_num}"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1048 <dc:attribute name="artifact-id" value="${a_gid}"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1049 <dc:attribute name="out" value="${out_name}"/> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1050 </dc:element> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1051 </dc:for-each> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1052 </sqrel> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
1053 </dc:call-macro> |
7348
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1054 </sq_relations> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1055 </dc:if> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1056 </dc:filter> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1057 </dc:macro> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1058 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1059 <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
|
1060 <dc:filter expr="$out_name = 'discharge_longitudinal_section'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1061 <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
|
1062 <waterlevels_discharge> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
1063 <dc:call-macro name="collection-group"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1064 <discharge description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1065 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1066 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1067 <dc:attribute name="factory" value="winfo"/> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1068 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1069 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1070 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
7177
336d7690b38c
Fix wrong usage of a_id and add more datacage stuff to WSPL longitundinal
Andre Heinecke <aheinecke@intevation.de>
parents:
7174
diff
changeset
|
1071 <dc:attribute name="artifact-id" value="${a_gid}"/> |
7407
8be4eb02b432
meta-data.xml: Fix referenced out for discharge_longitudinal_section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7406
diff
changeset
|
1072 <dc:attribute name="out" value="discharge_longitudinal_section"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1073 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1074 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1075 </discharge> |
7418
6665d0e3d795
meta-data.xml: Create and use collection-group macro.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7413
diff
changeset
|
1076 </dc:call-macro> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
1077 </waterlevels_discharge> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1078 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
1079 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1080 </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
|
1081 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1082 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1083 <!-- Macros to load system data --> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1084 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1085 <dc:macro name="annotations"> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1086 <annotation factory="annotations" ids="{$river_id}" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1087 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1088 |
8334
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
1089 <dc:macro name="qmainvalues"> |
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
1090 <qmainvalue factory="mainvalue" ids="{$river_id}:q" target_out="{$out}"/> |
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
1091 </dc:macro> |
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
1092 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1093 <dc:macro name="mainvalues"> |
8334
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
1094 <wmainvalue factory="mainvalue" ids="{$river_id}:w" target_out="{$out}"/> |
38f57e854977
Q-main values as recommendations in SQ. TODO: solve DDZ.
"Tom Gottfried <tom@intevation.de>"
parents:
8327
diff
changeset
|
1095 <dc:call-macro name="qmainvalues"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1096 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1097 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1098 <dc:macro name="cross_sections"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1099 <cross_sections id="flood-protections-{$river_id}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1100 <dc:context connection="system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1101 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1102 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1103 cs.id AS prot_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1104 cs.description AS prot_description |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1105 FROM cross_sections cs |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1106 JOIN cross_section_lines csl ON csl.cross_section_id = cs.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1107 WHERE cs.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1108 AND csl.km BETWEEN ${fromkm} AND ${tokm} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1109 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1110 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1111 <cross_section name="{$prot_description}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1112 ids="{$prot_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1113 factory="crosssections" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1114 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1115 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1116 </cross_sections> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1117 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1118 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1119 <dc:macro name="hyks"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1120 <hyks id="hyk-{$river_id}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1121 <dc:context connection="system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1122 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1123 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1124 h.id AS hyk_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1125 h.description AS hyk_description |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1126 FROM hyks h |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1127 JOIN hyk_entries he ON he.hyk_id = h.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1128 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1129 AND he.km BETWEEN ${fromkm} AND ${tokm} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1130 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1131 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1132 <hyk name="{$hyk_description}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1133 ids="{$hyk_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1134 factory="hyk" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1135 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1136 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1137 </hyks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1138 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1139 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1140 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1141 <!-- 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
|
1142 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1143 <!-- 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
|
1144 <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
|
1145 <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
|
1146 <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
|
1147 <basedata> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1148 <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
|
1149 <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
|
1150 <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
|
1151 <dc:macro-body/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1152 </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
|
1153 </basedata> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1154 </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
|
1155 </basedata> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1156 </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
|
1157 </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
|
1158 </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
|
1159 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1160 <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
|
1161 <dc:call-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
|
1162 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1163 ids="base_data-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1164 factory="staticwqkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1165 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1166 </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
|
1167 </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
|
1168 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1169 <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
|
1170 <dc:call-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
|
1171 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1172 ids="base_data-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1173 factory="wqinterpol" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1174 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1175 </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
|
1176 </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
|
1177 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1178 <!-- 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
|
1179 <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
|
1180 <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
|
1181 <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
|
1182 <additionals> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1183 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1184 <additional 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
|
1185 <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
|
1186 <dc:macro-body/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1187 </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
|
1188 </additional> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1189 </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
|
1190 </additionals> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1191 </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
|
1192 </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
|
1193 </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
|
1194 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1195 <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
|
1196 <dc:call-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
|
1197 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1198 ids="additionals-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1199 factory="staticwqkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1200 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1201 </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
|
1202 </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
|
1203 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1204 <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
|
1205 <dc:call-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
|
1206 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1207 ids="base_data-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1208 factory="wqinterpol" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1209 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1210 </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
|
1211 </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
|
1212 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1213 <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
|
1214 <dc:call-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
|
1215 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1216 ids="additionals-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1217 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1218 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1219 </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
|
1220 </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
|
1221 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1222 <!-- fixations --> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1223 <dc:macro name="fixings-macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1224 <dc:filter expr="$kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1225 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1226 <fixations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1227 <dc:group expr="dc:replace($wst_description, 'Fixierungen/', '')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1228 <fixation name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1229 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1230 <dc:macro-body/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1231 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1232 </fixation> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1233 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1234 </fixations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1235 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1236 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1237 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1238 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1239 <dc:macro name="basedata_2_fixations"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1240 <dc:call-macro name="fixings-macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1241 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1242 ids="fixations-wstv-{$wst_column_position}-{$wst_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1243 factory="staticwqkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1244 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1245 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1246 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1247 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1248 <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
|
1249 <dc:call-macro name="fixings-macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1250 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1251 ids="fixations-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1252 factory="wqinterpol" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1253 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1254 </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
|
1255 </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
|
1256 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1257 <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
|
1258 <dc:call-macro name="fixings-macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1259 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1260 ids="fixations-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1261 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1262 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1263 </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
|
1264 </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
|
1265 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1266 <!-- 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
|
1267 <dc:macro name="basedata_3_macro"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1268 <dc:filter expr="$kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1269 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1270 <officiallines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1271 <dc:group expr="$wst_description"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1272 <official name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1273 <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
|
1274 <dc:macro-body/> |
7621
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1275 </dc:for-each> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1276 </official> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1277 </dc:group> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1278 </officiallines> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1279 </dc:if> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1280 </dc:filter> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1281 </dc:macro> |
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1282 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1283 <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
|
1284 <dc:call-macro name="basedata_3_macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1285 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1286 ids="additionals-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1287 factory="staticwqkms" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1288 target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1289 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1290 </dc:call-macro> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1291 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1292 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1293 <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
|
1294 <dc:call-macro name="basedata_3_macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1295 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1296 ids="officials_wq-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1297 factory="wqinterpol" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1298 target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1299 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1300 </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
|
1301 </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
|
1302 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1303 <!-- 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
|
1304 <dc:macro name="basedata_4_macro"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1305 <dc:filter expr="$kind=4"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1306 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1307 <heightmarks> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
1308 <dc:group expr="dc:replace($wst_description, 'HW-Marken/', '')"> |
6084
46c18b687fdc
We want to expand the group key for the name
Andre Heinecke <aheinecke@intevation.de>
parents:
6081
diff
changeset
|
1309 <heightmark name="{dc:group-key()}"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1310 <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
|
1311 <dc:macro-body/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1312 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1313 </heightmark> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1314 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1315 </heightmarks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1316 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1317 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1318 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1319 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1320 <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
|
1321 <dc:call-macro name="basedata_4_macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1322 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1323 ids="heightmarks_points-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1324 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1325 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1326 </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
|
1327 </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
|
1328 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1329 <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
|
1330 <dc:call-macro name="basedata_4_macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1331 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1332 ids="heightmarks_points-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1333 factory="wqinterpol" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1334 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1335 </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
|
1336 </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
|
1337 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1338 <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
|
1339 <dc:call-macro name="basedata_4_macro"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1340 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1341 ids="heightmarks_points-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1342 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1343 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1344 </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
|
1345 </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
|
1346 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1347 <!-- 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
|
1348 <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
|
1349 <dc:filter expr="$kind=5"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1350 <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
|
1351 <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
|
1352 <dc:group expr="dc:replace($wst_description, 'HW-Schutzanlagen/', '')"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1353 <flood_protection name="{dc:group-key()}"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1354 <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
|
1355 <dc:macro-body/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1356 </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
|
1357 </flood_protection> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1358 </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
|
1359 </flood_protections> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1360 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1361 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1362 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1363 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1364 <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
|
1365 <dc:call-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
|
1366 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1367 ids="flood_protection-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1368 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1369 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1370 </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
|
1371 </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
|
1372 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1373 <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
|
1374 <dc:call-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
|
1375 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1376 ids="flood_protection-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1377 factory="wqinterpol" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1378 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1379 </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
|
1380 </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
|
1381 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1382 <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
|
1383 <dc:call-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
|
1384 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1385 ids="flood_protection-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1386 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1387 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1388 </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
|
1389 </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
|
1390 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1391 <!-- 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
|
1392 <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
|
1393 <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
|
1394 <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
|
1395 <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
|
1396 <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
|
1397 <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
|
1398 <dc:group expr="dc:replace($wst_description, 'CSV/', '')"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1399 <relativepoint 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
|
1400 <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
|
1401 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1402 ids="delta_w-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1403 factory="staticwkms" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1404 target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1405 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1406 </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
|
1407 </relativepoint> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1408 </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
|
1409 </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
|
1410 </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
|
1411 <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
|
1412 <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
|
1413 <dc:group expr="dc:replace($wst_description, 'CSV/', '')"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1414 <relativepoint 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
|
1415 <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
|
1416 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1417 ids="delta_w_cma-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1418 factory="staticwkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1419 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1420 </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
|
1421 </relativepoint> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1422 </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
|
1423 </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
|
1424 </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
|
1425 </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
|
1426 </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
|
1427 </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
|
1428 </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
|
1429 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1430 <!-- 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
|
1431 <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
|
1432 <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
|
1433 <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
|
1434 <wlevel> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1435 <dc:group expr="dc:replace($wst_description, 'CSV/', '')"> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1436 <relativepoint 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
|
1437 <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
|
1438 <dc:macro-body/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1439 </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
|
1440 </relativepoint> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1441 </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
|
1442 </wlevel> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1443 </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
|
1444 </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
|
1445 </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
|
1446 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1447 <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
|
1448 <dc:call-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
|
1449 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1450 ids="additionals-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1451 factory="staticwqkms" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1452 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1453 </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
|
1454 </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
|
1455 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1456 <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
|
1457 <dc:call-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
|
1458 <column name="{$wst_column_name}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1459 ids="additionals-wstv-{$wst_column_position}-{$wst_id}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1460 factory="wqinterpol" target_out="{$out}" |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1461 info="{$info} [km {$deffrom} - {$defto}]"/> |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1462 </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
|
1463 </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
|
1464 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1465 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1466 <!-- prototypes --> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1467 |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1468 <dc:macro name="discharge-curve-prototype"> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1469 <computed_discharge_curve> |
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1470 <dc:call-macro name="discharge_table_gauge"/> |
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1471 <dc:call-macro name="mainvalues"/> |
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1472 </computed_discharge_curve> |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1473 <dc:call-macro name="historical_discharge_curve"/> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1474 <dc:call-macro name="basedata_0_wq"/> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1475 <dc:call-macro name="basedata_1_additionals_wq"/> |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1476 <dc:call-macro name="basedata_2_fixations_wq"/> |
7621
00db0071388f
issue1579: Added macro to load interpolated official lines.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7576
diff
changeset
|
1477 <dc:call-macro name="basedata_3_officials_wq"/> |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1478 <dc:call-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
|
1479 <dc:call-macro name="basedata_5_flood-protections_wq"/> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1480 <minfo> |
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1481 <dc:call-macro name="sqrelations"/> |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1482 <dc:call-macro name="basedata_7_waterlevels_wq"/> |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1483 </minfo> |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1484 </dc:macro> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1485 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1486 <dc:macro name="longitudinal-section-prototype"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1487 <dc:call-macro name="basedata_0"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1488 <dc:call-macro name="basedata_1_additionals"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1489 <dc:call-macro name="basedata_2_fixations"/> |
7421
fcf72e5777c0
meta-data.xml: Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7420
diff
changeset
|
1490 <dc:call-macro name="basedata_3_officials"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1491 <dc:call-macro name="basedata_4_heightmarks-points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1492 <dc:call-macro name="basedata_5_flood-protections"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1493 <dc:call-macro name="annotations_per_type"/> |
7171
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1494 <minfo> |
7329
ed23bfe42b19
issue1345: Bring back waterlevel/diffs from fixation into minfo dc element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7328
diff
changeset
|
1495 <fixanalysis> |
ed23bfe42b19
issue1345: Bring back waterlevel/diffs from fixation into minfo dc element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7328
diff
changeset
|
1496 <dc:call-macro name="basedata_6_delta_w"/> |
ed23bfe42b19
issue1345: Bring back waterlevel/diffs from fixation into minfo dc element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7328
diff
changeset
|
1497 <dc:call-macro name="basedata_7_waterlevels"/> |
ed23bfe42b19
issue1345: Bring back waterlevel/diffs from fixation into minfo dc element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7328
diff
changeset
|
1498 </fixanalysis> |
8096
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1499 <dc:call-macro name="sedimentloads"/> |
7209
a5c142500d51
issue1435: Call densities-macro of meta-data.xml thus show densities in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7208
diff
changeset
|
1500 <dc:call-macro name="densities"/> |
7218
c9e74fe2ed4d
issue1435: Add bedheights and morph. width to LS DC conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7209
diff
changeset
|
1501 <dc:call-macro name="minfo-heights"/> |
7229
873af92dc672
issue1345: meta-data.xml: For bedheight_middle, use the longitudinal-section-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7225
diff
changeset
|
1502 <dc:call-macro name="sounding-width"/> |
7218
c9e74fe2ed4d
issue1435: Add bedheights and morph. width to LS DC conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7209
diff
changeset
|
1503 <dc:call-macro name="morph_width"/> |
7851
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1504 <dc:call-macro name="porosities"/> |
7474
39d348c0812d
issue1345: Add flow_velocities folder.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7470
diff
changeset
|
1505 <flow_velocities> |
39d348c0812d
issue1345: Add flow_velocities folder.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7470
diff
changeset
|
1506 <dc:call-macro name="flow_velocity_measurements"/> |
39d348c0812d
issue1345: Add flow_velocities folder.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7470
diff
changeset
|
1507 <dc:call-macro name="flow_velocity_models"/> |
39d348c0812d
issue1345: Add flow_velocities folder.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7470
diff
changeset
|
1508 </flow_velocities> |
7171
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1509 </minfo> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1510 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1511 |
7333
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1512 <dc:macro name="longitudinal-section-user-prototype"> |
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
|
1513 <dc:comment> WINFO/DIFF/FIX </dc:comment> |
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
|
1514 <dc:call-macro name="longitudinal"/> |
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
|
1515 <dc:call-macro name="differences"/> |
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
|
1516 <dc:call-macro name="waterlevels-discharge"/> |
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
|
1517 <dc:call-macro name="longitudinal-section-fix"/> |
7491
deaf6e848635
issue1571: Hav eown folder in dc for vollmer curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7478
diff
changeset
|
1518 <dc:call-macro name="longitudinal-section-fix-vollmer"/> |
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
|
1519 <dc:comment> MINFO </dc:comment> |
8004
05ef23d55046
Added macro for middle bedheights for old calculations.
Raimund Renkert <rrenkert@intevation.de>
parents:
7978
diff
changeset
|
1520 <dc:call-macro name="middle_bedheights"/> |
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
|
1521 <dc:call-macro name="bedheight_differences"/> |
7443
8ce14aeebe61
meta-data.xml: Subsume the different bed-quality dc-nodes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7441
diff
changeset
|
1522 <dc:call-macro name="bedquality"/> |
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
|
1523 <dc:call-macro name="flow-velocity"/> |
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
|
1524 <dc:call-macro name="sediment-load"/> |
7333
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1525 </dc:macro> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1526 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1527 |
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1528 <!-- porosities --> |
7851
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1529 <dc:macro name="porosities"> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1530 <porosities> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1531 <dc:context> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1532 <dc:statement> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1533 SELECT DISTINCT |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1534 p.id AS pid, |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1535 p.description AS description, |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1536 d.lower AS depth_lower, |
7905
34fa3f8c20ed
issue661: prototyped tooltip for porosities in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
7881
diff
changeset
|
1537 d.upper AS depth_upper, |
34fa3f8c20ed
issue661: prototyped tooltip for porosities in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
7881
diff
changeset
|
1538 p.description || '<BR>' || |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1539 'Tiefe: ' || d.lower || ' - ' || d.upper |
7905
34fa3f8c20ed
issue661: prototyped tooltip for porosities in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
7881
diff
changeset
|
1540 || ' cm <BR>' || |
8119
a9a6414b3563
Format timestamps in datacage tooltip for porosities.
"Tom Gottfried <tom@intevation.de>"
parents:
8114
diff
changeset
|
1541 'Zeitraum: ' AS info, |
a9a6414b3563
Format timestamps in datacage tooltip for porosities.
"Tom Gottfried <tom@intevation.de>"
parents:
8114
diff
changeset
|
1542 t.start_time AS syear, |
a9a6414b3563
Format timestamps in datacage tooltip for porosities.
"Tom Gottfried <tom@intevation.de>"
parents:
8114
diff
changeset
|
1543 t.stop_time AS eyear |
7851
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1544 FROM porosity p |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1545 JOIN depths d ON p.depth_id = d.id |
7905
34fa3f8c20ed
issue661: prototyped tooltip for porosities in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
7881
diff
changeset
|
1546 JOIN time_intervals t ON p.time_interval_id=t.id |
7851
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1547 WHERE p.river_id = ${river_id} |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1548 ORDER BY depth_lower, depth_upper |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1549 </dc:statement> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1550 <dc:if test="dc:has-result()"> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1551 <dc:for-each> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1552 <porosity description="{$depth_lower}-{$depth_upper} cm" |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1553 factory="porosity" |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1554 target_out="{$out}" |
8119
a9a6414b3563
Format timestamps in datacage tooltip for porosities.
"Tom Gottfried <tom@intevation.de>"
parents:
8114
diff
changeset
|
1555 info="{concat($info, dc:date-format('yyyy', $syear), |
a9a6414b3563
Format timestamps in datacage tooltip for porosities.
"Tom Gottfried <tom@intevation.de>"
parents:
8114
diff
changeset
|
1556 ' - ', dc:date-format('yyyy', $eyear))}" |
7881
f9e3ef5d38d0
Use description from database for i18n (completed revision dc8910e29dd4).
Raimund Renkert <rrenkert@intevation.de>
parents:
7853
diff
changeset
|
1557 ids="{$pid};{$description}" /> |
7851
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1558 </dc:for-each> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1559 </dc:if> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1560 </dc:context> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1561 </porosities> |
b566cd0c025a
New macro for porosities in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
7801
diff
changeset
|
1562 </dc:macro> |
7333
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1563 |
7208
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1564 <dc:macro name="densities"> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1565 <densities> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1566 <dc:context> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1567 <dc:statement> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1568 SELECT DISTINCT |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1569 sd.id AS sdid, |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1570 d.lower AS depth_lower, |
7451
6b8d9c001329
issue1345: Sort sediment densities by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7450
diff
changeset
|
1571 d.upper AS depth_upper, |
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
|
1572 min(sdv.year) AS year, |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1573 sd.description || '<BR>Jahr: ' || min(sdv.year) AS info |
7208
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1574 FROM sediment_density sd |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1575 JOIN depths d ON sd.depth_id = d.id |
7451
6b8d9c001329
issue1345: Sort sediment densities by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7450
diff
changeset
|
1576 JOIN sediment_density_values sdv on sdv.sediment_density_id = sd.id |
7450
d4024d245f4e
meta-data.xml: Simplify query for densities a bit, sort by depth.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7444
diff
changeset
|
1577 WHERE sd.river_id = ${river_id} |
7451
6b8d9c001329
issue1345: Sort sediment densities by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7450
diff
changeset
|
1578 GROUP BY sd.id, sd.description, d.upper, d.lower |
6b8d9c001329
issue1345: Sort sediment densities by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7450
diff
changeset
|
1579 ORDER BY year, depth_lower, depth_upper |
7208
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1580 </dc:statement> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1581 <dc:if test="dc:has-result()"> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1582 <dc:for-each> |
7429
e4c01198f909
issue1345: Showing sediment densitie by depth, comment total load.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7428
diff
changeset
|
1583 <density description="{$depth_lower}-{$depth_upper} cm" |
7208
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1584 factory="sedimentdensity" |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1585 target_out="{$out}" |
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
|
1586 info="{$info}" |
7208
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1587 ids="{$sdid}" /> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1588 </dc:for-each> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1589 </dc:if> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1590 </dc:context> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1591 </densities> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1592 </dc:macro> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1593 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1594 <!-- sediment load --> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1595 <dc:macro name="load"> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1596 <year description="{$timespan}" |
8096
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1597 factory="sedimentload" |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1598 target_out="{$out}" |
8122
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1599 info="{$info}" |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1600 ids="{$slid};{$fraction};{$timespan};{$kind}" /> |
8096
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1601 </dc:macro> |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1602 |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1603 <dc:macro name="load_ls"> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1604 <year description="{$timespan}" |
8104
9ff5fd9bccfa
Configure SedimentLoadLSFacet
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8101
diff
changeset
|
1605 factory="sedimentload_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
|
1606 target_out="{$out}" |
8122
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1607 info="{$info}" |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1608 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
|
1609 </dc:macro> |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1610 |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1611 <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
|
1612 <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
|
1613 <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
|
1614 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
|
1615 <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
|
1616 <dc:group expr="$fraction"> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1617 <dc:variable name="fraction_name" |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1618 expr="concat('${', dc:group-key(), '}')"/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1619 <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
|
1620 <dc:for-each> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1621 <dc:choose> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1622 <dc:when test="string-length(dc:get('endyear')) = 0"> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1623 <dc:variable name="timespan" type="string" |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1624 expr="dc:date-format('yyyy', $startyear)"/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1625 </dc:when> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1626 <dc:otherwise> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1627 <dc:variable name="timespan" type="string" |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1628 expr="concat(dc:date-format('yyyy', |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1629 $startyear), '-', |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1630 dc:date-format('yyyy', $endyear))"/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1631 </dc:otherwise> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1632 </dc:choose> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1633 <dc:if test="$kind = 'official'"> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1634 <dc:variable name="info" type="string" |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1635 expr="concat('Amtliche Epoche<BR>', |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1636 dc:get('info'))"/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1637 </dc:if> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1638 <dc:macro-body/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1639 </dc:for-each> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1640 </fraction> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1641 </dc:group> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1642 </sq_time> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1643 </dc:group> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1644 </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
|
1645 </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
|
1646 |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1647 <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
|
1648 <years> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1649 <dc:filter expr="string-length(dc:get('endyear')) = 0 and |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1650 $kind != 'official'" > |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1651 <dc:macro-body/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1652 </dc:filter> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1653 </years> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1654 <epochs> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1655 <dc:filter expr="string-length(dc:get('endyear')) > 0 and |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1656 $kind != 'official'" > |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1657 <dc:macro-body/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1658 </dc:filter> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1659 </epochs> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1660 <off_epochs> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1661 <dc:filter expr="$kind = 'official'" > |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1662 <dc:macro-body/> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1663 </dc:filter> |
6f866709bbff
Official sedimentload epochs should be seperated from other data in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8289
diff
changeset
|
1664 </off_epochs> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1665 </dc:macro> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1666 |
8096
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1667 <dc:macro name="sedimentloads"> |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1668 <dc:comment> |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1669 This is the macro for static datacage "Sedimentloads". |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1670 Or "Frachten". |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1671 </dc:comment> |
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1672 <sedimentloads> |
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
|
1673 <dc:call-macro name="annotations_sediment_load_ls"/> |
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
|
1674 <measurement_stations> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1675 <dc:context> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1676 <dc:statement> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1677 SELECT DISTINCT |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1678 sl.id AS slid, |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1679 slk.kind AS kind, |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1680 ti.start_time AS startyear, |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1681 ti.stop_time AS endyear, |
8121
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1682 sq.start_time AS sqstart, |
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1683 sq.stop_time AS sqstop, |
8122
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1684 gf.name AS fraction, |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1685 sl.description || '<BR>' || |
8122
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1686 'Fraktion: ' || gf.lower || ' bis ' || gf.upper || |
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1687 ' mm<BR>Einheit: t/a' AS info |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1688 FROM sediment_load sl |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1689 JOIN sediment_load_kinds slk ON slk.id = sl.kind |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1690 JOIN sediment_load_values slv |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1691 ON sl.id = slv.sediment_load_id |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1692 JOIN measurement_station ms |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1693 ON ms.id = slv.measurement_station_id |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1694 JOIN rivers r ON ms.river_id = r.id |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1695 JOIN time_intervals ti ON sl.time_interval_id = ti.id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1696 LEFT JOIN time_intervals sq ON sl.sq_time_interval_id = sq.id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1697 JOIN grain_fraction gf ON gf.id = sl.grain_fraction_id |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1698 WHERE r.id = ${river_id} |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1699 AND ms.station BETWEEN ${fromkm} AND ${tokm} |
8121
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1700 ORDER BY sqstart DESC, sqstop DESC, |
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1701 fraction, startyear DESC, endyear DESC |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1702 </dc:statement> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1703 <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
|
1704 <dc:call-macro name="loads"> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1705 <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
|
1706 </dc:call-macro> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1707 </dc:call-macro> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1708 </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
|
1709 </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
|
1710 <sediment_load_ls> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1711 <dc:context> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1712 <dc:statement> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1713 SELECT DISTINCT |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1714 sl.id AS slid, |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1715 slk.kind AS kind, |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1716 ti.start_time AS startyear, |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1717 ti.stop_time AS endyear, |
8121
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1718 sq.start_time AS sqstart, |
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1719 sq.stop_time AS sqstop, |
8122
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1720 gf.name AS fraction, |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1721 sl.description || '<BR>' || |
8122
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1722 'Fraktion: ' || gf.lower || ' bis ' || gf.upper || |
aca5d1c87755
Tooltip for sediment loads in datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8121
diff
changeset
|
1723 ' mm<BR>Einheit: ' || u.name AS info |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1724 FROM sediment_load_ls sl |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1725 JOIN sediment_load_kinds slk ON slk.id = sl.kind |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1726 JOIN rivers r ON sl.river_id = r.id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1727 JOIN sediment_load_ls_values slv |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1728 ON sl.id = slv.sediment_load_ls_id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1729 JOIN time_intervals ti ON sl.time_interval_id = ti.id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1730 LEFT JOIN time_intervals sq ON sl.sq_time_interval_id = sq.id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1731 JOIN grain_fraction gf ON gf.id = sl.grain_fraction_id |
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1732 JOIN units u ON sl.unit_id = u.id |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1733 WHERE r.id = ${river_id} |
8222
1cd7225df846
Let official epochs be showy and remove detritus of 'yields' in datacage config.
Tom Gottfried <tom@intevation.de>
parents:
8214
diff
changeset
|
1734 AND slv.station BETWEEN ${fromkm} AND ${tokm} |
8121
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1735 ORDER BY sqstart DESC, sqstop DESC, |
82af749d5ab3
Add SQ time interval to selection tree in datacage for sediment loads.
"Tom Gottfried <tom@intevation.de>"
parents:
8120
diff
changeset
|
1736 fraction, startyear DESC, endyear DESC |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1737 </dc:statement> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1738 <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
|
1739 <dc:call-macro name="loads"> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1740 <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
|
1741 </dc:call-macro> |
8120
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1742 </dc:call-macro> |
b57f4bcd0f6f
Remove code duplications in sedimentload datacage.
"Tom Gottfried <tom@intevation.de>"
parents:
8119
diff
changeset
|
1743 </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
|
1744 </sediment_load_ls> |
8096
1d2a9c5ee97b
Change sedimentload factory from yields to loads.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8079
diff
changeset
|
1745 </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
|
1746 </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
|
1747 |
8307
60212ed56023
Put all macros for wst-data in one place and reduce code duplications.
"Tom Gottfried <tom@intevation.de>"
parents:
8306
diff
changeset
|
1748 <!-- annotations --> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1749 <dc:macro name="annotations_per_type"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1750 <annotations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1751 <dc:context> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1752 <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
|
1753 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1754 SELECT id AS anno_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1755 name AS anno_description |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1756 FROM annotation_types |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1757 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1758 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1759 <annotation name="{$anno_description}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1760 factory="annotations" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1761 ids="{$river_id}:{$anno_description}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1762 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1763 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1764 </annotations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1765 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1766 |
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
|
1767 <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
|
1768 <sources_sinks> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1769 <dc:context> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1770 <dc:statement> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1771 SELECT id AS anno_id, |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1772 name AS anno_description |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1773 FROM annotation_types |
7978
a1a918f63bb4
Exclude annotation types without trailing unit (assumed after whitespace).
Tom Gottfried <tom@intevation.de>
parents:
7976
diff
changeset
|
1774 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
|
1775 </dc:statement> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1776 <dc:for-each> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1777 <annotation name="{$anno_description}" |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1778 factory="annotations" target_out="{$out}" |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1779 ids="{$river_id}:{$anno_description}"/> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1780 </dc:for-each> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1781 </dc:context> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1782 </sources_sinks> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1783 </dc:macro> |
6d39b4066c91
Add sources/sinks to sediment yield datacage.
Tom Gottfried <tom.gottfried@intevation.de>
parents:
7664
diff
changeset
|
1784 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1785 <dc:macro name="discharge_table_gauge"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1786 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1787 <dc:statement> |
6690
0b0325d1ab7f
issue1391: Fix syntax in gauge macros and add km filtering
Andre Heinecke <aheinecke@intevation.de>
parents:
6657
diff
changeset
|
1788 SELECT g.id AS gauge_id, |
6717
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1789 g.name AS gauge_name, |
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1790 t.start_time AS start_time, |
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1791 t.stop_time AS stop_time |
6690
0b0325d1ab7f
issue1391: Fix syntax in gauge macros and add km filtering
Andre Heinecke <aheinecke@intevation.de>
parents:
6657
diff
changeset
|
1792 FROM gauges g |
6717
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1793 JOIN discharge_tables dt ON g.id = dt.gauge_id |
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1794 LEFT JOIN time_intervals t ON dt.time_interval_id = t.id |
6690
0b0325d1ab7f
issue1391: Fix syntax in gauge macros and add km filtering
Andre Heinecke <aheinecke@intevation.de>
parents:
6657
diff
changeset
|
1795 WHERE g.river_id = ${river_id} |
6717
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1796 AND dt.kind = 0 |
6849
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
1797 AND ((g.station = ${fromkm} AND g.station = ${tokm}) |
8306
33d90858b2dc
Remove duplications from discharge prototypes and put it all together.
"Tom Gottfried <tom@intevation.de>"
parents:
8301
diff
changeset
|
1798 OR g.official_number = ${reference_gauge}) |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1799 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1800 <dc:if test="dc:has-result()"> |
6851
4937dab5ff7a
(issue1391): Build the current discarge curve name as requested
Andre Heinecke <aheinecke@intevation.de>
parents:
6849
diff
changeset
|
1801 <dc:for-each> |
4937dab5ff7a
(issue1391): Build the current discarge curve name as requested
Andre Heinecke <aheinecke@intevation.de>
parents:
6849
diff
changeset
|
1802 <current_gauge factory="gaugedischarge" target_out="{$out}" |
4937dab5ff7a
(issue1391): Build the current discarge curve name as requested
Andre Heinecke <aheinecke@intevation.de>
parents:
6849
diff
changeset
|
1803 ids="{$gauge_name}"/> |
4937dab5ff7a
(issue1391): Build the current discarge curve name as requested
Andre Heinecke <aheinecke@intevation.de>
parents:
6849
diff
changeset
|
1804 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1805 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1806 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1807 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1808 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1809 <dc:macro name="qsectors"> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1810 <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
|
1811 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1812 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1813 <dc:macro name="flood-map-recommended"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1814 <kilometrage> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1815 <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
|
1816 </kilometrage> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1817 <rastermap> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1818 <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
|
1819 </rastermap> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1820 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1821 |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1822 <dc:macro name="minfo-heights-diff"> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1823 <dc:call-macro name="minfo-heights-years"> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1824 <dc:context> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1825 <dc:statement> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1826 WITH sta |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1827 AS (SELECT bhs.id, |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1828 bhs.description, |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1829 bhsv.station, |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1830 bhs.year |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1831 FROM bed_height_single bhs |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1832 JOIN bed_height_single_values bhsv |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1833 ON bhsv.bed_height_single_id = bhs.id |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1834 WHERE bhs.river_id = ${river_id}), |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1835 csta |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1836 AS (SELECT b1.id AS b1id, |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1837 b1.description AS b1desc, |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1838 b1.year AS b1year, |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1839 b2.id AS b2id, |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1840 b2.description AS b2desc, |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1841 b2.year AS b2year |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1842 FROM sta b1 |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1843 JOIN sta b2 |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1844 ON b1.station = b2.station |
7975
5dc5bbfdc023
Select complete differences matrix to have a well sorted dc-tree.
Raimund Renkert <rrenkert@intevation.de>
parents:
7973
diff
changeset
|
1845 AND b1.id <> b2.id) |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1846 SELECT DISTINCT b1id, b1desc, b1year, |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1847 b2id, b2desc, b2year |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1848 FROM csta |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1849 ORDER BY b1desc, b2desc |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1850 </dc:statement> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1851 <dc:if test="dc:has-result()"> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1852 <bedheights> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1853 <dc:call-macro name="bed-heights-single-diff"/> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1854 <dc:call-macro name="bed-heights-epoch-diff"/> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1855 </bedheights> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1856 </dc:if> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1857 </dc:context> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1858 </dc:call-macro> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1859 </dc:macro> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1860 |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1861 <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
|
1862 <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
|
1863 <years> |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1864 <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
|
1865 </years> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1866 </dc:filter> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1867 </dc:macro> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1868 |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1869 <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
|
1870 <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
|
1871 <epochs> |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1872 <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
|
1873 </epochs> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1874 </dc:filter> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1875 </dc:macro> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1876 |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1877 <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
|
1878 <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
|
1879 <minfo-diff name="{dc:group-key()}"> |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1880 <dc:for-each> |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1881 <dc:choose> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1882 <dc:when test="dc:group-key() = $b1year"> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1883 <height factory="bedheight" |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1884 target_out="{$out}" |
8169
856701739443
Handle missing years in bed height differences without assuming an unknown year to be BC 1.
"Tom Gottfried <tom@intevation.de>"
parents:
8149
diff
changeset
|
1885 ids="bedheight-single-{$b1id}#bedheight-single-{$b2id}" |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1886 info="{$b1desc}#{$b2desc}" |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1887 description="{$b1desc} - {$b2desc}"/> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1888 </dc:when> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1889 <dc:when test="dc:group-key() = 'sonstige'"> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1890 <height factory="bedheight" |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1891 target_out="{$out}" |
8169
856701739443
Handle missing years in bed height differences without assuming an unknown year to be BC 1.
"Tom Gottfried <tom@intevation.de>"
parents:
8149
diff
changeset
|
1892 ids="bedheight-single-{$b1id}#bedheight-single-{$b2id}" |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1893 info="{$b1desc}#{$b2desc}" |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1894 description="{$b1desc} - {$b2desc}"/> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1895 <height factory="bedheight" |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1896 target_out="{$out}" |
8169
856701739443
Handle missing years in bed height differences without assuming an unknown year to be BC 1.
"Tom Gottfried <tom@intevation.de>"
parents:
8149
diff
changeset
|
1897 ids="bedheight-single-{$b2id}#bedheight-single-{$b1id}" |
7973
02b7ef079e6f
Fixed datacage info field for bed height differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7970
diff
changeset
|
1898 info="{$b2desc}#{$b1desc}" |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1899 description="{$b2desc} - {$b1desc}"/> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1900 </dc:when> |
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1901 </dc:choose> |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1902 </dc:for-each> |
7970
d66ea32d98bc
Updated macros and db statement for minfo bedheight differences.
Raimund Renkert <rrenkert@intevation.de>
parents:
7964
diff
changeset
|
1903 </minfo-diff> |
7961
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1904 </dc:group> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1905 </dc:macro> |
598e4bec920b
New macros for bed height differneces.
Raimund Renkert <rrenkert@intevation.de>
parents:
7947
diff
changeset
|
1906 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1907 <dc:macro name="minfo-heights"> |
7947
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1908 <dc:call-macro name="minfo-heights-years"> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1909 <bedheights> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1910 <dc:call-macro name="bed-heights-single"/> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1911 <dc:call-macro name="bed-heights-epoch"/> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1912 </bedheights> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1913 </dc:call-macro> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1914 </dc:macro> |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1915 |
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1916 <dc:macro name="minfo-heights-years"> |
7411
e854a25fd17a
Fixed meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7409
diff
changeset
|
1917 <dc:comment> |
7406
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1918 The input here is a list differenc ids noted in the |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1919 form: |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1920 [2726deb8-e71f-4acc-bc57-c7ae6062df2e;bedheight;0;FP-Mai2006vHW]# |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1921 [df79ba16-7e2a-43d6-b15b-34dca1fd9bff;bedheight;0;FP-2007_0-286]# |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1922 [027ba0ac-5453-4e63-a99b-1feeb82a4e06;bedheight;0;QP-2002nHW]# |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1923 [26b9b6eb-1ce5-4011-83c7-b88e15e99870;bedheight;0;FP-Nov2008] |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1924 |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1925 (Linebreaks inserted for readability) |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1926 |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1927 We take this string and look for all 4 digit numbers (\d{4}) after |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1928 we have removed the uuids from the input string (dc:replace all). |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1929 On this list of numbers we use the dc:min/max-number functions to |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1930 get the extreme values and interpret the result as a number. |
91ff42699f58
(issue965) Add a comment to explain what we do here
Andre Heinecke <aheinecke@intevation.de>
parents:
7405
diff
changeset
|
1931 </dc:comment> |
7427
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1932 <dc:choose> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1933 <dc:when test="dc:contains($parameters, 'diffids')"> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1934 <dc:variable name="year_from" expr=" |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1935 dc:min-number( |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1936 dc:find-all( |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1937 '\d{4}', |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1938 dc:replace-all( |
7549
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1939 $diffids, |
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1940 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" |
7427
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1941 type="number"/> |
7549
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1942 <dc:if test="$year_from = dc:min-number('x')"> |
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1943 <dc:variable name="year_from" expr="0" type="number"/> |
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1944 </dc:if> |
7427
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1945 <dc:variable name="year_to" expr=" |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1946 dc:max-number( |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1947 dc:find-all( |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1948 '\d{4}', |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1949 dc:replace-all( |
7549
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1950 $diffids, |
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1951 '[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}', '')))" |
7427
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1952 type="number"/> |
7549
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1953 <dc:if test="$year_to = dc:max-number('x')"> |
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1954 <dc:variable name="year_to" expr="9999" type="number"/> |
783b295c35d3
Previous fix for flys/issue1675 was broken. :-/
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7548
diff
changeset
|
1955 </dc:if> |
7427
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1956 </dc:when> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1957 <dc:otherwise> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1958 <dc:comment>Just show everything</dc:comment> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1959 <dc:variable name="year_to" expr="9999" type="number"/> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1960 <dc:variable name="year_from" expr="0" type="number"/> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1961 </dc:otherwise> |
2ee825c87f57
(issue965) Handle the case that diffids are not available
Andre Heinecke <aheinecke@intevation.de>
parents:
7426
diff
changeset
|
1962 </dc:choose> |
7947
a4764ab23eef
Datacage: Moved year filtering of bed heights to separate macro to be reusable in other contextes.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
7923
diff
changeset
|
1963 <dc:macro-body/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1964 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1965 |
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
|
1966 <dc:macro name="bed-heights-statement"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1967 <dc:statement> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1968 SELECT bhs.id AS bedh_id, |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1969 bhs.year AS bedh_year, |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1970 bhs.description AS bedh_descr, |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1971 bhs.description || '<BR>Jahr: ' || bhs.year || |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1972 '<BR>Aufnahmeart: ' || bht.name || |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1973 '<BR>Lagesystem: ' || ls.name || |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1974 '<BR>Höhensystem: ' || cur_em.name || |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1975 '<BR>ursprüngliches Höhensystem: ' || old_em.name || |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1976 '<BR>Strecke: ' || round(r.a, 1) || '-' || round(r.b, 1) || |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1977 '<BR>Auswerter: ' || bhs.evaluation_by AS info |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1978 FROM bed_height_single bhs |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1979 JOIN bed_height_type bht ON bht.id = bhs.type_id |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1980 JOIN location_system ls ON ls.id = location_system_id |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1981 JOIN elevation_model cur_em ON cur_em.id = cur_elevation_model_id |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1982 JOIN elevation_model old_em ON old_em.id = old_elevation_model_id |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1983 JOIN ranges r ON r.id = range_id |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1984 WHERE bhs.river_id = ${river_id} |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1985 AND bhs.year BETWEEN ${year_from} AND ${year_to} |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1986 </dc:statement> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1987 </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
|
1988 |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1989 <dc:macro name="bed-heights-factory"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1990 <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
|
1991 <height factory="bedheight" |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1992 target_out="{$out}" |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1993 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1994 info="{$info}" |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1995 description="{$bedh_descr}"/> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
1996 </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
|
1997 </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
|
1998 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1999 <dc:macro name="bed-heights-single"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2000 <single> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2001 <dc:context> |
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
|
2002 <dc:call-macro name="bed-heights-statement"/> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2003 <dc:filter expr="not(contains($bedh_descr, 'Epoche'))"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2004 <dc:if test="dc:has-result()"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2005 <dc:group expr="$bedh_year"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2006 <cross-sections name="{dc:group-key()}"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2007 <dc:call-macro name="bed-heights-factory"/> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2008 </cross-sections> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2009 </dc:group> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2010 </dc:if> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2011 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2012 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2013 </single> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2014 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2015 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2016 <dc:macro name="bed-heights-epoch"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2017 <epoch> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2018 <dc:context> |
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
|
2019 <dc:call-macro name="bed-heights-statement"/> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2020 <dc:filter expr="contains($bedh_descr, 'Epoche')"> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2021 <dc:call-macro name="bed-heights-factory"/> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2022 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2023 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2024 </epoch> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2025 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2026 |
7292
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2027 <dc:macro name="flow_velocity_models"> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2028 <dc:context> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2029 <dc:statement> |
7421
fcf72e5777c0
meta-data.xml: Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7420
diff
changeset
|
2030 SELECT fvm.id AS fvmid, |
fcf72e5777c0
meta-data.xml: Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7420
diff
changeset
|
2031 fvm.description AS fvmd, |
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
|
2032 dz.gauge_name AS gauge, |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2033 dz.value AS q, |
7402
93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7387
diff
changeset
|
2034 dz.upper_discharge AS upperQ, |
93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7387
diff
changeset
|
2035 dz.lower_discharge AS lowerQ |
7292
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2036 FROM flow_velocity_model fvm |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2037 JOIN discharge_zone dz ON dz.id = fvm.discharge_zone_id |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2038 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
|
2039 ORDER BY dz.value |
7292
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2040 </dc:statement> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2041 <dc:if test="dc:has-result()"> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2042 <flowvelocitymodel> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2043 <dc:for-each> |
7402
93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7387
diff
changeset
|
2044 <measurement_value name="{$fvmd}" |
93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7387
diff
changeset
|
2045 ids="{$fvmid}" |
93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7387
diff
changeset
|
2046 factory="flowvelocitymodel" |
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
|
2047 info="{$lowerQ} - {$upperQ}<BR> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2048 Pegel {$gauge}<BR> |
37cdfad302cb
Metadata in datacage tooltips for sediment densities, bed heights, flow velocities and sounding widhts.
Tom Gottfried <tom@intevation.de>
parents:
8122
diff
changeset
|
2049 Q = {$q} m3/s" |
7402
93ae1aa8ade9
issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7387
diff
changeset
|
2050 target_out="{$out}" /> |
7292
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2051 </dc:for-each> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2052 </flowvelocitymodel> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2053 </dc:if> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2054 </dc:context> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2055 </dc:macro> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2056 |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
2057 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2058 <dc:macro name="flow_velocity_measurements"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2059 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2060 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2061 SELECT id AS fvmid, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2062 description AS fvmd |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2063 FROM flow_velocity_measurements WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2064 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2065 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2066 <flowvelocitymeasurement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2067 <dc:for-each> |
7455
cab749184ed7
issue1512: Repair loading all of flowvelocitymeasurements by not equipping
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7451
diff
changeset
|
2068 <flow_velocity_measurement name="{$fvmd}"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2069 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2070 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2071 SELECT id, description, station, datetime, v, w, q |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2072 FROM flow_velocity_measure_values |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2073 WHERE measurements_id = ${fvmid} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2074 AND station BETWEEN ${fromkm} AND ${tokm} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2075 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2076 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2077 <measurement_value name="{$description} - {$station} - {$datetime}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2078 ids="{$id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2079 factory="flowvelocity" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2080 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2081 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2082 </flow_velocity_measurement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2083 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2084 </flowvelocitymeasurement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2085 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2086 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2087 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2088 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2089 <dc:macro name="morph_width"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2090 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2091 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2092 SELECT id AS width_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2093 FROM morphologic_width |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2094 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2095 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2096 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2097 <morph_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2098 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2099 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2100 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2101 SELECT min(station) AS from_station, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2102 max(station) AS to_station |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2103 FROM morphologic_width_values |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2104 WHERE morphologic_width_id = ${width_id} |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2105 </dc:statement> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2106 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2107 <morphologic-width name="{$from_station} - {$to_station}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2108 ids="{$width_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2109 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
|
2110 </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
|
2111 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2112 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2113 </morph_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2114 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2115 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2116 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2117 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2118 <dc:macro name="sounding-width"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2119 <dc:context> |
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
|
2120 <dc:call-macro name="bed-heights-statement"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2121 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2122 <soundings_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2123 <dc:for-each> |
7478
2803a70177c2
issue1657: Adjust DC conf to spawn sounding widths.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7474
diff
changeset
|
2124 <height factory="bedheight" |
2803a70177c2
issue1657: Adjust DC conf to spawn sounding widths.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7474
diff
changeset
|
2125 target_out="{$out}" |
2803a70177c2
issue1657: Adjust DC conf to spawn sounding widths.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7474
diff
changeset
|
2126 ids="bedheight-soundings-{$bedh_id}-{$bedh_year}" |
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
|
2127 info="{$info}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2128 description="{$bedh_descr}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2129 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2130 </soundings_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2131 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2132 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2133 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2134 |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2135 <dc:macro name="sqrelations"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2136 <dc:context> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2137 <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
|
2138 SELECT |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2139 ti.start_time AS start_time, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2140 ti.stop_time AS stop_time, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2141 ms.name AS station_name, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2142 lower(sqv.parameter) AS parameter, |
7672
691d15750513
(issue1474) Change order of measurement stations
Andre Heinecke <aheinecke@intevation.de>
parents:
7667
diff
changeset
|
2143 sqv.id AS sqvid, |
691d15750513
(issue1474) Change order of measurement stations
Andre Heinecke <aheinecke@intevation.de>
parents:
7667
diff
changeset
|
2144 ra.a AS station_km |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2145 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
|
2146 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
|
2147 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
|
2148 JOIN measurement_station ms ON sqv.measurement_station_id = ms.id |
7672
691d15750513
(issue1474) Change order of measurement stations
Andre Heinecke <aheinecke@intevation.de>
parents:
7667
diff
changeset
|
2149 JOIN ranges ra ON ms.range_id = 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
|
2150 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
|
2151 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
|
2152 ORDER BY start_time, stop_time |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2153 </dc:statement> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2154 <dc:if test="dc:has-result()"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2155 <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
|
2156 <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
|
2157 <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
|
2158 <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
|
2159 <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
|
2160 $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
|
2161 <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
|
2162 <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
|
2163 <dc:variable name="combined_desc" |
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
|
2164 expr="concat(dc:date-format('yyyy', |
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
|
2165 $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
|
2166 dc:date-format('yyyy', |
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
|
2167 $stop_time))"/> |
8327
1e4e5ff44aa9
Use the sq relation artifact to load data from datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
8308
diff
changeset
|
2168 <sqvalue factory="sqrelationdatacage" |
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
|
2169 target_out="{$out}" |
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
|
2170 ids="{$sqvid};{dc:uppercase($parameter)} - {$station_name}: {$combined_desc}" |
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
|
2171 description="{$combined_desc}"/> |
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
|
2172 </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
|
2173 </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
|
2174 </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
|
2175 </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
|
2176 </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
|
2177 </dc:group> |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2178 </sq_relations> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2179 </dc:if> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2180 </dc:context> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2181 </dc:macro> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
2182 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2183 <!-- Floodmap part --> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2184 <dc:macro name="flood-map-complete"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2185 <dc:call-macro name="flood-map-buildings"/> |
8269
c36edb3928ff
Make use of publicly available external WMS (Pegelonline) otherwise called from BfG-specific macro.
"Tom Gottfried <tom@intevation.de>"
parents:
8268
diff
changeset
|
2186 <dc:call-macro name="flood-map-gaugelocations"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2187 <dc:call-macro name="floodmarks"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2188 <hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2189 <dc:call-macro name="hwslines"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2190 <dc:call-macro name="hwspoints"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2191 </hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2192 <dc:call-macro name="flood-map-routing"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2193 <hydrboundaries> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2194 <dc:call-macro name="flood-map-floodplain"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2195 <dc:call-macro name="flood-map-hydr-boundaries"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2196 </hydrboundaries> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2197 <dc:call-macro name="flood-map-uesk"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2198 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2199 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2200 <dc:macro name="flood-map-routing"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2201 <route_data> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2202 <dc:call-macro name="flood-map-qps"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2203 <dc:call-macro name="flood-map-fixpoints"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2204 <dc:call-macro name="flood-map-km"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2205 <dc:call-macro name="flood-map-riveraxis"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2206 </route_data> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2207 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2208 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2209 <dc:macro name="flood-map-hydr-boundaries"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2210 <bfg_model> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2211 <dc:call-macro name="flood-map-hydr-boundaries-poly"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2212 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2213 </bfg_model> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2214 <dc:call-macro name="flood-map-hydr-boundaries-state"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2215 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2216 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2217 <dc:macro name="flood-map-dem"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2218 <dems> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2219 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2220 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2221 SELECT d.id AS dem_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2222 r.a AS dem_lower, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2223 r.b AS dem_upper, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2224 d.name AS name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2225 t.start_time AS start_time, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2226 t.stop_time AS stop_time, |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2227 'Projektion: ' || d.projection || '<BR>' || |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2228 'Rasterweite: ' || d.resolution || 'm<BR>' || |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2229 'Format: ' || d.format || '<BR>' || |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2230 'Zeitraum: ' |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2231 AS info |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2232 FROM dem d |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2233 JOIN ranges r ON d.range_id = r.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2234 LEFT JOIN time_intervals t ON d.time_interval_id = t.id |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2235 WHERE d.river_id = ${river_id} |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2236 AND NOT((${tokm} < r.a) or (${fromkm} > r.b)) |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2237 </dc:statement> |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2238 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2239 <dem factory="demfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2240 ids="{$dem_id}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2241 name="{$name}" |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2242 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
|
2243 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2244 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2245 </dems> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2246 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2247 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2248 <dc:macro name="filter_hws_ddg"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2249 <dc:macro name="durchlass_damm_graben"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2250 <dc:macro name="ddg_factory"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2251 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2252 <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
|
2253 </dc:for-each> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2254 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2255 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2256 <dc:filter expr="$hws_kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2257 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2258 <Durchlass><dc:call-macro name="ddg_factory"/></Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2259 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2260 </dc:filter> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2261 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2262 <dc:filter expr="$hws_kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2263 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2264 <Damm><dc:call-macro name="ddg_factory"/></Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2265 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2266 </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
|
2267 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2268 <dc:filter expr="$hws_kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2269 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2270 <Graben><dc:call-macro name="ddg_factory"/></Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2271 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2272 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2273 </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
|
2274 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2275 <dc:filter expr="$hws_official=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2276 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2277 <official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2278 <dc:call-macro name="durchlass_damm_graben"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2279 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2280 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2281 </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
|
2282 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2283 <dc:filter expr="$hws_official=0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2284 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2285 <inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2286 <dc:call-macro name="durchlass_damm_graben"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2287 </inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2288 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2289 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2290 </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
|
2291 |
6054
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2292 <dc:macro name="flood-map-hws-lines"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2293 <dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2294 <dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2295 SELECT DISTINCT |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2296 name AS hws_name, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2297 official AS hws_official, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2298 kind_id AS hws_kind |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2299 FROM hws_lines |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2300 WHERE river_id = ${river_id} |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2301 </dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2302 <dc:if test="dc:has-result()"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2303 <lines> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2304 <dc:call-macro name="filter_hws_ddg"/> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2305 </lines> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2306 </dc:if> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2307 </dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2308 </dc:macro> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2309 |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2310 <dc:macro name="flood-map-hws-points"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2311 <dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2312 <dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2313 SELECT DISTINCT |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2314 name AS hws_name, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2315 official AS hws_official, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2316 kind_id AS hws_kind |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2317 FROM hws_points |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2318 WHERE river_id = ${river_id} |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2319 </dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2320 <dc:if test="dc:has-result()"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2321 <points> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2322 <dc:call-macro name="filter_hws_ddg"/> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2323 </points> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2324 </dc:if> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2325 </dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2326 </dc:macro> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2327 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2328 <dc:macro name="flood-map-hydr-boundaries-state"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2329 <federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2330 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2331 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2332 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2333 name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2334 FROM hydr_boundaries |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2335 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2336 AND kind = 2 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2337 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2338 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2339 <line factory="wmshydrboundariesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2340 ids="{$river_id};{$name};2" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2341 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2342 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2343 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2344 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2345 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2346 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2347 name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2348 FROM hydr_boundaries_poly |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2349 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2350 AND kind = 2 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2351 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2352 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2353 <line factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2354 ids="{$river_id};{$name};2" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2355 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2356 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2357 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2358 </federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2359 </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
|
2360 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2361 <dc:macro name="flood-map-hydr-boundaries-lines"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2362 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2363 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2364 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2365 name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2366 FROM hydr_boundaries |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2367 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2368 AND kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2369 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2370 <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
|
2371 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2372 <lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2373 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2374 <line factory="wmshydrboundariesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2375 ids="{$river_id};{$name};1" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2376 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2377 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2378 </lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2379 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2380 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2381 </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
|
2382 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2383 <dc:macro name="flood-map-hydr-boundaries-poly"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2384 <areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2385 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2386 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2387 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2388 b.sectie AS sectie_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2389 sk.name AS sectie |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2390 FROM hydr_boundaries_poly b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2391 JOIN sectie_kinds sk ON b.sectie = sk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2392 WHERE b.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2393 AND b.kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2394 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2395 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2396 <sobek_areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2397 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2398 <boundary name="{$sectie}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2399 factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2400 ids="{$river_id};{$sectie};1;{$sectie_id};-1"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2401 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2402 </sobek_areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2403 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2404 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2405 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2406 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2407 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2408 b.sobek AS sobek_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2409 sk.name AS sobek |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2410 FROM hydr_boundaries_poly b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2411 JOIN sobek_kinds sk ON b.sobek = sk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2412 WHERE b.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2413 AND b.kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2414 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2415 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2416 <sobek_flooded> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2417 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2418 <boundary name="{$sobek}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2419 factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2420 ids="{$river_id};{$sobek};1;-1;{$sobek_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2421 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2422 </sobek_flooded> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2423 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2424 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2425 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2426 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2427 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2428 b.name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2429 FROM hydr_boundaries_poly b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2430 WHERE b.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2431 AND b.kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2432 AND b.sobek IS NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2433 AND b.sectie is NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2434 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2435 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2436 <boundary name="{$name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2437 factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2438 ids="{$river_id};{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2439 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2440 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2441 </areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2442 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2443 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2444 <dc:macro name="flood-map-uesk"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2445 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2446 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2447 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
|
2448 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2449 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2450 <uesk> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2451 <calculations> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2452 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2453 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2454 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
|
2455 AND (kind = 112 OR kind = 111) |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2456 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2457 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2458 <current> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2459 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2460 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2461 SELECT DISTINCT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2462 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2463 WHERE river_id = ${river_id} AND kind = 111 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2464 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2465 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2466 <bfg> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2467 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2468 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2469 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2470 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2471 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2472 </bfg> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2473 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2474 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2475 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2476 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2477 SELECT DISTINCT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2478 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2479 WHERE river_id = ${river_id} AND kind = 112 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2480 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2481 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2482 <federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2483 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2484 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2485 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2486 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2487 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2488 </federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2489 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2490 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2491 </current> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2492 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2493 </dc:context> |
5760
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
2494 <dc:context> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
2495 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2496 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
|
2497 AND (kind = 122 OR kind = 121) |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
2498 </dc:statement> |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
2499 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2500 <potential> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2501 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2502 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2503 SELECT DISTINCT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2504 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2505 WHERE river_id = ${river_id} AND kind = 121 |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2506 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2507 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2508 <bfg> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2509 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2510 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2511 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2512 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2513 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2514 </bfg> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2515 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2516 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2517 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2518 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2519 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2520 name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2521 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2522 WHERE river_id = ${river_id} AND kind = 122 |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2523 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2524 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2525 <federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2526 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2527 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2528 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2529 name="{$name}"/> |
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 </federal> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2532 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2533 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2534 </potential> |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2535 </dc:if> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2536 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2537 </calculations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2538 <dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2539 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2540 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2541 source AS source |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2542 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2543 WHERE river_id = ${river_id} AND kind = 200 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2544 </dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2545 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2546 <measurements> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2547 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2548 <year name="{$source}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2549 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2550 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2551 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2552 name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2553 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2554 WHERE river_id = ${river_id} AND kind = 200 AND source = |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2555 ${source} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2556 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2557 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2558 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2559 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2560 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2561 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2562 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2563 </year> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2564 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2565 </measurements> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2566 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2567 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2568 </uesk> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2569 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2570 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2571 </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
|
2572 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2573 <dc:macro name="flood-map-floodplain"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2574 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2575 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2576 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2577 fp.kind_id AS kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2578 flk.name AS kind_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2579 FROM floodplain fp |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2580 JOIN floodplain_kinds flk on fp.kind_id = flk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2581 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2582 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2583 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2584 <floodplain> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2585 <dc:filter expr="$kind_id=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2586 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2587 <floody factory="wmsfloodplainfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2588 description="{$kind_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2589 ids="{$river_id};{$kind_name};{$kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2590 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2591 </dc:filter> |
6098
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2592 <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
|
2593 <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
|
2594 <other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2595 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2596 <floody factory="wmsfloodplainfactory" target_out="{$out}" |
6098
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2597 description="{$layer_name}" |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2598 ids="{$river_id};{$layer_name};{$kind_id}"/> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2599 </dc:for-each> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2600 </other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2601 </dc:if> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2602 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2603 </floodplain> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2604 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2605 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2606 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2607 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2608 <dc:macro name="hwspoints_by_kind"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2609 <dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2610 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
|
2611 availble |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2612 </dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2613 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2614 <dc:macro name="hwspoints_by_kind_factory"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2615 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2616 <hws factory="wmshwspointsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2617 ids="{$river_id};{$hws_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2618 name="{$hws_name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2619 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2620 </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
|
2621 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2622 <dc:filter expr="$hws_kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2623 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2624 <Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2625 <dc:call-macro name="hwspoints_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2626 </Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2627 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2628 </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
|
2629 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2630 <dc:filter expr="$hws_kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2631 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2632 <Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2633 <dc:call-macro name="hwspoints_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2634 </Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2635 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2636 </dc:filter> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2637 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2638 <dc:filter expr="$hws_kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2639 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2640 <Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2641 <dc:call-macro name="hwspoints_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2642 </Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2643 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2644 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2645 </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
|
2646 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2647 <dc:macro name="hwspoints"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2648 <hws_points> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2649 <official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2650 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2651 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2652 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2653 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2654 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2655 FROM hws_points hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2656 JOIN fed_states fs ON hws.fed_state_id = fs.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2657 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2658 AND hws.official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2659 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2660 <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
|
2661 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2662 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2663 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2664 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2665 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2666 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2667 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2668 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2669 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
|
2670 </dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2671 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2672 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2673 </fedstate> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2674 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2675 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2676 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2677 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2678 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2679 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2680 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2681 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2682 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2683 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2684 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2685 AND fed_state_id IS NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2686 ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2687 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2688 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2689 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2690 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2691 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2692 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2693 <inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2694 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2695 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2696 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2697 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2698 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2699 FROM hws_points hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2700 JOIN fed_states fs ON hws.fed_state_id = fs.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2701 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2702 AND hws.official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2703 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2704 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2705 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2706 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2707 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2708 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2709 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2710 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2711 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2712 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2713 AND fed_state_id = ${fed_id} ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2714 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2715 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2716 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2717 </fedstate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2718 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2719 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2720 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2721 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2722 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2723 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2724 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2725 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2726 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2727 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2728 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2729 AND fed_state_id IS NULL ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2730 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2731 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2732 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2733 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2734 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2735 </inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2736 </hws_points> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2737 </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
|
2738 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2739 <dc:macro name="hwslines_by_kind"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2740 <dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2741 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
|
2742 availble |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2743 </dc:comment> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2744 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2745 <dc:macro name="hwslines_by_kind_factory"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2746 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2747 <hws factory="wmshwslinesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2748 ids="{$river_id};{$hws_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2749 name="{$hws_name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2750 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2751 </dc:macro> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2752 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2753 <dc:filter expr="$hws_kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2754 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2755 <Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2756 <dc:call-macro name="hwslines_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2757 </Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2758 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2759 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2760 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2761 <dc:filter expr="$hws_kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2762 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2763 <Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2764 <dc:call-macro name="hwslines_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2765 </Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2766 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2767 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2768 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2769 <dc:filter expr="$hws_kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2770 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2771 <Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2772 <dc:call-macro name="hwslines_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2773 </Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2774 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2775 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2776 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2777 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2778 <dc:macro name="hwslines"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2779 <hws_lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2780 <official> |
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 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2784 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2785 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2786 FROM hws_lines hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2787 JOIN fed_states fs ON hws.fed_state_id = fs.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2788 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2789 AND hws.official=1 |
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:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2792 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2793 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2794 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2795 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2796 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2797 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2798 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2799 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2800 AND fed_state_id = ${fed_id} ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2801 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2802 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2803 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2804 </fedstate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2805 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2806 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2807 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2808 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2809 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2810 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2811 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2812 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2813 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2814 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2815 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2816 AND fed_state_id IS NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2817 ORDER BY name |
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 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2820 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2821 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2822 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2823 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2824 <inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2825 <dc:context> |
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 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2828 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2829 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2830 FROM hws_lines hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2831 JOIN fed_states fs ON hws.fed_state_id = fs.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2832 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2833 AND hws.official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2834 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2835 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2836 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2837 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2838 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2839 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2840 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2841 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2842 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2843 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2844 AND fed_state_id = ${fed_id} ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2845 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2846 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2847 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2848 </fedstate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2849 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2850 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2851 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2852 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2853 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2854 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2855 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2856 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2857 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2858 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2859 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2860 AND fed_state_id IS NULL ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2861 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2862 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2863 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2864 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2865 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2866 </inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2867 </hws_lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2868 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2869 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2870 <dc:macro name="floodmarks"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2871 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2872 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2873 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2874 COALESCE(CAST (year AS VARCHAR(64)), 'Unbekanntes Jahr') AS year |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2875 FROM flood_marks |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2876 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2877 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2878 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2879 <floodmarks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2880 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2881 <floodmark name="{$year}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2882 factory="wmsfloodmarkfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2883 ids="{$river_id};{$year};{$year}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2884 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2885 </floodmarks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2886 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2887 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2888 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2889 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2890 <dc:macro name="flood-map-gaugelocations"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2891 <gaugelocations> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2892 <gauge_points factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelpunkte (WSV)" target_out="{$out}" /> |
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2893 <gauge_names factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelnamen;Pegelnamen (WSV)" target_out="{$out}" /> |
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2894 <gauge_level factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelwasserstand;Aktueller Wasserstand (WSV)" target_out="{$out}" /> |
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2895 <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
|
2896 </gaugelocations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2897 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2898 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2899 <dc:macro name="flood-map-riveraxis"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2900 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2901 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2902 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2903 ak.name AS kind_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2904 ax.kind_id AS kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2905 ax.name AS layer_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2906 FROM river_axes ax |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2907 JOIN axis_kinds ak on ax.kind_id = ak.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2908 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2909 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2910 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2911 <axis> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2912 <dc:filter expr="$kind_id=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2913 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2914 <actual description="{$kind_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2915 ids="{$river_id};{$kind_name};{$kind_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2916 factory="riveraxis" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2917 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2918 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2919 <dc:filter expr="$kind_id!=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2920 <other> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2921 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2922 <misc-axis description="{$layer_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2923 ids="{$river_id};{$layer_name};{$kind_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2924 factory="riveraxis" target_out="{$out}" /> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2925 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2926 </other> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2927 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2928 </axis> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2929 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2930 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2931 </dc:macro> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2932 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2933 <dc:macro name="flood-map-km"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2934 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2935 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2936 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
|
2937 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2938 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2939 <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
|
2940 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2941 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2942 </dc:macro> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2943 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2944 <dc:macro name="flood-map-fixpoints"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2945 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2946 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2947 SELECT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2948 FROM fixpoints |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2949 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2950 GROUP BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2951 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2952 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2953 <fixpoints factory="wmsfixpointsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2954 ids="{$river_id};{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2955 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2956 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2957 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2958 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2959 <dc:macro name="flood-map-qps"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2960 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2961 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2962 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2963 cs.kind_id AS kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2964 cs.name AS layer_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2965 ck.name AS kind_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2966 FROM cross_section_tracks cs |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2967 JOIN cross_section_track_kinds ck ON cs.kind_id = ck.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2968 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2969 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2970 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2971 <qps> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2972 <dc:filter expr="$kind_id=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2973 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2974 <actual description="{$kind_name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2975 factory="wmsqpsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2976 ids="{$river_id};{$kind_name};{$kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2977 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2978 </dc:filter> |
6098
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2979 <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
|
2980 <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
|
2981 <other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2982 <dc:for-each> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2983 <misc-qps description="{$layer_name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2984 factory="wmsqpsfactory" target_out="{$out}" |
6098
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2985 ids="{$river_id};{$layer_name};{$kind_id}"/> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2986 </dc:for-each> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2987 </other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2988 </dc:if> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2989 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2990 </qps> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2991 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2992 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2993 </dc:macro> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2994 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2995 <dc:macro name="flood-map-buildings"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2996 <buildings> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2997 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2998 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2999 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3000 b.name AS building_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3001 bk.name AS building_kind, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3002 b.kind_id AS building_kind_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3003 FROM buildings b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3004 JOIN building_kinds bk ON b.kind_id = bk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3005 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3006 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3007 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3008 <dc:filter expr="$building_kind_id!=0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3009 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3010 <buildings description="{$building_kind}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
3011 factory="wmsbuildingsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3012 ids="{$river_id};{$building_kind};{$building_kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3013 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3014 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3015 <dc:filter expr="$building_kind_id=0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3016 <other> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3017 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3018 <buildings description="{$building_name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
3019 factory="wmsbuildingsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3020 ids="{$river_id};{$building_name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3021 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3022 </other> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3023 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3024 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3025 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3026 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3027 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3028 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3029 j.kind_id AS jetty_kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3030 jk.name AS jetty_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3031 FROM jetties j |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3032 JOIN jetty_kinds jk ON j.kind_id = jk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3033 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3034 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3035 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3036 <jetties> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3037 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3038 <jetty description="{$jetty_kind}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
3039 factory="wmsjettiesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3040 ids="{$river_id};{$jetty_kind};{$jetty_kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3041 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3042 </jetties> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3043 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3044 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3045 </buildings> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3046 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3047 |
6054
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
3048 <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
|
3049 <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
|
3050 <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
|
3051 <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
|
3052 <dc:property name="name" alias="olname"/> |
6456
0624d3a0a63e
Call official lines macro in system context and fixed the macro.
Raimund Renkert <rrenkert@intevation.de>
parents:
6439
diff
changeset
|
3053 <dc:property name="wstId" alias="wstid"/> |
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
|
3054 <dc:property name="columnPos" alias="wstcolpos"/> |
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
|
3055 </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
|
3056 <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
|
3057 <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
|
3058 <dc:for-each> |
6456
0624d3a0a63e
Call official lines macro in system context and fixed the macro.
Raimund Renkert <rrenkert@intevation.de>
parents:
6439
diff
changeset
|
3059 <column name="{$olname}" |
6598
ca56c4e6a755
Mark staticwqkms that are loaded as officiallines recommendation as official
Andre Heinecke <aheinecke@intevation.de>
parents:
6595
diff
changeset
|
3060 ids="official-wstv-{$wstcolpos}-{$wstid}" |
ca56c4e6a755
Mark staticwqkms that are loaded as officiallines recommendation as official
Andre Heinecke <aheinecke@intevation.de>
parents:
6595
diff
changeset
|
3061 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
|
3062 </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
|
3063 </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
|
3064 </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
|
3065 </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
|
3066 </dc:if> |
6054
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
3067 </dc:macro> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
3068 |
8241
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3069 |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3070 <dc: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
|
3071 <dc:if test="dc:has-result()"> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3072 <dc:if test="string-length(dc:get('epochs')) > 0"> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3073 <dc:variable name="start" type="number" |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3074 expr="dc:min-number(dc:find-all('\d{4}', $epochs))"/> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3075 <dc:variable name="end" type="number" |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3076 expr="dc:max-number(dc:find-all('\d{4}', $epochs))"/> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3077 </dc:if> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3078 <dc:filter expr="not(number($end) < |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3079 number(dc:date-format('yyyy', $startyear)) |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3080 or number($start) > |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3081 number(dc:date-format('yyyy', $endyear)))"> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3082 <dc:macro-body/> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3083 </dc:filter> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3084 </dc:if> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3085 </dc:macro> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3086 |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3087 <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
|
3088 <dc:variable name="sq_time_id" type="number" expr="number($sq_ti_id)"/> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3089 <dc:context> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3090 <dc:comment> data at measurement stations </dc:comment> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3091 <dc:statement> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3092 SELECT DISTINCT |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3093 sl.id AS slid, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3094 slk.kind AS kind, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3095 ti.start_time AS startyear, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3096 ti.stop_time AS endyear, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3097 gf.name AS fraction |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3098 FROM sediment_load sl |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3099 JOIN sediment_load_kinds slk ON slk.id = sl.kind |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3100 JOIN sediment_load_values slv |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3101 ON sl.id = slv.sediment_load_id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3102 JOIN measurement_station ms |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3103 ON ms.id = slv.measurement_station_id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3104 JOIN rivers r ON ms.river_id = r.id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3105 JOIN time_intervals ti ON sl.time_interval_id = ti.id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3106 JOIN grain_fraction gf ON gf.id = sl.grain_fraction_id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3107 WHERE r.id = ${river_id} |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3108 AND sq_time_interval_id = ${sq_time_id} |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3109 AND ms.station BETWEEN ${fromkm} AND ${tokm} |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3110 AND slk.kind = 'official' |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3111 </dc:statement> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3112 <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
|
3113 <dc:call-macro name="loads"> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3114 <dc:call-macro name="load"/> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3115 </dc:call-macro> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3116 </dc:call-macro> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3117 </dc:context> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3118 <dc:context> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3119 <dc:comment> longitudinal sections </dc:comment> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3120 <dc:statement> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3121 SELECT DISTINCT |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3122 sl.id AS slid, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3123 slk.kind AS kind, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3124 ti.start_time AS startyear, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3125 ti.stop_time AS endyear, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3126 sq_time_interval_id AS sqid, |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3127 gf.name AS fraction |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3128 FROM sediment_load_ls sl |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3129 JOIN sediment_load_kinds slk ON slk.id = sl.kind |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3130 JOIN rivers r ON sl.river_id = r.id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3131 JOIN sediment_load_ls_values slv |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3132 ON sl.id = slv.sediment_load_ls_id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3133 JOIN time_intervals ti ON sl.time_interval_id = ti.id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3134 JOIN grain_fraction gf ON gf.id = sl.grain_fraction_id |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3135 WHERE r.id = ${river_id} |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3136 AND sq_time_interval_id = ${sq_time_id} |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3137 AND slv.station BETWEEN ${fromkm} AND ${tokm} |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3138 AND slk.kind = 'official' |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3139 </dc:statement> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3140 <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
|
3141 <dc:call-macro name="loads"> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3142 <dc:call-macro name="load_ls"/> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3143 </dc:call-macro> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3144 </dc:call-macro> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3145 </dc:context> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3146 </dc:macro> |
a65afd85d516
Suggestion: Load official epochs via recommendations instead of a pseudo-calculation.
Tom Gottfried <tom@intevation.de>
parents:
8222
diff
changeset
|
3147 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3148 <!-- Common stuff --> |
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="km-filtered-wsts"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3151 <dc:context connection="system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3152 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3153 SELECT w.kind AS kind, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3154 w.id AS wst_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3155 wc.id AS wst_column_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3156 wc.position AS wst_column_position, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3157 wc.description AS info, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3158 w.description AS wst_description, |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3159 COALESCE(wc.name, '') AS wst_column_name, |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3160 wr.a AS deffrom, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3161 wr.b AS defto |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3162 FROM wst_columns wc |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3163 JOIN wsts w ON wc.wst_id = w.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3164 JOIN wst_ranges wr ON wc.id = wr.wst_column_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3165 WHERE w.river_id = ${river_id} AND |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3166 NOT((${tokm} < wr.a) or (${fromkm} > wr.b)) |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3167 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3168 <dc:macro-body/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3169 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3170 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3171 |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3172 <dc:macro name="all-user-artifacts"> |
6072
8320eb8ed8c8
meta-data.xml: Wrap user-content in user-range to use 'range intelligence'.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6071
diff
changeset
|
3173 <dc:context connection="user"> |
6655
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3174 <dc:comment>Select collections and masterartifacts. |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3175 XXX: The cast is a quick hack because the ld_* values are |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3176 now TEXT fields. To properly fix / asses the problems here |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3177 an SLT evaluation is needed. |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3178 </dc:comment> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3179 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3180 SELECT c.name AS collection_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3181 ma.id AS a_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3182 ma.state AS a_state, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3183 ma.gid AS a_gid, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3184 ma.creation AS a_creation, |
6655
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3185 CAST(COALESCE(ma.ld_mode, '') AS VARCHAR(255)) AS ld_m, |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3186 CAST(COALESCE(ma.ld_locations, '') AS VARCHAR(255)) AS ld_l, |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3187 CAST(COALESCE(ma.ld_from, '') AS VARCHAR(255)) AS ld_f, |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
3188 CAST(COALESCE(ma.ld_to, '') AS VARCHAR(255)) AS ld_t, |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3189 o.name AS out_name, |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3190 o.id AS out_id, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3191 f.name AS facet_name, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3192 f.num AS facet_num, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3193 f.description AS facet_description, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3194 f.id AS fid |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3195 FROM users u |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3196 JOIN collections c ON c.user_id = u.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3197 JOIN master_artifacts_range ma ON ma.collection_id = c.id |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3198 JOIN outs o ON o.artifact_id = ma.id |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
3199 JOIN facets f ON f.out_id = o.id |
6070
cd8f77794a03
meta-data.xml: Fix query, select on user-id not collection-id.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6069
diff
changeset
|
3200 WHERE u.gid = CAST(${user-id} AS UUID) |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3201 AND ma.gid <> CAST(${artifact-id} AS uuid) |
7425
ce390ccf14a4
meta-data.xml: Exclude empty.facet s.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7424
diff
changeset
|
3202 AND f.name NOT LIKE '%empty.facet%' |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3203 AND EXISTS ( |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3204 SELECT id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3205 FROM artifact_data ad |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3206 WHERE ad.artifact_id = ma.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3207 AND k = 'river' |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3208 AND v = ${river}) |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3209 </dc:statement> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3210 <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
|
3211 <dc:virtual-column name="defto" type="number" expr="dc:toValue($ld_m, $ld_l, $ld_t)"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3212 <dc:macro-body/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3213 </dc:virtual-column> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3214 </dc:virtual-column> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3215 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3216 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3217 |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3218 <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
|
3219 <dc:comment> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
3220 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
|
3221 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
|
3222 </dc:comment> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
3223 <dc:filter expr="not($deffrom > $tokm or $defto < $fromkm) or |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
3224 starts-with($facet_name, 'sq_')"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3225 <dc:macro-body/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3226 </dc:filter> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3227 </dc:macro> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
3228 |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
3229 <dc:macro name="artifact-range"> |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
3230 <dc:variable name="fromkm" type="number" expr="dc:fromValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_from'))"/> |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
3231 <dc:variable name="tokm" type="number" expr="dc:toValue(dc:get('ld_mode'), dc:get('ld_locations'), dc:get('ld_to'))"/> |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
3232 <dc:macro-body/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3233 </dc:macro> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
3234 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
3235 </datacage> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3236 </dc:template> |