Mercurial > dive4elements > river
annotate artifacts/doc/conf/meta-data.xml @ 7359:463cbda8c6e7
Offer total loads in dc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 16 Oct 2013 15:22:18 +0200 |
parents | 59bfda45262b |
children | eb226d788ccf |
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 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
5 <dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
6 User specific part |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
7 ------------------ |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
8 This is a hack because we currently have no way to supress empty |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
9 folders (either in the client or in the datacage). |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
10 </dc:comment> |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
11 <dc:if test="dc:contains($parameters, 'user-id') and |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
12 not(dc:contains($artifact-outs, 'floodmap-hws')) and |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
13 not($current-state-id = 'state.winfo.uesk.dgm')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
14 <dc:call-macro name="load-user"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
15 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
16 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
17 <dc:call-macro name="load-system"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
18 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
19 <dc:macro name="load-system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
20 <dc:context connection="system"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
21 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
22 SELECT id AS river_id, name AS river_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
23 FROM rivers |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
24 WHERE lower(name) LIKE lower(${river}) |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
25 </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
|
26 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
27 <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
|
28 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
29 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
30 </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
|
31 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
32 <dc:macro name="load-user"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
33 <old_calculations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
34 <dc:call-macro name="generate-user-content"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
35 </old_calculations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
36 </dc:macro> |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
37 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
38 <dc:macro name="generate-system-content"> |
6653
ca80f61370ab
Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents:
6650
diff
changeset
|
39 <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
|
40 <dc:call-macro name="artifact-range"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
41 <dc:call-macro name="km-filtered-wsts"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
42 <dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
43 <dc:when test="dc:contains($parameters, 'recommended')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
44 <dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
45 Recommendations (client shall load immediately). |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
46 </dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
47 <dc:iterate var="out" container="artifact-outs"> |
6653
ca80f61370ab
Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents:
6650
diff
changeset
|
48 <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
|
49 <dc:choose> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
50 <dc:when test="$out = 'w_differences'"> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
51 <dc:call-macro name="annotations"/> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
52 </dc:when> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
53 <dc:when test="$out = 'discharge_longitudinal_section'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
54 <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
|
55 <dc:call-macro name="officiallines_user"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
56 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
57 <dc:when test="$out = 'historical_discharge_wq'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
58 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
59 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
60 <dc:when test="$out = 'cross_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
61 <dc:call-macro name="cross_sections"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
62 <dc:call-macro name="hyks"/> |
6495
d1d503584d34
added recommendation for official lines in cross sections
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6456
diff
changeset
|
63 <dc:call-macro name="officiallines_user"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
64 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
65 <dc:when test="$out = 'discharge_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
66 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
67 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
68 <dc:when test="$out = 'computed_discharge_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
69 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
70 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
71 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
72 <dc:when test="$out = 'duration_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
73 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
74 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
75 <dc:when test="$out = 'reference_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
76 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
77 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
78 <dc:when test="$out = 'fix_wq_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
79 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
80 <dc:call-macro name="qsectors"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
81 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
82 <dc:when test="$out = 'longitudinal_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
83 <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
|
84 <dc:call-macro name="officiallines_user"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
85 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
86 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
87 <dc:call-macro name="annotations"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
88 </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
|
89 <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
|
90 <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
|
91 </dc:when> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
92 <dc:when test="$out = 'bed_difference_epoch'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
93 <dc:call-macro name="annotations"/> |
6565
7facf38edc61
Show (csv-)waterlevel in beddiff-datacages.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6495
diff
changeset
|
94 <dc:call-macro name="basedata_6_delta_w"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
95 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
96 <dc:when test="$out = 'bed_difference_year'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
97 <dc:call-macro name="annotations"/> |
6565
7facf38edc61
Show (csv-)waterlevel in beddiff-datacages.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6495
diff
changeset
|
98 <dc:call-macro name="basedata_6_delta_w"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
99 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
100 <dc:when test="$out = 'bed_difference_height_year'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
101 <dc:call-macro name="annotations"/> |
6565
7facf38edc61
Show (csv-)waterlevel in beddiff-datacages.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6495
diff
changeset
|
102 <dc:call-macro name="basedata_6_delta_w"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
103 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
104 <dc:when test="$out = 'floodmap'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
105 <dc:call-macro name="flood-map-recommended"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
106 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
107 <dc:when test="$out = 'floodmap-hws'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
108 <dc:call-macro name="flood-map-recommended"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
109 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
110 <dc:when test="$out = 'minfo-heights'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
111 <dc:call-macro name="minfo-heights"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
112 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
113 <dc:when test="$out = 'minfo-heights-epoch'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
114 <bedheights> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
115 <dc:call-macro name="bed-heights-epoch"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
116 </bedheights> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
117 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
118 <dc:when test="$out = 'sedimentload_ls'"> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
119 <dc:call-macro name="annotations"/> |
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
120 </dc:when> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
121 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
122 </dc:iterate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
123 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
124 <dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
125 <dc:comment> |
7303
cb3238edf0ee
Comment in meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7294
diff
changeset
|
126 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
|
127 </dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
128 <dc:iterate var="out" container="artifact-outs"> |
6653
ca80f61370ab
Add some useful debug output.
Andre Heinecke <aheinecke@intevation.de>
parents:
6650
diff
changeset
|
129 <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
|
130 <dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
131 <dc:when test="$out = 'cross_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
132 <dc:call-macro name="basedata_0"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
133 <dc:call-macro name="basedata_1_additionals"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
134 <dc:call-macro name="basedata_2_fixations"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
135 <dc:call-macro name="basedata_3_officials"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
136 <dc:call-macro name="basedata_4_heightmarks-points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
137 <dc:call-macro name="cross_sections"/> |
6075
b121b865907d
issue954/2: Flood- Protections in Cross-Sections Datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6073
diff
changeset
|
138 <dc:call-macro name="basedata_5_flood-protections"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
139 <dc:call-macro name="hyks"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
140 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
141 <dc:when test="$out = 'longitudinal_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
142 <dc:call-macro name="longitudinal-section-prototype"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
143 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
144 <dc:when test="$out = 'w_differences'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
145 <dc:call-macro name="longitudinal-section-prototype"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
146 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
147 <dc:when test="$out = 'discharge_longitudinal_section'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
148 <dc:call-macro name="longitudinal-section-prototype"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
149 </dc:when> |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
150 <dc:when test="$out = 'historical_discharge_wq'"> |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
151 <dc:call-macro name="discharge-curve-prototype"/> |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
152 <dc:call-macro name="basedata_5_flood-protections"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
153 <dc:call-macro name="basedata_0"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
154 <dc:call-macro name="basedata_1_additionals"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
155 <dc:call-macro name="basedata_4_heightmarks-points"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
156 <computed_discharge_curve> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
157 <dc:call-macro name="mainvalues"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
158 </computed_discharge_curve> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
159 </dc:when> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
160 <dc:when test="$out = 'discharge_curve'"> |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
161 <dc:call-macro name="discharge-curve-prototype"/> |
7276
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
162 <dc:call-macro name="basedata_1_additionals_wq"/> |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
163 <dc:call-macro name="basedata_5_flood-protections"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
164 <computed_discharge_curve> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
165 <dc:call-macro name="mainvalues"/> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
166 </computed_discharge_curve> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
167 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
168 <dc:when test="$out = 'duration_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
169 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
170 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
171 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
172 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
173 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
174 <dc:when test="$out = 'reference_curve'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
175 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
176 <dc:call-macro name="annotations"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
177 <dc:call-macro name="basedata_1_additionals-relative_point"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
178 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
179 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
180 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
181 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
182 <dc:when test="$out = 'fix_wq_curve'"> |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
183 <dc:call-macro name="discharge-curve-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
184 <dc:call-macro name="basedata_1_additionals_marks"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
185 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
186 <dc:call-macro name="basedata_3_officials"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
187 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
188 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
189 <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
|
190 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
191 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
192 <dc:when test="$out = 'map'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
193 <dc:call-macro name="flood-map-complete"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
194 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
195 <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
|
196 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
197 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
198 <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
|
199 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
200 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
201 <dc:when test="$out = '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
|
202 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
203 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
204 <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
|
205 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
206 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
207 <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
|
208 <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
|
209 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
210 <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
|
211 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
212 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
213 <dc:when test="$out = 'bed_difference_epoch'"> |
7230
4baa0020ff69
issue1345: adjust dc-conf for befheight-diffs: is now longitudinal-section-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7229
diff
changeset
|
214 <dc:call-macro name="longitudinal-section-prototype"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
215 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
216 <dc:when test="$out = 'floodmap'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
217 <dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
218 <dc:when test="dc:contains($parameters, 'dem')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
219 <dc:call-macro name="flood-map-dem"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
220 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
221 <dc:when test="dc:contains($parameters, 'hws')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
222 <hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
223 <dc:call-macro name="flood-map-hws-lines"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
224 <dc:call-macro name="flood-map-hws-points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
225 </hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
226 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
227 <dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
228 <dc:call-macro name="flood-map-complete"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
229 </dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
230 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
231 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
232 <dc:when test="$out = 'floodmap-hws'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
233 <dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
234 <dc:when test="dc:contains($parameters, 'dem')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
235 <dc:call-macro name="flood-map-dem"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
236 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
237 <dc:when test="dc:contains($parameters, 'hws')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
238 <hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
239 <dc:call-macro name="flood-map-hws-lines"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
240 <dc:call-macro name="flood-map-hws-points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
241 </hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
242 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
243 <dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
244 <dc:call-macro name="flood-map-complete"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
245 </dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
246 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
247 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
248 <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
|
249 <dc:call-macro name="discharge-curve-prototype"/> |
7276
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
250 <dc:call-macro name="basedata_0_wq"/> |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
251 <dc:call-macro name="basedata_1_additionals_wq"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
252 <dc:call-macro name="basedata_5_flood-protections"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
253 <computed_discharge_curve> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
254 <dc:call-macro name="mainvalues"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
255 </computed_discharge_curve> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
256 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
257 <dc:when test="$out = 'minfo-heights'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
258 <dc:call-macro name="minfo-heights"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
259 </dc:when> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
260 <dc:when test="$out = 'minfo-heights-epoch'"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
261 <bedheights> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
262 <dc:call-macro name="bed-heights-epoch"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
263 </bedheights> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
264 </dc:when> |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
265 <dc:when test="$out = 'differenceable'"> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
266 <dc:if test="$current-state-id != 'state.winfo.uesk.wsp'"> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
267 <dc:call-macro name="basedata_0"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
268 <dc:call-macro name="basedata_1_additionals"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
269 <dc:call-macro name="basedata_2_fixations"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
270 <dc:call-macro name="basedata_4_heightmarks-points"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
271 <dc:call-macro name="basedata_5_flood-protections"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
272 <dc:call-macro name="minfo-heights"/> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
273 </dc:if> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
274 </dc:when> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
275 <dc:when test="$out = 'waterlevels'"> |
6099
96b5066ab55e
Datacage: Another variable access fix.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6098
diff
changeset
|
276 <dc:if test="$current-state-id != 'state.winfo.uesk.wsp'"> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
277 <dc:call-macro name="basedata_0"/> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
278 <dc:call-macro name="basedata_1_additionals"/> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
279 <dc:call-macro name="basedata_2_fixations"/> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
280 <dc:call-macro name="basedata_4_heightmarks-points"/> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
281 <dc:call-macro name="basedata_5_flood-protections"/> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
282 </dc:if> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
283 </dc:when> |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
284 <dc:when test="starts-with($out, 'sq_relation')"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
285 <dc:call-macro name="sqrelations"/> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
286 </dc:when> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
287 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
288 </dc:iterate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
289 </dc:otherwise> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
290 </dc:choose> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
291 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
292 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
293 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
294 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
295 <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
|
296 <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
|
297 <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
|
298 <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
|
299 <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
|
300 <dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
301 <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
|
302 <dc:comment> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
303 Recommendations (user) |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
304 </dc:comment> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
305 <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
|
306 <dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
307 <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
|
308 <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
|
309 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
310 </dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
311 </dc:iterate> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
312 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
313 <dc:otherwise> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
314 <dc:comment> |
7303
cb3238edf0ee
Comment in meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7294
diff
changeset
|
315 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
|
316 </dc:comment> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
317 <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
|
318 <dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
319 <dc:when test="$out = 'longitudinal_section'"> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
320 <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
|
321 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
322 <dc:when test="$out = 'discharge_longitudinal_section'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
323 <dc:call-macro name="longitudinal"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
324 <dc:call-macro name="differences"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
325 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
326 <dc:when test="$out = 'w_differences'"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
327 <dc:call-macro name="longitudinal"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
328 <dc:call-macro name="differences"/> |
6620
0bc7d3546470
issue1395: Show bedheight diffs in w-diff datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6615
diff
changeset
|
329 <dc:call-macro name="bedheight_differences"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
330 </dc:when> |
7266
f2db01a3e434
meta-data.xml: Let DC show (yet all) computed discharge curves as former calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7265
diff
changeset
|
331 <dc:when test="$out = 'computed_discharge_curve'"> |
f2db01a3e434
meta-data.xml: Let DC show (yet all) computed discharge curves as former calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7265
diff
changeset
|
332 <dc:call-macro name="computed-discharge-curve"/> |
7267
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
333 <dc:call-macro name="fix-wq-curve"/> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
334 <dc:call-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
|
335 <dc:call-macro name="extreme-wq-curve"/> |
7266
f2db01a3e434
meta-data.xml: Let DC show (yet all) computed discharge curves as former calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7265
diff
changeset
|
336 </dc:when> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
337 <dc:when test="$out = 'fix_deltawt_curve'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
338 <dc:call-macro name="delta-wt"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
339 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
340 <dc:when test="$out = 'reference_curve'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
341 <dc:call-macro name="reference-curves"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
342 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
343 <dc:when test="$out = 'cross_section'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
344 <dc:call-macro name="waterlevels"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
345 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
346 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
347 <dc:call-macro name="longitudinal-section"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
348 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
349 <dc:when test="$out = 'fix_derivate_curve'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
350 <dc:call-macro name="fix-derivate-curve"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
351 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
352 <dc:when test="$out = 'fix_wq_curve'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
353 <dc:call-macro name="fix-wq-curve"/> |
6644
adae55f2a005
Unify duplicated fix-wq-curve case
Andre Heinecke <aheinecke@intevation.de>
parents:
6620
diff
changeset
|
354 <dc:call-macro name="waterlevels-fix"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
355 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
356 <dc:when test="$out = 'duration_curve'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
357 <dc:call-macro name="duration-curve"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
358 </dc:when> |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
359 <dc:when test="$out = 'differenceable'"> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
360 <dc:call-macro name="differenceable-fix"/> |
6588
0388fa73567f
issue1396: Fix (at least partly) the loading of new differences via dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6587
diff
changeset
|
361 <dc:call-macro name="differences"/> |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
362 </dc:when> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
363 <dc:when test="$out = 'waterlevels'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
364 <dc:call-macro name="waterlevels-fix"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
365 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
366 <dc:when test="$out = 'floodmap'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
367 <dc:call-macro name="flood-map"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
368 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
369 <dc:when test="$out = 'map'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
370 <dc:call-macro name="flood-map"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
371 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
372 <dc:when test="$out = 'bedheight_middle'"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
373 <dc:call-macro name="waterlevels-discharge"/> |
6657
e5b3298d4882
fix issue1412: make vollmer-curves functional in middle bedheight diagrams.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6656
diff
changeset
|
374 <dc:call-macro name="differenceable-fix"/> |
6779
8e5adc56385c
offer differences for bedheight-diffs in dc, and bedheight diffs in ls.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6776
diff
changeset
|
375 <dc:call-macro name="differences"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
376 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
377 <dc:when test="$out = 'floodmap-hws'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
378 <dc:call-macro name="floodmap-hws-user"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
379 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
380 <dc:when test="$out = 'flow_velocity'"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
381 <dc:call-macro name="bedquality-bed"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
382 <dc:call-macro name="bedquality-load"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
383 </dc:when> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
384 <dc:when test="$out = 'bed_longitudinal_section'"> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
385 <dc:call-macro name="bedquality-bed"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
386 <dc:call-macro name="bedquality-load"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
387 <dc:call-macro name="bedquality-density"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
388 <dc:call-macro name="bedquality-porosity"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
389 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
390 <dc:when test="$out = 'sedimentload_ls'"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
391 <dc:call-macro name="differences"/> |
6595
61897a2b8283
issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6589
diff
changeset
|
392 <dc:call-macro name="bedheight_differences"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
393 <dc:call-macro name="flow-velocity"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
394 <dc:call-macro name="sediment-load"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
395 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
396 <dc:when test="$out = 'bed_difference_year'"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
397 <dc:call-macro name="waterlevels-discharge"/> |
6595
61897a2b8283
issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6589
diff
changeset
|
398 <dc:call-macro name="bedheight_differences"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
399 <dc:call-macro name="differences"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
400 <dc:call-macro name="waterlevels-fix"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
401 <dc:call-macro name="delta-wt-ls"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
402 </dc:when> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
403 <dc:when test="$out = 'bed_difference_epoch'"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
404 <dc:call-macro name="waterlevels-discharge"/> |
6595
61897a2b8283
issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6589
diff
changeset
|
405 <dc:call-macro name="bedheight_differences"/> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
406 <dc:call-macro name="differences"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
407 <dc:call-macro name="waterlevels-fix"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
408 <dc:call-macro name="delta-wt-ls"/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
409 </dc:when> |
7348
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
410 <dc:when test="starts-with($out, 'sq_relation')"> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
411 <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
|
412 </dc:when> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
413 </dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
414 </dc:iterate> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
415 </dc:otherwise> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
416 </dc:choose> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
417 </dc:call-macro> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
418 </dc:call-macro> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
419 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
420 </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
|
421 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
422 <!-- Macros to load user data --> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
423 |
6110
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
424 <dc:macro name="differences"> |
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
425 <dc:filter expr="$facet_name = 'w_differences'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
426 <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
|
427 <differences> |
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
428 <dc:for-each> |
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
429 <w_differences |
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
430 description="{$facet_description}" |
6588
0388fa73567f
issue1396: Fix (at least partly) the loading of new differences via dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6587
diff
changeset
|
431 factory="winfo" |
0388fa73567f
issue1396: Fix (at least partly) the loading of new differences via dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6587
diff
changeset
|
432 target_out="{$out}" |
0388fa73567f
issue1396: Fix (at least partly) the loading of new differences via dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6587
diff
changeset
|
433 artifact-id="{$a_gid}" |
0388fa73567f
issue1396: Fix (at least partly) the loading of new differences via dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6587
diff
changeset
|
434 ids="{$facet_num}" |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
435 out="w_differences"/> |
6110
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
436 </dc:for-each> |
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
437 </differences> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
438 </dc:if> |
6110
5ba28b563614
Fix datacage for user data by adding facet filtering.
Andre Heinecke <aheinecke@intevation.de>
parents:
6099
diff
changeset
|
439 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
440 </dc:macro> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
441 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
442 <dc:macro name="reference-curves"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
443 <dc:filter expr="$facet_name = 'reference_curve'"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
444 <dc:if test="dc:has-result()"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
445 <reference_curves> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
446 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
447 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
448 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
449 <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
|
450 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
451 <dc:attribute name="artifact-id" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
452 <dc:attribute name="ids" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
453 <dc:attribute name="out" value="reference_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
454 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
455 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
456 </reference_curves> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
457 </dc:if> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
458 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
459 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
460 |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
461 |
6717
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
462 <dc:macro name="historical_discharge_curve"> |
6849
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
463 <dc:variable name="refgauge" type="number" expr="$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
|
464 <dc:context> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
465 <dc:statement> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
466 SELECT g.id AS gauge_id, |
6849
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
467 g.name AS gauge_name, |
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
468 dt.id AS dt_id, |
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
469 t.start_time AS start_time, |
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
470 t.stop_time AS stop_time, |
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
471 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
|
472 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
|
473 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
|
474 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
|
475 WHERE g.river_id = ${river_id} |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
476 AND dt.kind <> 0 |
6849
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
477 AND ((g.station = ${fromkm} AND g.station = ${tokm}) |
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
478 OR g.official_number = ${refgauge}) |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
479 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
|
480 </dc:statement> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
481 <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
|
482 <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
|
483 <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
|
484 <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
|
485 <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
|
486 <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
|
487 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
|
488 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
|
489 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
|
490 </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
|
491 </dc:group> |
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
492 </historical_discharge_curves> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
493 </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
|
494 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
495 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
496 |
6691
f41ba63e7a43
issue1391: Unify datacage elements in discharge curve outs and add historical discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6690
diff
changeset
|
497 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
498 <dc:macro name="flood-map"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
499 <dc:filter expr="$facet_name = 'floodmap.wsplgen'"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
500 <dc:if test="dc:has-result()"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
501 <floodmap> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
502 <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
|
503 <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
|
504 <dc:element name="${facet_name}"> |
6237
d961b6d0237e
Fix uesk description for issue 770
Andre Heinecke <aheinecke@intevation.de>
parents:
6226
diff
changeset
|
505 <dc:attribute name="description" value="${combined_desc}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
506 <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
|
507 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
508 <dc:attribute name="artifact-id" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
509 <dc:attribute name="ids" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
510 <dc:attribute name="out" value="floodmap"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
511 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
512 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
513 </floodmap> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
514 </dc:if> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
515 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
516 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
517 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
518 <dc:macro name="waterlevels"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
519 <dc:filter expr="$out_name = 'cross_section'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
520 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
521 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
522 <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
|
523 <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
|
524 <longitudinal_section_columns description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
525 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
526 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
527 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
528 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
529 <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
|
530 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
531 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
532 <dc:attribute name="out" value="cross_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
533 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
534 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
535 </longitudinal_section_columns> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
536 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
537 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
538 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
539 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
540 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
541 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
542 <dc:macro name="longitudinal"> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
543 <dc:filter expr="$out_name = 'longitudinal_section'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
544 <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
|
545 <waterlevels_ls> |
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
546 <dc:group expr="concat($river, ' ', 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
|
547 <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
|
548 <longitudinal_section_columns description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
549 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
550 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
551 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
552 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
553 <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
|
554 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
555 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
556 <dc:attribute name="out" value="longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
557 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
558 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
559 </longitudinal_section_columns> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
560 </dc:group> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
561 </waterlevels_ls> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
562 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
563 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
564 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
565 |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
566 <dc:macro name="longitudinal-section-fix"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
567 <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
|
568 (starts-with($facet_name, 'fix_deviation_ls') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
569 starts-with($facet_name, 'fix_sector_average_ls') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
570 starts-with($facet_name, 'fix_analysis_events_ls') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
571 starts-with($facet_name, 'fix_reference_events_ls'))"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
572 <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
|
573 <waterlevels_fix> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
574 <dc:group expr="concat($river, ' ', 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
|
575 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
576 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
577 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
578 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
579 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
580 <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
|
581 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
582 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
583 <dc:attribute name="out" value="fix_longitudinal_section_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
584 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
585 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
586 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
587 </dc:group> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
588 </waterlevels_fix> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
589 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
590 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
591 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
592 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
593 <dc:macro name="delta-wt"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
594 <dc:filter expr="$out_name = 'fix_deltawt_curve' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
595 ($facet_name = 'fix_analysis_events_dwt' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
596 $facet_name = 'fix_analysis_periods_dwt' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
597 $facet_name = 'fix_reference_events_dwt' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
598 starts-with($facet_name, 'fix_deviation_dwt') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
599 starts-with($facet_name, 'fix_sector_average_dwt'))"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
600 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
601 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
602 <dc:group expr="concat($river, ' ', 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
|
603 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
604 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
605 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
606 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
607 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
608 <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
|
609 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
610 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
611 <dc:attribute name="out" value="fix_deltawt_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
612 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
613 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
614 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
615 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
616 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
617 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
618 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
619 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
620 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
621 <dc:macro name="delta-wt-ls"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
622 <dc:filter expr="$out_name = 'fix_deltawt_curve' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
623 (starts-with($facet_name, 'fix_sector_average_dwt') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
624 starts-with($facet_name, 'fix_deviation_dwt'))"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
625 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
626 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
627 <dc:group expr="concat($river, ' ', 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
|
628 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
629 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
630 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
631 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
632 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
633 <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
|
634 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
635 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
636 <dc:attribute name="out" value="fix_deltawt_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
637 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
638 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
639 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
640 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
641 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
642 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
643 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
644 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
645 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
646 <dc:macro name="fix-derivate-curve"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
647 <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
|
648 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
649 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
650 <dc:group expr="concat($river, ' ', 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
|
651 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
652 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
653 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
654 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
655 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
656 <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
|
657 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
658 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
659 <dc:attribute name="out" value="fix_derivate_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
660 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
661 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
662 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
663 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
664 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
665 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
666 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
667 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
668 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
669 <dc:macro name="fix-wq-curve"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
670 <dc:filter expr="$out_name = 'fix_wq_curve' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
671 (starts-with($facet_name, 'fix_analysis_events_wq') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
672 starts-with($facet_name, 'fix_reference_events_wq') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
673 starts-with($facet_name, 'fix_sector_average_wq') or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
674 $facet_name = 'fix_wq_curve')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
675 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
676 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
677 <dc:group expr="concat($river, ' ', 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
|
678 <waterlevels description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
679 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
680 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
681 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
682 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
683 <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
|
684 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
685 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
686 <dc:attribute name="out" value="fix_wq_curve"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
687 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
688 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
689 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
690 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
691 </waterlevels> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
692 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
693 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
694 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
695 |
7267
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
696 |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
697 <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
|
698 <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
|
699 <dc:if test="dc:has-result()"> |
7269 | 700 <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
|
701 <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
|
702 <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
|
703 <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
|
704 <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
|
705 <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
|
706 <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
|
707 <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
|
708 <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
|
709 </dc:element> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
710 </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
|
711 </discharge_curves> |
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> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
713 </dc:filter> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
714 </dc:macro> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
715 |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
716 <dc:macro name="extreme-wq-curve"> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
717 <dc:filter expr="$facet_name = 'extreme_wq_curve'"> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
718 <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
|
719 <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
|
720 <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
|
721 <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
|
722 <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
|
723 <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
|
724 <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
|
725 <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
|
726 <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
|
727 <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
|
728 </dc:element> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
729 </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
|
730 </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
|
731 </dc:if> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
732 </dc:filter> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
733 </dc:macro> |
171c8b0cffca
meta-data.xml: Add more entries to discharge datacage ('user-part').
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7266
diff
changeset
|
734 |
7264
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
735 <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
|
736 <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
|
737 <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
|
738 <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
|
739 <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
|
740 <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
|
741 <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
|
742 <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
|
743 <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
|
744 <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
|
745 <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
|
746 <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
|
747 </dc:element> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
748 </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
|
749 </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
|
750 </dc:if> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
751 </dc:filter> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
752 </dc:macro> |
36fa4c752009
meta-data.xml: Add a macro to load previous discharge calculations.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7236
diff
changeset
|
753 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
754 <dc:macro name="duration-curve"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
755 <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
|
756 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
757 <computed_discharge_curves> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
758 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
759 <dc:element name="${facet_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
760 <dc:attribute name="description" value="${facet_description}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
761 <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
|
762 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
763 <dc:attribute name="artifact-id" value="${a_id}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
764 <dc:attribute name="ids" value="${a_id}"/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
765 <dc:attribute name="out" value="duration_curve"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
766 </dc:element> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
767 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
768 </computed_discharge_curves> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
769 </dc:if> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
770 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
771 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
772 |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
773 <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
|
774 <dc:macro name="waterlevels-fix"> |
6324
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
775 <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
|
776 (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
|
777 <dc:if test="dc:has-result()"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
778 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
779 <dc:group expr="concat($river, ' ', 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
|
780 <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
|
781 <dc:for-each> |
6324
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
782 <dc:choose> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
783 <dc:when test="$ld_m = 'location'"> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
784 <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
|
785 </dc:when> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
786 <dc:otherwise> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
787 <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
|
788 $deffrom, ' bis KM ', $defto)"/> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
789 </dc:otherwise> |
3cf9e82b9c75
Add location handling in waterlevels-fix macro
Andre Heinecke <aheinecke@intevation.de>
parents:
6318
diff
changeset
|
790 </dc:choose> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
791 <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
|
792 <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
|
793 <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
|
794 <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
|
795 <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
|
796 <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
|
797 <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
|
798 </dc:element> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
799 </dc:for-each> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
800 </waterlevels> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
801 </dc:group> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
802 </waterlevels> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
803 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
804 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
805 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
806 |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
807 <dc:comment comment="For building differences." /> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
808 <dc:macro name="differenceable-fix"> |
6615
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
809 <dc:comment> |
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
810 No diffs between beddiffs and others, for now. |
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
811 <beddifferences> |
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
812 <dc:call-macro name="bedheight_differences"/> |
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
813 </beddifferences> |
61dc90b2fbe2
Do not show beddifferences in dc that lets select for differences.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6598
diff
changeset
|
814 </dc:comment> |
6587
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
815 <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
|
816 <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
|
817 <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
|
818 <vollmer_waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
819 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
820 <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
|
821 <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
|
822 <dc:choose> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
823 <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
|
824 <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
|
825 </dc:when> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
826 <dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
827 <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
|
828 $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
|
829 </dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
830 </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
|
831 <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
|
832 <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
|
833 <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
|
834 <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
|
835 <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
|
836 <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
|
837 <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
|
838 </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
|
839 </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
|
840 </waterlevels> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
841 </dc:group> |
6587
d553c4a1829d
issue1394: Prevent display of empty paths in DC tree (vollmer and waterlevels).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6581
diff
changeset
|
842 </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
|
843 </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
|
844 </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
|
845 <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
|
846 (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
|
847 <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
|
848 <waterlevels> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
849 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> |
6581
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
850 <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
|
851 <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
|
852 <dc:choose> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
853 <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
|
854 <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
|
855 </dc:when> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
856 <dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
857 <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
|
858 $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
|
859 </dc:otherwise> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
860 </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
|
861 <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
|
862 <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
|
863 <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
|
864 <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
|
865 <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
|
866 <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
|
867 <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
|
868 </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
|
869 </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
|
870 </waterlevels> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
871 </dc:group> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
872 </waterlevels> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
873 </dc:if> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
874 </dc:filter> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
875 </dc:macro> |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
876 |
5f0e3e9cf6f3
issue1394: meta-data.xml: Add DC-Config for (pseudo-)out "differenceable".
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6572
diff
changeset
|
877 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
878 <dc:macro name="floodmap-hws-user"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
879 <dc:comment>No grouping in this?</dc:comment> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
880 <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
|
881 <own-hws> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
882 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
883 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
884 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
885 <dc:attribute name="ids" value="${facet_num}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
886 <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
|
887 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
888 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
889 <dc:attribute name="out" value="floodmap"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
890 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
891 </dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
892 </own-hws> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
893 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
894 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
895 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
896 <dc:macro name="bedquality-bed"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
897 <dc:filter expr="$out_name = 'bed_longitudinal_section' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
898 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
899 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
900 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
901 <bed_quality_bed> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
902 <dc:group expr="concat($river, ' ', 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
|
903 <quality-bed description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
904 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
905 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
906 <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
|
907 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
908 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
909 <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
|
910 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
911 <dc:attribute name="out" value="bed_longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
912 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
913 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
914 </quality-bed> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
915 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
916 </bed_quality_bed> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
917 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
918 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
919 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
920 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
921 <dc:macro name="bedquality-load"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
922 <dc:filter expr="$out_name = 'bed_longitudinal_section' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
923 $facet_name = 'bed_longitudinal_section.bedload_diameter'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
924 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
925 <bed_quality_load> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
926 <dc:group expr="concat($river, ' ', 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
|
927 <quality-load description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
928 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
929 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
930 <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
|
931 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
932 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
933 <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
|
934 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
935 <dc:attribute name="out" value="bed_longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
936 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
937 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
938 </quality-load> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
939 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
940 </bed_quality_load> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
941 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
942 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
943 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
944 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
945 <dc:macro name="bedquality-density"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
946 <dc:filter expr="$out_name = 'bed_longitudinal_section' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
947 ($facet_name = 'bed_longitudinal_section.sediment_density_toplayer' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
948 $facet_name = 'bed_longitudinal_section.sediment_density_sublayer')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
949 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
950 <bed_quality_density> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
951 <dc:group expr="concat($river, ' ', 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
|
952 <density description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
953 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
954 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
955 <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
|
956 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
957 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
958 <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
|
959 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
960 <dc:attribute name="out" value="bed_longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
961 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
962 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
963 </density> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
964 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
965 </bed_quality_density> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
966 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
967 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
968 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
969 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
970 <dc:macro name="bedquality-porosity"> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
971 <dc:filter expr="$out_name = 'bed_longitudinal_section' and |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
972 ($facet_name = 'bed_longitudinal_section.porosity_toplayer' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
973 $facet_name = 'bed_longitudinal_section.porosity_sublayer')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
974 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
975 <bed_quality_porosity> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
976 <dc:group expr="concat($river, ' ', 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
|
977 <porosity description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
978 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
979 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
980 <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
|
981 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
982 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
983 <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
|
984 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
985 <dc:attribute name="out" value="bed_longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
986 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
987 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
988 </porosity> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
989 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
990 </bed_quality_porosity> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
991 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
992 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
993 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
994 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
995 <dc:macro name="flow-velocity"> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
996 <dc:filter expr="$out_name = 'flow_velocity' and |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
997 ($facet_name = 'flow_velocity.totalchannel' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
998 $facet_name = 'flow_velocity.mainchannel' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
999 $facet_name = 'flow_velocity.totalchannel.filtered' or |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1000 $facet_name = 'flow_velocity.mainchannel.filtered')"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1001 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1002 <flow-velocity> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
1003 <dc:group expr="concat($river, ' ', 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
|
1004 <flow description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1005 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1006 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1007 <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
|
1008 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1009 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1010 <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
|
1011 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
1012 <dc:attribute name="out" value="flow_velocity"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1013 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1014 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1015 </flow> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1016 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1017 </flow-velocity> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1018 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
1019 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1020 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1021 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1022 <dc:macro name="sediment-load"> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
1023 <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
|
1024 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1025 <sediment-load> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
1026 <dc:group expr="concat($river, ' ', 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
|
1027 <load description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1028 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1029 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1030 <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
|
1031 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1032 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1033 <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
|
1034 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
1035 <dc:attribute name="out" value="sedimentload_ls"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1036 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1037 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1038 </load> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1039 </dc:group> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1040 </sediment-load> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1041 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
1042 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1043 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1044 |
6595
61897a2b8283
issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6589
diff
changeset
|
1045 <dc:macro name="bedheight_differences"> |
6638
f4872350b50f
Backed out changeset 1a7f5d09b9d8
Tom Gottfried <tom@intevation.de>
parents:
6518
diff
changeset
|
1046 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_epoch') and |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1047 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.epoch'))"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1048 <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
|
1049 <bedheight_differences> |
6654
6f42a62d0cf2
Add zero padding to minutes and seconds of a_creation times
Andre Heinecke <aheinecke@intevation.de>
parents:
6653
diff
changeset
|
1050 <dc:group expr="concat($river, ' ', 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
|
1051 <difference description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1052 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1053 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1054 <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
|
1055 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1056 <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
|
1057 <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
|
1058 <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
|
1059 <dc:attribute name="out" value="${out_name}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1060 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1061 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1062 </difference> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1063 </dc:group> |
6595
61897a2b8283
issue1395: Renamed bedheight-differences macro, call it from wdiff DC context.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6589
diff
changeset
|
1064 </bedheight_differences> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1065 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
1066 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1067 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1068 |
7348
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1069 <dc:macro name="sqrelations_user"> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1070 <dc:filter expr=" |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1071 ($out = 'sq_relation_a' and starts-with($facet_name, 'sq_a')) or |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1072 ($out = 'sq_relation_b' and starts-with($facet_name, 'sq_b')) or |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1073 ($out = 'sq_relation_c' and starts-with($facet_name, 'sq_c')) or |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1074 ($out = 'sq_relation_d' and starts-with($facet_name, 'sq_d')) or |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1075 ($out = 'sq_relation_e' and starts-with($facet_name, 'sq_e')) or |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1076 ($out = 'sq_relation_f' and starts-with($facet_name, 'sq_f'))"> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1077 <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
|
1078 <sq_relations> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1079 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1080 <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
|
1081 <dc:for-each> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1082 <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
|
1083 <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
|
1084 <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
|
1085 <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
|
1086 <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
|
1087 <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
|
1088 <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
|
1089 </dc:element> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1090 </dc:for-each> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1091 </sqrel> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1092 </dc:group> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1093 </sq_relations> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1094 </dc:if> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1095 </dc:filter> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1096 </dc:macro> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
1097 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1098 <dc:macro name="waterlevels-discharge"> |
6656
85ca64599445
meta-data.xml: Partly fix a filter expression (unclodes literal).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6655
diff
changeset
|
1099 <dc:filter expr="$out_name = 'discharge_longitudinal_section' and $facet_name = 'discharge_longitudinal_section.w'"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1100 <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
|
1101 <waterlevels_discharge> |
7328
f044fe2fa258
Fix DC group-by statement, there is no 'oid' variable around.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7327
diff
changeset
|
1102 <dc:group expr="concat($river, ' ', 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
|
1103 <discharge description="{dc:group-key()}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1104 <dc:for-each> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1105 <dc:element name="${facet_name}"> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1106 <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
|
1107 <dc:attribute name="target_out" value="${out}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1108 <dc:attribute name="description" value="${facet_description}"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1109 <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
|
1110 <dc:attribute name="artifact-id" value="${a_gid}"/> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1111 <dc:attribute name="out" value="longitudinal_section"/> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1112 </dc:element> |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1113 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1114 </discharge> |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
1115 </dc:group> |
7332
0ad8ccbd6aa4
Prototypically add longitudinal-section-user-prototype, with issues.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7330
diff
changeset
|
1116 </waterlevels_discharge> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1117 </dc:if> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
1118 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1119 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1120 <!-- Macros to load system data --> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1121 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1122 <dc:macro name="annotations"> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1123 <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
|
1124 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1125 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1126 <dc:macro name="mainvalues"> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1127 <wmainvalue factory="mainvalue" ids="{$river_id}:w" target_out="{$out}" /> |
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1128 <qmainvalue factory="mainvalue" ids="{$river_id}:q" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1129 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1130 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1131 <dc:macro name="cross_sections"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1132 <cross_sections id="flood-protections-{$river_id}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1133 <dc:context connection="system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1134 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1135 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1136 cs.id AS prot_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1137 cs.description AS prot_description |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1138 FROM cross_sections cs |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1139 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
|
1140 WHERE cs.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1141 AND csl.km BETWEEN ${fromkm} AND ${tokm} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1142 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1143 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1144 <cross_section name="{$prot_description}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1145 ids="{$prot_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1146 factory="crosssections" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1147 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1148 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1149 </cross_sections> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1150 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1151 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1152 <dc:macro name="hyks"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1153 <hyks id="hyk-{$river_id}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1154 <dc:context connection="system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1155 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1156 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1157 h.id AS hyk_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1158 h.description AS hyk_description |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1159 FROM hyks h |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1160 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
|
1161 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1162 AND he.km BETWEEN ${fromkm} AND ${tokm} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1163 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1164 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1165 <hyk name="{$hyk_description}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1166 ids="{$hyk_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1167 factory="hyk" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1168 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1169 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1170 </hyks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1171 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1172 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1173 <dc:macro name="fixings-macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1174 <dc:filter expr="$kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1175 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1176 <fixations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1177 <dc:group expr="dc:replace($wst_description, 'Fixierungen/', '')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1178 <fixation name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1179 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1180 <dc:macro-body/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1181 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1182 </fixation> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1183 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1184 </fixations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1185 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1186 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1187 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1188 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1189 <dc:macro name="basedata_2_fixations_wqkms"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1190 <dc:call-macro name="fixings-macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1191 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1192 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
|
1193 factory="wqinterpol" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1194 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1195 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1196 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1197 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1198 <dc:macro name="basedata_2_fixations"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1199 <dc:call-macro name="fixings-macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1200 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1201 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
|
1202 factory="staticwqkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1203 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1204 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1205 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1206 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1207 <dc:macro name="basedata_3_officials"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1208 <dc:filter expr="$kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1209 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1210 <officiallines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1211 <dc:group expr="$wst_description"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1212 <official name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1213 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1214 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1215 ids="additionals-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
|
1216 factory="staticwqkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1217 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1218 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1219 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1220 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1221 </officiallines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1222 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1223 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1224 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1225 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1226 <dc:macro name="basedata_4_heightmarks-points"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1227 <dc:filter expr="$kind=4"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1228 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1229 <heightmarks> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
1230 <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
|
1231 <heightmark name="{dc:group-key()}"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1232 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1233 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1234 ids="heightmarks_points-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
|
1235 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1236 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1237 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1238 </heightmark> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1239 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1240 </heightmarks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1241 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1242 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1243 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1244 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1245 <dc:macro name="basedata_4_heightmarks-points-relative_points"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1246 <dc:filter expr="$kind=4"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1247 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1248 <heightmarks> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
1249 <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
|
1250 <relativepoint name="{dc:group-key()}"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1251 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1252 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1253 ids="heightmarks_points-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
|
1254 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1255 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1256 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1257 </relativepoint> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1258 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1259 </heightmarks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1260 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1261 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1262 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1263 |
7265
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1264 <dc:macro name="discharge-curve-prototype"> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1265 <dc:call-macro name="discharge_table_gauge"/> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1266 <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
|
1267 <dc:call-macro name="basedata_0_wq"/> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1268 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1269 <dc:call-macro name="basedata_4_heightmarks-points"/> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1270 </dc:macro> |
1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7264
diff
changeset
|
1271 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1272 <dc:macro name="longitudinal-section-prototype"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1273 <dc:call-macro name="basedata_0"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1274 <dc:call-macro name="basedata_1_additionals"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1275 <dc:call-macro name="basedata_2_fixations"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1276 <dc:call-macro name="basedata_4_heightmarks-points"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1277 <dc:call-macro name="basedata_3_officials"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1278 <dc:call-macro name="basedata_5_flood-protections"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1279 <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
|
1280 <minfo> |
7329
ed23bfe42b19
issue1345: Bring back waterlevel/diffs from fixation into minfo dc element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7328
diff
changeset
|
1281 <fixanalysis> |
ed23bfe42b19
issue1345: Bring back waterlevel/diffs from fixation into minfo dc element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7328
diff
changeset
|
1282 <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
|
1283 <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
|
1284 </fixanalysis> |
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
|
1285 <dc:call-macro name="yields"/> |
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
|
1286 <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
|
1287 <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
|
1288 <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
|
1289 <dc:call-macro name="morph_width"/> |
7224
aae92f8bf6d1
issue1345: add flowvelocity-macro to winfo longitudinal-section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7223
diff
changeset
|
1290 <dc:call-macro name="flow_velocity_measurements"/> |
7292
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1291 <dc:call-macro name="flow_velocity_models"/> |
7171
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1292 </minfo> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1293 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1294 |
7333
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1295 <dc:macro name="longitudinal-section-user-prototype"> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1296 <dc:call-macro name="longitudinal"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1297 <dc:call-macro name="differences"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1298 <dc:call-macro name="bedheight_differences"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1299 <dc:call-macro name="bedquality-bed"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1300 <dc:call-macro name="bedquality-load"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1301 <dc:call-macro name="flow-velocity"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1302 <dc:call-macro name="sediment-load"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1303 <dc:call-macro name="bedquality-density"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1304 <dc:call-macro name="bedquality-porosity"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1305 <dc:call-macro name="waterlevels-discharge"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1306 <dc:call-macro name="differenceable-fix"/><!-- TODO double entries? --> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1307 <dc:call-macro name="delta-wt-ls"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1308 <dc:call-macro name="longitudinal-section-fix"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1309 <dc:call-macro name="discharge-curve"/> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1310 </dc:macro> |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1311 |
7389fef8905c
Add aforementioned user-prototype.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7332
diff
changeset
|
1312 |
7208
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1313 <dc:macro name="densities"> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1314 <densities> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1315 <dc:context> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1316 <dc:statement> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1317 SELECT DISTINCT |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1318 sd.id AS sdid, |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1319 sd.description AS description, |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1320 d.lower AS depth_lower, |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1321 d.upper AS depth_upper |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1322 FROM sediment_density sd |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1323 JOIN rivers r ON sd.river_id = r.id |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1324 JOIN depths d ON sd.depth_id = d.id |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1325 WHERE r.id = ${river_id} |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1326 </dc:statement> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1327 <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
|
1328 <dc:for-each> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1329 <density description="{$description}" |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1330 factory="sedimentdensity" |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1331 target_out="{$out}" |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1332 info="infome" |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1333 ids="{$sdid}" /> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1334 </dc:for-each> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1335 </dc:if> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1336 </dc:context> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1337 </densities> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1338 </dc:macro> |
b893e1d0ddc7
issue1435: Add densities-macro to meta-data.xml .
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7195
diff
changeset
|
1339 |
7277
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1340 <dc:macro name="one-load"> |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1341 <dc:for-each> |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1342 <dc:variable name="syear" type="string" expr="dc:date-format('yyyy', $year)"/> |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1343 <year description="{$syear}" |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1344 factory="sedimentyield" |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1345 target_out="{$out}" |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1346 info="{$description}" |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1347 ids="{$syid}" /> |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1348 </dc:for-each> |
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1349 </dc:macro> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1350 |
7279
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1351 <dc:macro name="epoch-load"> |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1352 <dc:for-each> |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1353 <dc:variable name="syear" type="string" expr="dc:date-format('yyyy', $startyear)"/> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1354 <dc:variable name="eyear" type="string" expr="dc:date-format('yyyy', $endyear)"/> |
7294
917351b40e6e
issue1345: include fix for display of epochs stoptime.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7292
diff
changeset
|
1355 <year description="{$syear}-{$eyear}" |
7279
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1356 factory="sedimentyield" |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1357 target_out="{$out}" |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1358 info="{$description}" |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1359 ids="{$syid}" /> |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1360 </dc:for-each> |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1361 </dc:macro> |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1362 |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1363 <dc:macro name="loads"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1364 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1365 <dc:filter expr="$fraction='sand'"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1366 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1367 <sand> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1368 <dc:macro-body/> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1369 </sand> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1370 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1371 </dc:filter> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1372 <dc:filter expr="$fraction='fine_middle'"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1373 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1374 <fine_middle> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1375 <dc:macro-body/> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1376 </fine_middle> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1377 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1378 </dc:filter> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1379 <dc:filter expr="$fraction='coarse'"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1380 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1381 <coarse> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1382 <dc:macro-body/> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1383 </coarse> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1384 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1385 </dc:filter> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1386 <dc:filter expr="$fraction='suspended_sediment'"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1387 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1388 <susp_sediment> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1389 <dc:macro-body/> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1390 </susp_sediment> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1391 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1392 </dc:filter> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1393 <dc:filter expr="$fraction='susp_sand'"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1394 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1395 <susp_sand> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1396 <dc:macro-body/> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1397 </susp_sand> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1398 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1399 </dc:filter> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1400 <dc:filter expr="$fraction='susp_sand_bed'"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1401 <dc:if test="dc:has-result()"> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1402 <susp_sand_bed> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1403 <dc:macro-body/> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1404 </susp_sand_bed> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1405 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1406 </dc:filter> |
7359
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1407 <dc:filter expr="$fraction='total'"> |
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1408 <dc:if test="dc:has-result()"> |
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1409 <total_load> |
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1410 <dc:macro-body/> |
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1411 </total_load> |
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1412 </dc:if> |
463cbda8c6e7
Offer total loads in dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7348
diff
changeset
|
1413 </dc:filter> |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1414 </dc:if> |
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1415 </dc:macro> |
7277
0ba4c4fbd410
issue1345: Show fraction and year for sediment load dc subtree.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7276
diff
changeset
|
1416 |
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
|
1417 <dc:macro name="yields"> |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1418 <yields> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1419 <years> |
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
|
1420 <dc:context> |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1421 <dc:statement> |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1422 SELECT DISTINCT |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1423 sy.id AS syid, |
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
|
1424 sy.description AS description, |
7223
2c26a7217732
issue1435: DC layout for sediment-loads more the way its requested.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7218
diff
changeset
|
1425 ti.start_time AS year, |
2c26a7217732
issue1435: DC layout for sediment-loads more the way its requested.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7218
diff
changeset
|
1426 gf.name AS fraction |
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
|
1427 FROM sediment_yield sy |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1428 JOIN rivers r ON sy.river_id = r.id |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1429 JOIN sediment_yield_values syv ON sy.id = syv.sediment_yield_id |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1430 JOIN time_intervals ti ON sy.time_interval_id = ti.id |
7223
2c26a7217732
issue1435: DC layout for sediment-loads more the way its requested.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7218
diff
changeset
|
1431 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id |
7195
c0349b54c604
issue1435: Remove hardcoded river for dc sediment yield sql query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7191
diff
changeset
|
1432 WHERE r.id = ${river_id} |
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
|
1433 AND ti.stop_time IS NULL |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1434 AND syv.station BETWEEN ${fromkm} AND ${tokm} |
7223
2c26a7217732
issue1435: DC layout for sediment-loads more the way its requested.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7218
diff
changeset
|
1435 ORDER BY fraction |
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
|
1436 </dc:statement> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1437 <dc:call-macro name="loads"> |
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1438 <dc:call-macro name="one-load"/> |
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1439 </dc:call-macro> |
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
|
1440 </dc:context> |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1441 </years> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1442 <epochs> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1443 <dc:context> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1444 <dc:statement> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1445 SELECT DISTINCT |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1446 sy.id AS syid, |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1447 sy.description AS description, |
7279
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1448 ti.start_time AS startyear, |
237d5305b1a9
issue1345: Added macro for the differing epoch-description, extended query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7278
diff
changeset
|
1449 ti.stop_time AS endyear, |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1450 gf.name AS fraction |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1451 FROM sediment_yield sy |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1452 JOIN rivers r ON sy.river_id = r.id |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1453 JOIN sediment_yield_values syv ON sy.id = syv.sediment_yield_id |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1454 JOIN time_intervals ti ON sy.time_interval_id = ti.id |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1455 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id |
7195
c0349b54c604
issue1435: Remove hardcoded river for dc sediment yield sql query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7191
diff
changeset
|
1456 WHERE r.id = ${river_id} |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1457 AND ti.stop_time IS NOT NULL |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1458 AND syv.station BETWEEN ${fromkm} AND ${tokm} |
7278
03fa985dd044
issue1345: Minor refactoring, made structure for epoch loads equal year loads.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7277
diff
changeset
|
1459 ORDER BY fraction |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1460 </dc:statement> |
7280
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1461 <dc:call-macro name="loads"> |
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1462 <dc:call-macro name="epoch-load"/> |
2584a114a350
issue1345: Factored out description creation for loads. Make epochs show end time.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7279
diff
changeset
|
1463 </dc:call-macro> |
7191
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1464 </dc:context> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1465 </epochs> |
7bd19eff9bca
issue1435: In DC conf, show sedimentyields in yield/[year|epoch]- structure, i18n.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7190
diff
changeset
|
1466 </yields> |
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
|
1467 </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
|
1468 |
851fc99be4bc
issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7177
diff
changeset
|
1469 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1470 <dc:macro name="basedata_5_flood-protections"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1471 <dc:filter expr="$kind=5"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1472 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1473 <flood_protections> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1474 <dc:group expr="dc:replace($wst_description, 'HW-Schutzanlagen/', '')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1475 <flood_protection name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1476 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1477 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1478 ids="flood_protection-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
|
1479 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1480 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1481 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1482 </flood_protection> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1483 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1484 </flood_protections> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1485 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1486 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1487 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1488 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1489 <dc:macro name="annotations_per_type"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1490 <annotations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1491 <dc:context> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1492 <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
|
1493 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1494 SELECT id AS anno_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1495 name AS anno_description |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1496 FROM annotation_types |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1497 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1498 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1499 <annotation name="{$anno_description}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1500 factory="annotations" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1501 ids="{$river_id}:{$anno_description}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1502 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1503 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1504 </annotations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1505 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1506 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1507 <dc:macro name="basedata_2_fixations_relative_point"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1508 <dc:filter expr="$kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1509 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1510 <fixations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1511 <dc:group expr="dc:replace($wst_description, 'Fixierungen/', '')"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1512 <relativepoint name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1513 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1514 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1515 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
|
1516 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1517 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1518 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1519 </relativepoint> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1520 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1521 </fixations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1522 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1523 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1524 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1525 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1526 <dc:macro name="basedata_5_flood-protections_relative_points"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1527 <dc:filter expr="$kind=5"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1528 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1529 <flood_protections> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1530 <dc:group expr="$wst_description"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1531 <relativepoint name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1532 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1533 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1534 ids="flood_protection-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
|
1535 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1536 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1537 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1538 </relativepoint> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1539 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1540 </flood_protections> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1541 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1542 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1543 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1544 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1545 <dc:macro name="basedata_1_additionals-relative_point"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1546 <dc:filter expr="$kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1547 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1548 <additionals> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1549 <dc:group expr="$wst_description"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1550 <relativepoint name="{dc:group-key()}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1551 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1552 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1553 ids="additionals-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
|
1554 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1555 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1556 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1557 </relativepoint> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1558 </dc:group> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1559 </additionals> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1560 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1561 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1562 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1563 |
7171
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1564 |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1565 <dc:macro name="basedata_7_waterlevels"> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1566 <dc:filter expr="$kind=7"> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1567 <dc:if test="dc:has-result()"> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1568 <wlevel> |
7173
ff4304735ac1
Filter prefix of descriptions of MINFO-WSTs.
Tom Gottfried <tom@intevation.de>
parents:
7172
diff
changeset
|
1569 <dc:group expr="dc:replace($wst_description, 'CSV/', '')"> |
7171
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1570 <relativepoint name="{dc:group-key()}"> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1571 <dc:for-each> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1572 <column name="{$wst_column_name}" |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1573 ids="additionals-wstv-{$wst_column_position}-{$wst_id}" |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1574 factory="staticwqkms" target_out="{$out}" |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1575 info="{$info} [km {$deffrom} - {$defto}]"/> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1576 </dc:for-each> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1577 </relativepoint> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1578 </dc:group> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1579 </wlevel> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1580 </dc:if> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1581 </dc:filter> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1582 </dc:macro> |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1583 |
200ae084909a
issue1435: Group minfo-stuff in dc, include waterlevels from csv.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7021
diff
changeset
|
1584 |
6226
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1585 <dc:macro name="basedata_6_delta_w"> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1586 <dc:filter expr="$kind=6"> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1587 <dc:if test="dc:has-result()"> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1588 <delta_w> |
7174
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1589 <delta_w_cm> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1590 <dc:filter expr="contains($wst_description, 'cm.csv')"> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1591 <dc:group expr="dc:replace($wst_description, 'CSV/', '')"> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1592 <relativepoint name="{dc:group-key()}"> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1593 <dc:for-each> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1594 <column name="{$wst_column_name}" |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1595 ids="delta_w-wstv-{$wst_column_position}-{$wst_id}" |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1596 factory="staticwkms" target_out="{$out}" |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1597 info="{$info} [km {$deffrom} - {$defto}]"/> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1598 </dc:for-each> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1599 </relativepoint> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1600 </dc:group> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1601 </dc:filter> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1602 </delta_w_cm> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1603 <delta_w_cma> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1604 <dc:filter expr="contains($wst_description, 'cm-a.csv')"> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1605 <dc:group expr="dc:replace($wst_description, 'CSV/', '')"> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1606 <relativepoint name="{dc:group-key()}"> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1607 <dc:for-each> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1608 <column name="{$wst_column_name}" |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1609 ids="delta_w-wstv-{$wst_column_position}-{$wst_id}" |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1610 factory="staticwkms" target_out="{$out}" |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1611 info="{$info} [km {$deffrom} - {$defto}]"/> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1612 </dc:for-each> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1613 </relativepoint> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1614 </dc:group> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1615 </dc:filter> |
87a7cdb6ee1e
Filter waterleveldifferences according to unit.
Tom Gottfried <tom@intevation.de>
parents:
7173
diff
changeset
|
1616 </delta_w_cma> |
6226
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1617 </delta_w> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1618 </dc:if> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1619 </dc:filter> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1620 </dc:macro> |
a782693e4d5f
Added wsts with kind=6 (delta W ls) to datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6214
diff
changeset
|
1621 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1622 <dc:macro name="discharge_table_gauge"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1623 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1624 <dc:statement> |
6690
0b0325d1ab7f
issue1391: Fix syntax in gauge macros and add km filtering
Andre Heinecke <aheinecke@intevation.de>
parents:
6657
diff
changeset
|
1625 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
|
1626 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
|
1627 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
|
1628 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
|
1629 FROM gauges g |
6717
71da3d4ffb4a
issue1391: Some more unification fix km filtering for calculated discharges
Andre Heinecke <aheinecke@intevation.de>
parents:
6704
diff
changeset
|
1630 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
|
1631 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
|
1632 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
|
1633 AND dt.kind = 0 |
6849
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
1634 AND ((g.station = ${fromkm} AND g.station = ${tokm}) |
863a67e10c0c
(issue1391) Filter by reference_gauge or by KM
Andre Heinecke <aheinecke@intevation.de>
parents:
6779
diff
changeset
|
1635 OR g.official_number = ${refgauge}) |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1636 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1637 <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
|
1638 <dc:for-each> |
4937dab5ff7a
(issue1391): Build the current discarge curve name as requested
Andre Heinecke <aheinecke@intevation.de>
parents:
6849
diff
changeset
|
1639 <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
|
1640 ids="{$gauge_name}"/> |
4937dab5ff7a
(issue1391): Build the current discarge curve name as requested
Andre Heinecke <aheinecke@intevation.de>
parents:
6849
diff
changeset
|
1641 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1642 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1643 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1644 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1645 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1646 <dc:macro name="qsectors"> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1647 <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
|
1648 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1649 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1650 <dc:macro name="flood-map-recommended"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1651 <kilometrage> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1652 <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
|
1653 </kilometrage> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1654 <rastermap> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1655 <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
|
1656 </rastermap> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1657 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1658 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1659 <dc:macro name="minfo-heights"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1660 <bedheights> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1661 <dc:call-macro name="bed-heights-single"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1662 <dc:call-macro name="bed-heights-epoch"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1663 </bedheights> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1664 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1665 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1666 <dc:macro name="bed-heights-single"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1667 <single> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1668 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1669 <dc:statement> |
7327
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1670 SELECT bhs.id AS bedh_id, |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1671 bhs.year AS bedh_year, |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1672 bhs.description AS bedh_descr, |
7330
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1673 bht.name AS type_name |
7327
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1674 FROM bed_height_single bhs |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1675 JOIN bed_height_type bht ON bht.id = bhs.type_id |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1676 WHERE bhs.river_id = ${river_id} |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1677 AND lower(bhs.description) NOT LIKE '%epoch%' |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1678 </dc:statement> |
7327
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1679 <dc:if test="dc:has-result()"> |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1680 <dc:group expr="$bedh_year"> |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1681 <cross-sections name="{dc:group-key()}"> |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1682 <dc:for-each> |
7330
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1683 <height factory="bedheight" |
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1684 target_out="{$out}" |
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1685 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1686 info="{$type_name}" |
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1687 description="{$bedh_descr}"/> |
7327
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1688 </dc:for-each> |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1689 </cross-sections> |
55d9c184f58c
issue1345: DC: group bed heights of single years by year.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7303
diff
changeset
|
1690 </dc:group> |
7330
cc4477750b09
issue1345: Show bedheight_type in tooltip.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7329
diff
changeset
|
1691 </dc:if> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1692 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1693 </single> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1694 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1695 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1696 <dc:macro name="bed-heights-epoch"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1697 <epoch> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1698 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1699 <dc:statement> |
6214
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1700 SELECT id AS bedh_id, |
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1701 year AS bedh_year, |
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1702 description AS bedh_descr |
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1703 FROM bed_height_single |
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1704 WHERE river_id = ${river_id} |
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1705 AND lower(description) LIKE '%epoch%' |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1706 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1707 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1708 <height factory="bedheight" target_out="{$out}" |
6214
467df391317d
I999: Filter epochs ands single years in datacage config.
Raimund Renkert <rrenkert@intevation.de>
parents:
6183
diff
changeset
|
1709 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1710 description="{$bedh_descr}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1711 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1712 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1713 </epoch> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1714 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1715 |
7292
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1716 <dc:macro name="flow_velocity_models"> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1717 <dc:context> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1718 <dc:statement> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1719 SELECT fvm.id AS fvmid, |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1720 fvm.description AS fvmd |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1721 FROM flow_velocity_model fvm |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1722 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
|
1723 WHERE dz.river_id = ${river_id} |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1724 </dc:statement> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1725 <dc:if test="dc:has-result()"> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1726 <flowvelocitymodel> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1727 <dc:for-each> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1728 <measurement_value name="{$fvmd}" |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1729 ids="{$fvmid}" |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1730 factory="flowvelocitymodel" target_out="{$out}" /> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1731 </dc:for-each> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1732 </flowvelocitymodel> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1733 </dc:if> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1734 </dc:context> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1735 </dc:macro> |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1736 |
8943ab11ed3f
issue1512: Adde flow-velocity-models dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7280
diff
changeset
|
1737 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1738 <dc:macro name="flow_velocity_measurements"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1739 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1740 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1741 SELECT id AS fvmid, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1742 description AS fvmd |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1743 FROM flow_velocity_measurements WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1744 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1745 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1746 <flowvelocitymeasurement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1747 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1748 <dc:comment>TODO: Why has this an id and factory?</dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1749 <flow_velocity_measurement name="{$fvmd}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1750 ids="{$fvmid}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1751 factory="flowvelocity" target_out="{$out}" > |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1752 <dc:context> |
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, description, station, datetime, v, w, q |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1755 FROM flow_velocity_measure_values |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1756 WHERE measurements_id = ${fvmid} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1757 AND station BETWEEN ${fromkm} AND ${tokm} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1758 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1759 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1760 <measurement_value name="{$description} - {$station} - {$datetime}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1761 ids="{$id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1762 factory="flowvelocity" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1763 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1764 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1765 </flow_velocity_measurement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1766 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1767 </flowvelocitymeasurement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1768 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1769 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1770 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1771 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1772 <dc:macro name="morph_width"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1773 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1774 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1775 SELECT id AS width_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1776 FROM morphologic_width |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1777 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1778 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1779 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1780 <morph_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1781 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1782 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1783 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1784 SELECT min(station) AS from_station, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1785 max(station) AS to_station |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1786 FROM morphologic_width_values |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1787 WHERE morphologic_width_id = ${width_id} |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1788 </dc:statement> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1789 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1790 <morphologic-width name="{$from_station} - {$to_station}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1791 ids="{$width_id}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1792 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
|
1793 </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
|
1794 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1795 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1796 </morph_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1797 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1798 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1799 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1800 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1801 <dc:macro name="sounding-width"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1802 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1803 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1804 SELECT id AS bedh_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1805 year AS bedh_year, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1806 description AS bedh_descr |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1807 FROM bed_height_single WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1808 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1809 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1810 <soundings_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1811 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1812 <height factory="bedheight" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1813 ids="bedheight-singlevalues-{$bedh_id}-{$bedh_year}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1814 description="{$bedh_descr}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1815 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1816 </soundings_width> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1817 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1818 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1819 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1820 |
7236
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1821 <dc:macro name="sqrelations"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1822 <dc:context> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1823 <dc:statement> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1824 SELECT sq.description AS description, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1825 ti.start_time AS start_time, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1826 ti.stop_time AS stop_time, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1827 ms.name AS station_name, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1828 lower(sqv.parameter) AS parameter, |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1829 sqv.id AS sqvid |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1830 FROM sq_relation sq |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1831 JOIN time_intervals ti ON ti.id = sq.time_interval_id |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1832 JOIN rivers r ON r.id = sq.river_id |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1833 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
|
1834 JOIN measurement_station ms ON sqv.measurement_station_id = ms.id |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1835 WHERE r.id = ${river_id} |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1836 </dc:statement> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1837 <dc:if test="dc:has-result()"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1838 <sq_relations> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1839 <dc:filter expr="$out = concat('sq_relation_', $parameter)"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1840 <dc:group expr="$station_name"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1841 <station description="{dc:group-key()}"> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1842 <dc:for-each> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1843 <dc:variable name="combined_desc" expr="concat(dc:date-format('yyyy', $start_time), ' bis ', dc:date-format('yyyy', $stop_time))"/> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1844 <sqvalue factory="staticsqrelation" target_out="{$out}" |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1845 ids="{$sqvid};{$station_name}: {$combined_desc}" description="{$combined_desc}"/> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1846 </dc:for-each> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1847 </station> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1848 </dc:group> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1849 </dc:filter> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1850 </sq_relations> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1851 </dc:if> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1852 </dc:context> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1853 </dc:macro> |
a9bd4a23a852
(issue1474) Add datacage loading for SQ Relations
Andre Heinecke <aheinecke@intevation.de>
parents:
7234
diff
changeset
|
1854 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1855 <dc:macro name="basedata_0_macro"> |
6073
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1856 <dc:filter expr="$kind = 0"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1857 <dc:if test="dc:has-result()"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1858 <basedata> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1859 <dc:group expr="$wst_description"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1860 <basedata name="{dc:group-key()}"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1861 <dc:for-each> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1862 <dc:macro-body/> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1863 </dc:for-each> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1864 </basedata> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1865 </dc:group> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1866 </basedata> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1867 </dc:if> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1868 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1869 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1870 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1871 <dc:macro name="basedata_0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1872 <dc:call-macro name="basedata_0_macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1873 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1874 ids="base_data-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
|
1875 factory="staticwqkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1876 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1877 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1878 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1879 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1880 <dc:macro name="basedata_0_wq"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1881 <dc:call-macro name="basedata_0_macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1882 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1883 ids="base_data-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
|
1884 factory="wqinterpol" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1885 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1886 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1887 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1888 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1889 <dc:macro name="basedata_1_additionals_macro"> |
6073
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1890 <dc:filter expr="$kind=1"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1891 <dc:if test="dc:has-result()"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1892 <additionals> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1893 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')"> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1894 <additional name="{dc:group-key()}"> |
6081
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
1895 <dc:for-each> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
1896 <dc:macro-body/> |
cdd9759b15b6
Fix old calculations datacage parts.
Andre Heinecke <aheinecke@intevation.de>
parents:
6075
diff
changeset
|
1897 </dc:for-each> |
6073
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1898 </additional> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1899 </dc:group> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1900 </additionals> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1901 </dc:if> |
f0417a8e4c39
meta-data.xml: dc:has-result()-guard additionals and basedata.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6072
diff
changeset
|
1902 </dc:filter> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1903 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1904 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1905 <dc:macro name="basedata_1_additionals"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1906 <dc:call-macro name="basedata_1_additionals_macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1907 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1908 ids="additionals-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
|
1909 factory="staticwqkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1910 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1911 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1912 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1913 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1914 <dc:macro name="basedata_1_additionals_marks"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1915 <dc:call-macro name="basedata_1_additionals_macro"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1916 <column name="{$wst_column_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1917 ids="additionalsmarks-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
|
1918 factory="staticwkms" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1919 info="{$info} [km {$deffrom} - {$defto}]"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1920 </dc:call-macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1921 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1922 |
7276
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1923 <dc:macro name="basedata_1_additionals_wq"> |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1924 <dc:call-macro name="basedata_1_additionals_macro"> |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1925 <column name="{$wst_column_name}" |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1926 ids="base_data-wstv-{$wst_column_position}-{$wst_id}" |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1927 factory="wqinterpol" target_out="{$out}" |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1928 info="{$info} [km {$deffrom} - {$defto}]"/> |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1929 </dc:call-macro> |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1930 </dc:macro> |
c9d448b959ac
Revert 7273, add undefined macro to meta-data.xml.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
7275
diff
changeset
|
1931 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1932 <!-- Floodmap part --> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1933 <dc:macro name="flood-map-complete"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1934 <dc:call-macro name="flood-map-buildings"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1935 <dc:call-macro name="catchments"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1936 <dc:call-macro name="floodmarks"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1937 <hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1938 <dc:call-macro name="hwslines"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1939 <dc:call-macro name="hwspoints"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1940 </hws> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1941 <dc:call-macro name="flood-map-routing"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1942 <hydrboundaries> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1943 <dc:call-macro name="flood-map-floodplain"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1944 <dc:call-macro name="flood-map-hydr-boundaries"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1945 </hydrboundaries> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1946 <dc:call-macro name="flood-map-uesk"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1947 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1948 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1949 <dc:macro name="flood-map-routing"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1950 <route_data> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1951 <dc:call-macro name="flood-map-qps"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1952 <dc:call-macro name="flood-map-fixpoints"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1953 <dc:call-macro name="flood-map-km"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1954 <dc:call-macro name="flood-map-riveraxis"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1955 </route_data> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1956 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1957 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1958 <dc:macro name="flood-map-hydr-boundaries"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1959 <bfg_model> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1960 <dc:call-macro name="flood-map-hydr-boundaries-poly"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1961 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1962 </bfg_model> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1963 <dc:call-macro name="flood-map-hydr-boundaries-state"/> |
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 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1966 <dc:macro name="flood-map-dem"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1967 <dems> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1968 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1969 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1970 SELECT d.id AS dem_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1971 r.a AS dem_lower, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1972 r.b AS dem_upper, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1973 d.name AS name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1974 t.start_time AS start_time, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1975 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
|
1976 'Projektion: ' || d.projection || '<BR>' || |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
1977 'Rasterweite: ' || d.resolution || 'm<BR>' || |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
1978 'Format: ' || d.format || '<BR>' || |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1979 'Zeitraum: ' |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1980 AS info |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1981 FROM dem d |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1982 JOIN ranges r ON d.range_id = r.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1983 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
|
1984 WHERE d.river_id = ${river_id} |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
1985 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
|
1986 </dc:statement> |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
1987 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
1988 <dem factory="demfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1989 ids="{$dem_id}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1990 name="{$name}" |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
1991 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
|
1992 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1993 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1994 </dems> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1995 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1996 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1997 <dc:macro name="filter_hws_ddg"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1998 <dc:macro name="durchlass_damm_graben"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
1999 <dc:macro name="ddg_factory"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2000 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2001 <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
|
2002 </dc:for-each> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2003 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2004 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2005 <dc:filter expr="$hws_kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2006 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2007 <Durchlass><dc:call-macro name="ddg_factory"/></Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2008 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2009 </dc:filter> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2010 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2011 <dc:filter expr="$hws_kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2012 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2013 <Damm><dc:call-macro name="ddg_factory"/></Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2014 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2015 </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
|
2016 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2017 <dc:filter expr="$hws_kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2018 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2019 <Graben><dc:call-macro name="ddg_factory"/></Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2020 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2021 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2022 </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
|
2023 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2024 <dc:filter expr="$hws_official=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2025 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2026 <official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2027 <dc:call-macro name="durchlass_damm_graben"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2028 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2029 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2030 </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
|
2031 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2032 <dc:filter expr="$hws_official=0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2033 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2034 <inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2035 <dc:call-macro name="durchlass_damm_graben"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2036 </inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2037 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2038 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2039 </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
|
2040 |
6054
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2041 <dc:macro name="flood-map-hws-lines"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2042 <dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2043 <dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2044 SELECT DISTINCT |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2045 name AS hws_name, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2046 official AS hws_official, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2047 kind_id AS hws_kind |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2048 FROM hws_lines |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2049 WHERE river_id = ${river_id} |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2050 </dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2051 <dc:if test="dc:has-result()"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2052 <lines> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2053 <dc:call-macro name="filter_hws_ddg"/> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2054 </lines> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2055 </dc:if> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2056 </dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2057 </dc:macro> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2058 |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2059 <dc:macro name="flood-map-hws-points"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2060 <dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2061 <dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2062 SELECT DISTINCT |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2063 name AS hws_name, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2064 official AS hws_official, |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2065 kind_id AS hws_kind |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2066 FROM hws_points |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2067 WHERE river_id = ${river_id} |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2068 </dc:statement> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2069 <dc:if test="dc:has-result()"> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2070 <points> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2071 <dc:call-macro name="filter_hws_ddg"/> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2072 </points> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2073 </dc:if> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2074 </dc:context> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2075 </dc:macro> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2076 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2077 <dc:macro name="flood-map-hydr-boundaries-state"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2078 <federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2079 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2080 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2081 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2082 name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2083 FROM hydr_boundaries |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2084 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2085 AND kind = 2 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2086 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2087 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2088 <line factory="wmshydrboundariesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2089 ids="{$river_id};{$name};2" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2090 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2091 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2092 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2093 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2094 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2095 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2096 name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2097 FROM hydr_boundaries_poly |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2098 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2099 AND kind = 2 |
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 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2102 <line factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2103 ids="{$river_id};{$name};2" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2104 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2105 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2106 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2107 </federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2108 </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
|
2109 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2110 <dc:macro name="flood-map-hydr-boundaries-lines"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2111 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2112 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2113 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2114 name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2115 FROM hydr_boundaries |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2116 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2117 AND kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2118 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2119 <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
|
2120 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2121 <lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2122 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2123 <line factory="wmshydrboundariesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2124 ids="{$river_id};{$name};1" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2125 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2126 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2127 </lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2128 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2129 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2130 </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
|
2131 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2132 <dc:macro name="flood-map-hydr-boundaries-poly"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2133 <areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2134 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2135 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2136 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2137 b.sectie AS sectie_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2138 sk.name AS sectie |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2139 FROM hydr_boundaries_poly b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2140 JOIN sectie_kinds sk ON b.sectie = sk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2141 WHERE b.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2142 AND b.kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2143 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2144 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2145 <sobek_areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2146 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2147 <boundary name="{$sectie}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2148 factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2149 ids="{$river_id};{$sectie};1;{$sectie_id};-1"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2150 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2151 </sobek_areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2152 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2153 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2154 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2155 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2156 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2157 b.sobek AS sobek_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2158 sk.name AS sobek |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2159 FROM hydr_boundaries_poly b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2160 JOIN sobek_kinds sk ON b.sobek = sk.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2161 WHERE b.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2162 AND b.kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2163 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2164 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2165 <sobek_flooded> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2166 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2167 <boundary name="{$sobek}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2168 factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2169 ids="{$river_id};{$sobek};1;-1;{$sobek_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2170 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2171 </sobek_flooded> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2172 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2173 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2174 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2175 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2176 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2177 b.name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2178 FROM hydr_boundaries_poly b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2179 WHERE b.river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2180 AND b.kind = 1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2181 AND b.sobek IS NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2182 AND b.sectie is NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2183 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2184 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2185 <boundary name="{$name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2186 factory="wmshydrboundariespolyfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2187 ids="{$river_id};{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2188 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2189 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2190 </areas> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2191 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2192 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2193 <dc:macro name="flood-map-uesk"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2194 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2195 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2196 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
|
2197 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2198 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2199 <uesk> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2200 <calculations> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2201 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2202 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2203 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
|
2204 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
|
2205 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2206 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2207 <current> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2208 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2209 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2210 SELECT DISTINCT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2211 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2212 WHERE river_id = ${river_id} AND kind = 111 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2213 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2214 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2215 <bfg> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2216 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2217 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2218 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2219 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2220 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2221 </bfg> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2222 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2223 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2224 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2225 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2226 SELECT DISTINCT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2227 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2228 WHERE river_id = ${river_id} AND kind = 112 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2229 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2230 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2231 <federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2232 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2233 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2234 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2235 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2236 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2237 </federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2238 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2239 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2240 </current> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2241 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2242 </dc:context> |
5760
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
2243 <dc:context> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
2244 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2245 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
|
2246 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
|
2247 </dc:statement> |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
2248 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2249 <potential> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2250 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2251 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2252 SELECT DISTINCT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2253 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2254 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
|
2255 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2256 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2257 <bfg> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2258 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2259 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2260 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2261 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2262 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2263 </bfg> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2264 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2265 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2266 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2267 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2268 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2269 name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2270 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2271 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
|
2272 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2273 <dc:if test="dc:has-result()"> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2274 <federal> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2275 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2276 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2277 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2278 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2279 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2280 </federal> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2281 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
2282 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2283 </potential> |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2284 </dc:if> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2285 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2286 </calculations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2287 <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
|
2288 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2289 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2290 source AS source |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2291 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2292 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
|
2293 </dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2294 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2295 <measurements> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2296 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2297 <year name="{$source}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2298 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2299 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2300 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2301 name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2302 FROM floodmaps |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2303 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
|
2304 ${source} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2305 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2306 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2307 <floodmaps factory="wmsfloodmapsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2308 ids="{$river_id};{$name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2309 name="{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2310 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2311 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2312 </year> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2313 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2314 </measurements> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2315 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2316 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2317 </uesk> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2318 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2319 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2320 </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
|
2321 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2322 <dc:macro name="flood-map-floodplain"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2323 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2324 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2325 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2326 fp.kind_id AS kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2327 flk.name AS kind_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2328 FROM floodplain fp |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2329 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
|
2330 WHERE river_id = ${river_id} |
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 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2333 <floodplain> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2334 <dc:filter expr="$kind_id=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2335 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2336 <floody factory="wmsfloodplainfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2337 description="{$kind_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2338 ids="{$river_id};{$kind_name};{$kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2339 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2340 </dc:filter> |
6098
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2341 <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
|
2342 <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
|
2343 <other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2344 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2345 <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
|
2346 description="{$layer_name}" |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2347 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
|
2348 </dc:for-each> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2349 </other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2350 </dc:if> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2351 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2352 </floodplain> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2353 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2354 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2355 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2356 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2357 <dc:macro name="hwspoints_by_kind"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2358 <dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2359 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
|
2360 availble |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2361 </dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2362 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2363 <dc:macro name="hwspoints_by_kind_factory"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2364 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2365 <hws factory="wmshwspointsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2366 ids="{$river_id};{$hws_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2367 name="{$hws_name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2368 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2369 </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
|
2370 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2371 <dc:filter expr="$hws_kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2372 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2373 <Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2374 <dc:call-macro name="hwspoints_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2375 </Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2376 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2377 </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
|
2378 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2379 <dc:filter expr="$hws_kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2380 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2381 <Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2382 <dc:call-macro name="hwspoints_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2383 </Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2384 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2385 </dc:filter> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2386 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2387 <dc:filter expr="$hws_kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2388 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2389 <Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2390 <dc:call-macro name="hwspoints_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2391 </Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2392 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2393 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2394 </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
|
2395 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2396 <dc:macro name="hwspoints"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2397 <hws_points> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2398 <official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2399 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2400 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2401 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2402 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2403 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2404 FROM hws_points hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2405 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
|
2406 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2407 AND hws.official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2408 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2409 <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
|
2410 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2411 <dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2412 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2413 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2414 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2415 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2416 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2417 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2418 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
|
2419 </dc:statement> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2420 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2421 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2422 </fedstate> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2423 </dc:context> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2424 </dc:for-each> |
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:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2427 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2428 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2429 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2430 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2431 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2432 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2433 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2434 AND fed_state_id IS NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2435 ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2436 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2437 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2438 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2439 </hws_fed_unknown> |
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 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2442 <inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2443 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2444 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2445 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2446 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2447 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2448 FROM hws_points hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2449 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
|
2450 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2451 AND hws.official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2452 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2453 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2454 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2455 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2456 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2457 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2458 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2459 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2460 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2461 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2462 AND fed_state_id = ${fed_id} ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2463 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2464 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2465 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2466 </fedstate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2467 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2468 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2469 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2470 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2471 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2472 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2473 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2474 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2475 FROM hws_points |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2476 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2477 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2478 AND fed_state_id IS NULL ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2479 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2480 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2481 <dc:call-macro name="hwspoints_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2482 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2483 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2484 </inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2485 </hws_points> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2486 </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
|
2487 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2488 <dc:macro name="hwslines_by_kind"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2489 <dc:comment> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2490 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
|
2491 availble |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2492 </dc:comment> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2493 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2494 <dc:macro name="hwslines_by_kind_factory"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2495 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2496 <hws factory="wmshwslinesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2497 ids="{$river_id};{$hws_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2498 name="{$hws_name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2499 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2500 </dc:macro> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2501 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2502 <dc:filter expr="$hws_kind=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2503 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2504 <Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2505 <dc:call-macro name="hwslines_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2506 </Durchlass> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2507 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2508 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2509 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2510 <dc:filter expr="$hws_kind=2"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2511 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2512 <Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2513 <dc:call-macro name="hwslines_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2514 </Damm> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2515 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2516 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2517 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2518 <dc:filter expr="$hws_kind=3"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2519 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2520 <Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2521 <dc:call-macro name="hwslines_by_kind_factory"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2522 </Graben> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2523 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2524 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2525 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2526 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2527 <dc:macro name="hwslines"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2528 <hws_lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2529 <official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2530 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2531 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2532 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2533 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2534 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2535 FROM hws_lines hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2536 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
|
2537 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2538 AND hws.official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2539 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2540 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2541 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2542 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2543 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2544 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2545 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2546 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2547 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2548 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2549 AND fed_state_id = ${fed_id} ORDER BY name |
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 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2552 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2553 </fedstate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2554 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2555 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2556 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2557 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2558 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2559 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2560 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2561 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2562 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2563 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2564 AND official=1 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2565 AND fed_state_id IS NULL |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2566 ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2567 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2568 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2569 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2570 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2571 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2572 </official> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2573 <inofficial> |
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 fs.name AS fed_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2578 fs.id AS fed_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2579 FROM hws_lines hws |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2580 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
|
2581 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2582 AND hws.official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2583 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2584 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2585 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2586 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2587 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2588 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2589 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2590 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2591 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2592 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2593 AND fed_state_id = ${fed_id} ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2594 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2595 <fedstate description="{$fed_name}"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2596 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2597 </fedstate> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2598 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2599 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2600 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2601 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2602 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2603 SELECT distinct |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2604 name AS hws_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2605 kind_id AS hws_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2606 FROM hws_lines |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2607 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2608 AND official=0 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2609 AND fed_state_id IS NULL ORDER BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2610 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2611 <hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2612 <dc:call-macro name="hwslines_by_kind"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2613 </hws_fed_unknown> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2614 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2615 </inofficial> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2616 </hws_lines> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2617 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2618 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2619 <dc:macro name="floodmarks"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2620 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2621 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2622 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2623 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
|
2624 FROM flood_marks |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2625 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2626 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2627 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2628 <floodmarks> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2629 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2630 <floodmark name="{$year}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2631 factory="wmsfloodmarkfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2632 ids="{$river_id};{$year};{$year}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2633 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2634 </floodmarks> |
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:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2637 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2638 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2639 <dc:macro name="catchments"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2640 <catchments> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2641 <catchment_wms factory="externalwmsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2642 ids="http://geoportal.bafg.de/wmsproxy/INSPIRE/DrainageBasin;HY.PHYSICALWATERS.CATCHMENTS;Einzugsgebiete (WMS)" /> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2643 <dc:call-macro name="flood-map-gaugelocations"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2644 </catchments> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2645 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2646 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2647 <dc:macro name="flood-map-gaugelocations"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2648 <gaugelocations> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2649 <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
|
2650 <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
|
2651 <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
|
2652 <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
|
2653 </gaugelocations> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2654 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2655 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2656 <dc:macro name="flood-map-riveraxis"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2657 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2658 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2659 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2660 ak.name AS kind_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2661 ax.kind_id AS kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2662 ax.name AS layer_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2663 FROM river_axes ax |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2664 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
|
2665 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2666 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2667 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2668 <axis> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2669 <dc:filter expr="$kind_id=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2670 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2671 <actual description="{$kind_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2672 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
|
2673 factory="riveraxis" target_out="{$out}" /> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2674 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2675 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2676 <dc:filter expr="$kind_id!=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2677 <other> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2678 <dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2679 <misc-axis description="{$layer_name}" |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2680 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
|
2681 factory="riveraxis" target_out="{$out}" /> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2682 </dc:for-each> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2683 </other> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2684 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2685 </axis> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2686 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2687 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2688 </dc:macro> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2689 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2690 <dc:macro name="flood-map-km"> |
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 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2693 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
|
2694 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2695 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2696 <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
|
2697 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2698 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2699 </dc:macro> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2700 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2701 <dc:macro name="flood-map-fixpoints"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2702 <dc:context> |
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 SELECT name AS name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2705 FROM fixpoints |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2706 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2707 GROUP BY name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2708 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2709 <dc:for-each> |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2710 <fixpoints factory="wmsfixpointsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2711 ids="{$river_id};{$name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2712 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2713 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2714 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2715 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2716 <dc:macro name="flood-map-qps"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2717 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2718 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2719 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2720 cs.kind_id AS kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2721 cs.name AS layer_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2722 ck.name AS kind_name |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2723 FROM cross_section_tracks cs |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2724 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
|
2725 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2726 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2727 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2728 <qps> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2729 <dc:filter expr="$kind_id=1"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2730 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2731 <actual description="{$kind_name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2732 factory="wmsqpsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2733 ids="{$river_id};{$kind_name};{$kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2734 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2735 </dc:filter> |
6098
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2736 <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
|
2737 <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
|
2738 <other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2739 <dc:for-each> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2740 <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
|
2741 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
|
2742 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
|
2743 </dc:for-each> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2744 </other> |
c21bfa653942
Datacage: Fixed wrong variable access in meta-data.xml
Sascha L. Teichmann <teichmann@intevation.de>
parents:
6095
diff
changeset
|
2745 </dc:if> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2746 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2747 </qps> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2748 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2749 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2750 </dc:macro> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2751 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2752 <dc:macro name="flood-map-buildings"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2753 <buildings> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2754 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2755 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2756 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2757 b.name AS building_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2758 bk.name AS building_kind, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2759 b.kind_id AS building_kind_id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2760 FROM buildings b |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2761 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
|
2762 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2763 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2764 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2765 <dc:filter expr="$building_kind_id!=0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2766 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2767 <buildings description="{$building_kind}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2768 factory="wmsbuildingsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2769 ids="{$river_id};{$building_kind};{$building_kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2770 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2771 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2772 <dc:filter expr="$building_kind_id=0"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2773 <other> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2774 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2775 <buildings description="{$building_name}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2776 factory="wmsbuildingsfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2777 ids="{$river_id};{$building_name}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2778 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2779 </other> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2780 </dc:filter> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2781 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2782 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2783 <dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2784 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2785 SELECT DISTINCT |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2786 j.kind_id AS jetty_kind_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2787 jk.name AS jetty_kind |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2788 FROM jetties j |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2789 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
|
2790 WHERE river_id = ${river_id} |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2791 </dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2792 <dc:if test="dc:has-result()"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2793 <jetties> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2794 <dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2795 <jetty description="{$jetty_kind}" |
6124
06cb01e8aef3
Add target_out attribute to elements with a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6111
diff
changeset
|
2796 factory="wmsjettiesfactory" target_out="{$out}" |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2797 ids="{$river_id};{$jetty_kind};{$jetty_kind_id}"/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2798 </dc:for-each> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2799 </jetties> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2800 </dc:if> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2801 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2802 </buildings> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2803 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2804 |
6054
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2805 <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
|
2806 <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
|
2807 <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
|
2808 <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
|
2809 <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
|
2810 <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
|
2811 <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
|
2812 </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
|
2813 <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
|
2814 <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
|
2815 <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
|
2816 <column name="{$olname}" |
6598
ca56c4e6a755
Mark staticwqkms that are loaded as officiallines recommendation as official
Andre Heinecke <aheinecke@intevation.de>
parents:
6595
diff
changeset
|
2817 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
|
2818 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
|
2819 </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
|
2820 </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
|
2821 </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
|
2822 </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
|
2823 </dc:if> |
6054
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2824 </dc:macro> |
5db238b0176e
Readd accidentally removed macros
Andre Heinecke <aheinecke@intevation.de>
parents:
6053
diff
changeset
|
2825 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2826 <!-- Common stuff --> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2827 |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2828 <dc:macro name="km-filtered-wsts"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2829 <dc:context connection="system"> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2830 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2831 SELECT w.kind AS kind, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2832 w.id AS wst_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2833 wc.id AS wst_column_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2834 wc.position AS wst_column_position, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2835 wc.description AS info, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2836 w.description AS wst_description, |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
2837 COALESCE(wc.name, '') AS wst_column_name, |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2838 wr.a AS deffrom, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2839 wr.b AS defto |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2840 FROM wst_columns wc |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2841 JOIN wsts w ON wc.wst_id = w.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2842 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
|
2843 WHERE w.river_id = ${river_id} AND |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2844 NOT((${tokm} < wr.a) or (${fromkm} > wr.b)) |
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 <dc:macro-body/> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2847 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2848 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2849 |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2850 <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
|
2851 <dc:context connection="user"> |
6655
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
2852 <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
|
2853 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
|
2854 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
|
2855 an SLT evaluation is needed. |
86b17c675374
Cast ld values to varchar in user artifacts statement
Andre Heinecke <aheinecke@intevation.de>
parents:
6654
diff
changeset
|
2856 </dc:comment> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2857 <dc:statement> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2858 SELECT c.name AS collection_name, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2859 ma.id AS a_id, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2860 ma.state AS a_state, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2861 ma.gid AS a_gid, |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2862 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
|
2863 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
|
2864 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
|
2865 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
|
2866 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
|
2867 o.name AS out_name, |
6111
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
2868 o.id AS out_id, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
2869 f.name AS facet_name, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
2870 f.num AS facet_num, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
2871 f.description AS facet_description, |
6815714c1f97
Commit changes described in r6110
Andre Heinecke <aheinecke@intevation.de>
parents:
6110
diff
changeset
|
2872 f.id AS fid |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2873 FROM users u |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2874 JOIN collections c ON c.user_id = u.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2875 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
|
2876 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
|
2877 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
|
2878 WHERE u.gid = CAST(${user-id} AS UUID) |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2879 AND ma.gid <> CAST(${artifact-id} AS uuid) |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2880 AND EXISTS ( |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2881 SELECT id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2882 FROM artifact_data ad |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2883 WHERE ad.artifact_id = ma.id |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2884 AND k = 'river' |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2885 AND v = ${river}) |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2886 </dc:statement> |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2887 <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
|
2888 <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
|
2889 <dc:macro-body/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2890 </dc:virtual-column> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2891 </dc:virtual-column> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2892 </dc:context> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2893 </dc:macro> |
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2894 |
6095
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2895 <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
|
2896 <dc:comment> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
2897 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
|
2898 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
|
2899 </dc:comment> |
59bfda45262b
(issue1474) Add sqrelation user data and disable filtering for it
Andre Heinecke <aheinecke@intevation.de>
parents:
7347
diff
changeset
|
2900 <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
|
2901 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
|
2902 <dc:macro-body/> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2903 </dc:filter> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2904 </dc:macro> |
0f3ca851d204
First part of the filtering datacage for user data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6084
diff
changeset
|
2905 |
6183
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2906 <dc:macro name="artifact-range"> |
3f8f212253a0
Simplify and fix range filtering for server data.
Andre Heinecke <aheinecke@intevation.de>
parents:
6124
diff
changeset
|
2907 <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
|
2908 <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
|
2909 <dc:macro-body/> |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2910 </dc:macro> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2911 |
6053
a18aafc1372f
Commit meta-data.xml refactoring
Andre Heinecke <aheinecke@intevation.de>
parents:
6036
diff
changeset
|
2912 </datacage> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2913 </dc:template> |