Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 8305:f5ed7698c4db
merged.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 22 Sep 2014 17:11:20 +0200 |
parents | 2869a2e482e5 |
children | 33d90858b2dc |
comparison
equal
deleted
inserted
replaced
8304:c4bd57172aa7 | 8305:f5ed7698c4db |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage"> | 2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage"> |
3 <datacage> | 3 <datacage> |
4 | 4 |
5 <dc:comment> | 5 <dc:call-macro name="load-user"/> |
6 User specific part | |
7 ------------------ | |
8 Since rev 4b29bb2c785f we (only?) need this hack to suppress | |
9 user-content in DEM-selection during floodmap parameterisation. | |
10 </dc:comment> | |
11 <dc:if test="dc:contains($parameters, 'user-id') and | |
12 not(dc:contains($artifact-outs, 'floodmap-hws')) and | |
13 not($current-state-id = 'state.winfo.uesk.dgm')"> | |
14 <dc:call-macro name="load-user"/> | |
15 </dc:if> | |
16 | 6 |
17 <dc:call-macro name="load-system"/> | 7 <dc:call-macro name="load-system"/> |
18 | 8 |
19 <dc:macro name="load-system"> | 9 <dc:macro name="load-system"> |
20 <dc:context connection="system"> | 10 <dc:context connection="system"> |
45 Recommendations (client shall load immediately). | 35 Recommendations (client shall load immediately). |
46 </dc:comment> | 36 </dc:comment> |
47 <dc:iterate var="out" container="artifact-outs"> | 37 <dc:iterate var="out" container="artifact-outs"> |
48 <dc:message>Rec out iteration for: {$out}</dc:message> | 38 <dc:message>Rec out iteration for: {$out}</dc:message> |
49 <dc:choose> | 39 <dc:choose> |
40 <dc:comment> Longitudinal sections </dc:comment> | |
50 <dc:when test="$out = 'w_differences'"> | 41 <dc:when test="$out = 'w_differences'"> |
51 <dc:call-macro name="annotations"/> | 42 <dc:call-macro name="annotations"/> |
52 </dc:when> | 43 </dc:when> |
53 <dc:when test="$out = 'discharge_longitudinal_section'"> | 44 <dc:when test="$out = 'discharge_longitudinal_section'"> |
54 <dc:call-macro name="annotations"/> | 45 <dc:call-macro name="annotations"/> |
55 <dc:call-macro name="officiallines_user"/> | 46 <dc:call-macro name="officiallines_user"/> |
56 </dc:when> | 47 </dc:when> |
48 <dc:when test="$out = 'longitudinal_section'"> | |
49 <dc:call-macro name="annotations"/> | |
50 <dc:call-macro name="officiallines_user"/> | |
51 </dc:when> | |
52 <dc:when test="$out = 'fix_longitudinal_section_curve'"> | |
53 <dc:call-macro name="annotations"/> | |
54 </dc:when> | |
55 <dc:when test="$out = 'bedheight_middle'"> | |
56 <dc:call-macro name="annotations"/> | |
57 </dc:when> | |
58 <dc:when test="$out = 'bed_difference_year'"> | |
59 <dc:call-macro name="annotations"/> | |
60 <dc:call-macro name="basedata_6_delta_w"/> | |
61 </dc:when> | |
62 <dc:when test="$out = 'bed_difference_height_year'"> | |
63 <dc:call-macro name="annotations"/> | |
64 <dc:call-macro name="basedata_6_delta_w"/> | |
65 </dc:when> | |
66 <dc:when test="$out = 'sedimentload_ls'"> | |
67 <dc:call-macro name="annotations"/> | |
68 <dc:call-macro name="sedimentload_off_epochs"/> | |
69 </dc:when> | |
70 <dc:when test="$out = 'bed_longitudinal_section'"> | |
71 <dc:call-macro name="annotations"/> | |
72 </dc:when> | |
73 <dc:when test="$out = 'flow_velocity'"> | |
74 <dc:call-macro name="annotations"/> | |
75 </dc:when> | |
76 <dc:comment> Discharge curves </dc:comment> | |
57 <dc:when test="$out = 'historical_discharge_wq'"> | 77 <dc:when test="$out = 'historical_discharge_wq'"> |
58 <dc:call-macro name="mainvalues"/> | 78 <dc:call-macro name="mainvalues"/> |
59 </dc:when> | 79 </dc:when> |
80 <dc:when test="$out = 'discharge_curve'"> | |
81 <dc:call-macro name="mainvalues"/> | |
82 <dc:call-macro name="basedata_3_officials_wq"/> | |
83 </dc:when> | |
84 <dc:when test="$out = 'computed_discharge_curve'"> | |
85 <dc:call-macro name="mainvalues"/> | |
86 <dc:call-macro name="basedata_3_officials_wq"/> | |
87 <dc:call-macro name="basedata_2_fixations_wqkms"/> | |
88 </dc:when> | |
89 <dc:when test="$out = 'fix_wq_curve'"> | |
90 <dc:call-macro name="mainvalues"/> | |
91 <dc:call-macro name="qsectors"/> | |
92 </dc:when> | |
93 <dc:comment> Cross sections </dc:comment> | |
60 <dc:when test="$out = 'cross_section'"> | 94 <dc:when test="$out = 'cross_section'"> |
61 <dc:call-macro name="cross_sections"/> | 95 <dc:call-macro name="cross_sections"/> |
62 <dc:call-macro name="hyks"/> | 96 <dc:call-macro name="hyks"/> |
63 <dc:call-macro name="officiallines_user"/> | 97 <dc:call-macro name="officiallines_user"/> |
64 </dc:when> | 98 </dc:when> |
65 <dc:when test="$out = 'discharge_curve'"> | 99 <dc:comment> Duration curve </dc:comment> |
66 <dc:call-macro name="mainvalues"/> | |
67 <dc:call-macro name="basedata_3_officials_wq"/> | |
68 </dc:when> | |
69 <dc:when test="$out = 'computed_discharge_curve'"> | |
70 <dc:call-macro name="mainvalues"/> | |
71 <dc:call-macro name="basedata_3_officials_wq"/> | |
72 <dc:call-macro name="basedata_2_fixations_wqkms"/> | |
73 </dc:when> | |
74 <dc:when test="$out = 'duration_curve'"> | 100 <dc:when test="$out = 'duration_curve'"> |
75 <dc:call-macro name="mainvalues"/> | 101 <dc:call-macro name="mainvalues"/> |
76 </dc:when> | 102 </dc:when> |
103 <dc:comment> Reference curve </dc:comment> | |
77 <dc:when test="$out = 'reference_curve'"> | 104 <dc:when test="$out = 'reference_curve'"> |
78 <dc:call-macro name="mainvalues"/> | 105 <dc:call-macro name="mainvalues"/> |
79 </dc:when> | 106 </dc:when> |
80 <dc:when test="$out = 'fix_wq_curve'"> | 107 <dc:comment> Maps </dc:comment> |
81 <dc:call-macro name="mainvalues"/> | |
82 <dc:call-macro name="qsectors"/> | |
83 </dc:when> | |
84 <dc:when test="$out = 'longitudinal_section'"> | |
85 <dc:call-macro name="annotations"/> | |
86 <dc:call-macro name="officiallines_user"/> | |
87 </dc:when> | |
88 <dc:when test="$out = 'fix_longitudinal_section_curve'"> | |
89 <dc:call-macro name="annotations"/> | |
90 </dc:when> | |
91 <dc:when test="$out = 'bedheight_middle'"> | |
92 <dc:call-macro name="annotations"/> | |
93 </dc:when> | |
94 <dc:when test="$out = 'bed_difference_year'"> | |
95 <dc:call-macro name="annotations"/> | |
96 <dc:call-macro name="basedata_6_delta_w"/> | |
97 </dc:when> | |
98 <dc:when test="$out = 'bed_difference_height_year'"> | |
99 <dc:call-macro name="annotations"/> | |
100 <dc:call-macro name="basedata_6_delta_w"/> | |
101 </dc:when> | |
102 <dc:when test="$out = 'floodmap'"> | 108 <dc:when test="$out = 'floodmap'"> |
103 <dc:call-macro name="flood-map-recommended"/> | 109 <dc:call-macro name="flood-map-recommended"/> |
104 </dc:when> | |
105 <dc:when test="$out = 'floodmap-hws'"> | |
106 <dc:call-macro name="flood-map-recommended"/> | |
107 </dc:when> | |
108 <dc:when test="$out = 'minfo-heights'"> | |
109 <dc:call-macro name="minfo-heights"/> | |
110 </dc:when> | |
111 <dc:when test="$out = 'minfo-heights-epoch'"> | |
112 <bedheights> | |
113 <dc:call-macro name="bed-heights-epoch"/> | |
114 </bedheights> | |
115 </dc:when> | |
116 <dc:when test="$out = 'sedimentload_ls'"> | |
117 <dc:call-macro name="annotations"/> | |
118 <dc:call-macro name="sedimentload_off_epochs"/> | |
119 </dc:when> | |
120 <dc:when test="$out = 'bed_longitudinal_section'"> | |
121 <dc:call-macro name="annotations"/> | |
122 </dc:when> | |
123 <dc:when test="$out = 'flow_velocity'"> | |
124 <dc:call-macro name="annotations"/> | |
125 </dc:when> | 110 </dc:when> |
126 </dc:choose> | 111 </dc:choose> |
127 </dc:iterate> | 112 </dc:iterate> |
128 </dc:when> | 113 </dc:when> |
129 <dc:otherwise> | 114 <dc:otherwise> |
131 Non - Recommendations (offered to user to choose additional data from). | 116 Non - Recommendations (offered to user to choose additional data from). |
132 </dc:comment> | 117 </dc:comment> |
133 <dc:iterate var="out" container="artifact-outs"> | 118 <dc:iterate var="out" container="artifact-outs"> |
134 <dc:message>Non Rec out iteration for: {$out}</dc:message> | 119 <dc:message>Non Rec out iteration for: {$out}</dc:message> |
135 <dc:choose> | 120 <dc:choose> |
136 <dc:when test="$out = 'minfo-heights-diff'"> | 121 <dc:comment> Inline datacage panels </dc:comment> |
122 <dc:when test="$out = 'minfo_diff_panel'"> | |
137 <dc:call-macro name="minfo-heights-diff"/> | 123 <dc:call-macro name="minfo-heights-diff"/> |
138 </dc:when> | 124 </dc:when> |
125 <dc:when test="$out = 'floodmap_dem_panel'"> | |
126 <dc:call-macro name="flood-map-dem"/> | |
127 </dc:when> | |
128 <dc:when test="$out = 'floodmap_hws_panel'"> | |
129 <hws> | |
130 <dc:call-macro name="flood-map-hws-lines"/> | |
131 <dc:call-macro name="flood-map-hws-points"/> | |
132 </hws> | |
133 </dc:when> | |
134 <dc:when test="$out = 'winfo_diff_twin_panel'"> | |
135 <dc:if test="$current-state-id != 'state.winfo.uesk.wsp'"> | |
136 <dc:call-macro name="basedata_0"/> | |
137 <dc:call-macro name="basedata_1_additionals"/> | |
138 <dc:call-macro name="basedata_2_fixations"/> | |
139 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
140 <dc:call-macro name="basedata_5_flood-protections"/> | |
141 </dc:if> | |
142 </dc:when> | |
143 <dc:when test="$out = 'waterlevels_panel'"> | |
144 <dc:call-macro name="basedata_0"/> | |
145 <dc:call-macro name="basedata_1_additionals"/> | |
146 <dc:call-macro name="basedata_2_fixations"/> | |
147 <dc:call-macro name="basedata_3_officials"/> | |
148 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
149 <dc:call-macro name="basedata_5_flood-protections"/> | |
150 </dc:when> | |
151 <dc:comment> Longitudinal sections </dc:comment> | |
152 <dc:when test="$out = 'longitudinal_section'"> | |
153 <dc:call-macro name="longitudinal-section-prototype"/> | |
154 </dc:when> | |
155 <dc:when test="$out = 'w_differences'"> | |
156 <dc:call-macro name="longitudinal-section-prototype"/> | |
157 </dc:when> | |
158 <dc:when test="$out = 'discharge_longitudinal_section'"> | |
159 <dc:call-macro name="longitudinal-section-prototype"/> | |
160 </dc:when> | |
161 <dc:when test="$out = 'fix_longitudinal_section_curve'"> | |
162 <dc:call-macro name="longitudinal-section-prototype"/> | |
163 </dc:when> | |
164 <dc:when test="$out = 'flow_velocity'"> | |
165 <dc:call-macro name="longitudinal-section-prototype"/> | |
166 </dc:when> | |
167 <dc:when test="$out = 'bed_longitudinal_section'"> | |
168 <dc:call-macro name="longitudinal-section-prototype"/> | |
169 </dc:when> | |
170 <dc:when test="$out = 'sedimentload_ls'"> | |
171 <dc:call-macro name="longitudinal-section-prototype"/> | |
172 </dc:when> | |
173 <dc:when test="$out = 'bedheight_middle'"> | |
174 <dc:call-macro name="longitudinal-section-prototype"/> | |
175 </dc:when> | |
176 <dc:when test="$out = 'bed_difference_height_year'"> | |
177 <dc:call-macro name="longitudinal-section-prototype"/> | |
178 </dc:when> | |
179 <dc:when test="$out = 'bed_difference_year'"> | |
180 <dc:call-macro name="longitudinal-section-prototype"/> | |
181 </dc:when> | |
182 <dc:comment> Discharge curves </dc:comment> | |
183 <dc:when test="$out = 'historical_discharge_wq'"> | |
184 <dc:call-macro name="discharge-curve-prototype"/> | |
185 <dc:call-macro name="basedata_5_flood-protections"/> | |
186 <dc:call-macro name="basedata_0"/> | |
187 <dc:call-macro name="basedata_1_additionals"/> | |
188 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
189 <computed_discharge_curve> | |
190 <dc:call-macro name="mainvalues"/> | |
191 </computed_discharge_curve> | |
192 </dc:when> | |
193 <dc:when test="$out = 'discharge_curve'"> | |
194 <dc:call-macro name="discharge-prototype"/> | |
195 <computed_discharge_curve> | |
196 <dc:call-macro name="mainvalues"/> | |
197 </computed_discharge_curve> | |
198 </dc:when> | |
199 <dc:when test="$out = 'fix_wq_curve'"> | |
200 <dc:call-macro name="discharge-prototype"/> | |
201 </dc:when> | |
202 <dc:when test="$out = 'computed_discharge_curve'"> | |
203 <dc:call-macro name="discharge-curve-prototype"/> | |
204 <dc:call-macro name="basedata_0_wq"/> | |
205 <dc:call-macro name="basedata_1_additionals_wq"/> | |
206 <dc:call-macro name="basedata_5_flood-protections"/> | |
207 <computed_discharge_curve> | |
208 <dc:call-macro name="mainvalues"/> | |
209 </computed_discharge_curve> | |
210 </dc:when> | |
211 <dc:when test="starts-with($out, 'sq_relation') or | |
212 $out = 'sq_overview'"> | |
213 <dc:call-macro name="sqrelations"/> | |
214 </dc:when> | |
215 <dc:comment> Cross sections </dc:comment> | |
139 <dc:when test="$out = 'cross_section'"> | 216 <dc:when test="$out = 'cross_section'"> |
140 <dc:call-macro name="basedata_0"/> | 217 <dc:call-macro name="basedata_0"/> |
141 <dc:call-macro name="basedata_1_additionals"/> | 218 <dc:call-macro name="basedata_1_additionals"/> |
142 <dc:call-macro name="basedata_2_fixations"/> | 219 <dc:call-macro name="basedata_2_fixations"/> |
143 <dc:call-macro name="basedata_3_officials"/> | 220 <dc:call-macro name="basedata_3_officials"/> |
144 <dc:call-macro name="basedata_4_heightmarks-points"/> | 221 <dc:call-macro name="basedata_4_heightmarks-points"/> |
145 <dc:call-macro name="cross_sections"/> | 222 <dc:call-macro name="cross_sections"/> |
146 <dc:call-macro name="basedata_5_flood-protections"/> | 223 <dc:call-macro name="basedata_5_flood-protections"/> |
147 <dc:call-macro name="hyks"/> | 224 <dc:call-macro name="hyks"/> |
148 </dc:when> | 225 </dc:when> |
149 <dc:when test="$out = 'longitudinal_section'"> | 226 <dc:comment> Duration curve </dc:comment> |
150 <dc:call-macro name="longitudinal-section-prototype"/> | |
151 </dc:when> | |
152 <dc:when test="$out = 'w_differences'"> | |
153 <dc:call-macro name="longitudinal-section-prototype"/> | |
154 </dc:when> | |
155 <dc:when test="$out = 'discharge_longitudinal_section'"> | |
156 <dc:call-macro name="longitudinal-section-prototype"/> | |
157 </dc:when> | |
158 <dc:when test="$out = 'historical_discharge_wq'"> | |
159 <dc:call-macro name="discharge-curve-prototype"/> | |
160 <dc:call-macro name="basedata_5_flood-protections"/> | |
161 <dc:call-macro name="basedata_0"/> | |
162 <dc:call-macro name="basedata_1_additionals"/> | |
163 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
164 <computed_discharge_curve> | |
165 <dc:call-macro name="mainvalues"/> | |
166 </computed_discharge_curve> | |
167 </dc:when> | |
168 <dc:when test="$out = 'discharge_curve'"> | |
169 <dc:call-macro name="discharge-prototype"/> | |
170 <computed_discharge_curve> | |
171 <dc:call-macro name="mainvalues"/> | |
172 </computed_discharge_curve> | |
173 </dc:when> | |
174 <dc:when test="$out = 'duration_curve'"> | 227 <dc:when test="$out = 'duration_curve'"> |
175 <dc:call-macro name="mainvalues"/> | 228 <dc:call-macro name="mainvalues"/> |
176 <dc:call-macro name="basedata_2_fixations_relative_point"/> | 229 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
177 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> | 230 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
178 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> | 231 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
179 </dc:when> | 232 </dc:when> |
233 <dc:comment> Reference curve </dc:comment> | |
180 <dc:when test="$out = 'reference_curve'"> | 234 <dc:when test="$out = 'reference_curve'"> |
181 <dc:call-macro name="mainvalues"/> | 235 <dc:call-macro name="mainvalues"/> |
182 <dc:call-macro name="annotations"/> | 236 <dc:call-macro name="annotations"/> |
183 <dc:call-macro name="basedata_1_additionals-relative_point"/> | 237 <dc:call-macro name="basedata_1_additionals-relative_point"/> |
184 <dc:call-macro name="basedata_2_fixations_relative_point"/> | 238 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
185 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> | 239 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
186 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> | 240 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
187 </dc:when> | 241 </dc:when> |
188 <dc:when test="$out = 'fix_wq_curve'"> | 242 <dc:comment> Maps </dc:comment> |
189 <dc:call-macro name="discharge-prototype"/> | |
190 </dc:when> | |
191 <dc:when test="$out = 'fix_longitudinal_section_curve'"> | |
192 <dc:call-macro name="longitudinal-section-prototype"/> | |
193 </dc:when> | |
194 <dc:when test="$out = 'map'"> | 243 <dc:when test="$out = 'map'"> |
195 <dc:call-macro name="flood-map-complete"/> | 244 <dc:call-macro name="flood-map-complete"/> |
196 </dc:when> | 245 </dc:when> |
197 <dc:when test="$out = 'flow_velocity'"> | |
198 <dc:call-macro name="longitudinal-section-prototype"/> | |
199 </dc:when> | |
200 <dc:when test="$out = 'bed_longitudinal_section'"> | |
201 <dc:call-macro name="longitudinal-section-prototype"/> | |
202 </dc:when> | |
203 <dc:when test="$out = 'sedimentload_ls'"> | |
204 <dc:call-macro name="longitudinal-section-prototype"/> | |
205 </dc:when> | |
206 <dc:when test="$out = 'bedheight_middle'"> | |
207 <dc:call-macro name="longitudinal-section-prototype"/> | |
208 </dc:when> | |
209 <dc:when test="$out = 'bed_difference_height_year'"> | |
210 <dc:call-macro name="longitudinal-section-prototype"/> | |
211 </dc:when> | |
212 <dc:when test="$out = 'bed_difference_year'"> | |
213 <dc:call-macro name="longitudinal-section-prototype"/> | |
214 </dc:when> | |
215 <dc:when test="$out = 'floodmap'"> | 246 <dc:when test="$out = 'floodmap'"> |
216 <dc:choose> | 247 <dc:call-macro name="flood-map-complete"/> |
217 <dc:when test="dc:contains($parameters, 'dem')"> | |
218 <dc:call-macro name="flood-map-dem"/> | |
219 </dc:when> | |
220 <dc:when test="dc:contains($parameters, 'hws')"> | |
221 <hws> | |
222 <dc:call-macro name="flood-map-hws-lines"/> | |
223 <dc:call-macro name="flood-map-hws-points"/> | |
224 </hws> | |
225 </dc:when> | |
226 <dc:otherwise> | |
227 <dc:call-macro name="flood-map-complete"/> | |
228 </dc:otherwise> | |
229 </dc:choose> | |
230 </dc:when> | |
231 <dc:when test="$out = 'floodmap-hws'"> | |
232 <dc:choose> | |
233 <dc:when test="dc:contains($parameters, 'dem')"> | |
234 <dc:call-macro name="flood-map-dem"/> | |
235 </dc:when> | |
236 <dc:when test="dc:contains($parameters, 'hws')"> | |
237 <hws> | |
238 <dc:call-macro name="flood-map-hws-lines"/> | |
239 <dc:call-macro name="flood-map-hws-points"/> | |
240 </hws> | |
241 </dc:when> | |
242 <dc:otherwise> | |
243 <dc:call-macro name="flood-map-complete"/> | |
244 </dc:otherwise> | |
245 </dc:choose> | |
246 </dc:when> | |
247 <dc:when test="$out = 'computed_discharge_curve'"> | |
248 <dc:call-macro name="discharge-curve-prototype"/> | |
249 <dc:call-macro name="basedata_0_wq"/> | |
250 <dc:call-macro name="basedata_1_additionals_wq"/> | |
251 <dc:call-macro name="basedata_5_flood-protections"/> | |
252 <computed_discharge_curve> | |
253 <dc:call-macro name="mainvalues"/> | |
254 </computed_discharge_curve> | |
255 </dc:when> | |
256 <dc:when test="$out = 'minfo-heights'"> | |
257 <dc:call-macro name="minfo-heights"/> | |
258 </dc:when> | |
259 <dc:when test="$out = 'minfo-heights-epoch'"> | |
260 <bedheights> | |
261 <dc:call-macro name="bed-heights-epoch"/> | |
262 </bedheights> | |
263 </dc:when> | |
264 <dc:when test="$out = 'differenceable'"> | |
265 <dc:if test="$current-state-id != 'state.winfo.uesk.wsp'"> | |
266 <dc:call-macro name="basedata_0"/> | |
267 <dc:call-macro name="basedata_1_additionals"/> | |
268 <dc:call-macro name="basedata_2_fixations"/> | |
269 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
270 <dc:call-macro name="basedata_5_flood-protections"/> | |
271 </dc:if> | |
272 </dc:when> | |
273 <dc:when test="$out = 'waterlevels'"> | |
274 <dc:call-macro name="basedata_0"/> | |
275 <dc:call-macro name="basedata_1_additionals"/> | |
276 <dc:call-macro name="basedata_2_fixations"/> | |
277 <dc:call-macro name="basedata_3_officials"/> | |
278 <dc:call-macro name="basedata_4_heightmarks-points"/> | |
279 <dc:call-macro name="basedata_5_flood-protections"/> | |
280 </dc:when> | |
281 <dc:when test="starts-with($out, 'sq_relation') or | |
282 $out = 'sq_overview'"> | |
283 <dc:call-macro name="sqrelations"/> | |
284 </dc:when> | 248 </dc:when> |
285 </dc:choose> | 249 </dc:choose> |
286 </dc:iterate> | 250 </dc:iterate> |
287 </dc:otherwise> | 251 </dc:otherwise> |
288 </dc:choose> | 252 </dc:choose> |
312 <dc:comment> | 276 <dc:comment> |
313 Non Recommendations (user) - offer to load other projects | 277 Non Recommendations (user) - offer to load other projects |
314 </dc:comment> | 278 </dc:comment> |
315 <dc:iterate var="out" container="artifact-outs"> | 279 <dc:iterate var="out" container="artifact-outs"> |
316 <dc:choose> | 280 <dc:choose> |
281 <dc:comment> Inline datacage panels </dc:comment> | |
282 <dc:when test="$out = 'winfo_diff_twin_panel'"> | |
283 <dc:call-macro name="differences-fix"/> | |
284 <dc:call-macro name="differences"/> | |
285 <dc:comment comment="Candidate for:"> | |
286 <dc:call-macro name="longitudinal-section-user-prototype"/> | |
287 </dc:comment> | |
288 </dc:when> | |
289 <dc:when test="$out = 'waterlevels_panel'"> | |
290 <dc:call-macro name="waterlevels-fix"/> | |
291 <dc:comment comment="Candidate for:"> | |
292 <dc:call-macro name="longitudinal-section-user-prototype"/> | |
293 </dc:comment> | |
294 </dc:when> | |
295 <dc:when test="$out = 'floodmap_hws_panel'"> | |
296 <dc:call-macro name="floodmap-hws-user"/> | |
297 </dc:when> | |
298 <dc:comment> Longitudinal sections </dc:comment> | |
317 <dc:when test="$out = 'longitudinal_section'"> | 299 <dc:when test="$out = 'longitudinal_section'"> |
318 <dc:call-macro name="longitudinal-section-user-prototype"/> | 300 <dc:call-macro name="longitudinal-section-user-prototype"/> |
319 </dc:when> | 301 </dc:when> |
320 <dc:when test="$out = 'discharge_longitudinal_section'"> | 302 <dc:when test="$out = 'discharge_longitudinal_section'"> |
321 <dc:call-macro name="longitudinal-section-user-prototype"/> | 303 <dc:call-macro name="longitudinal-section-user-prototype"/> |
322 </dc:when> | 304 </dc:when> |
323 <dc:when test="$out = 'w_differences'"> | 305 <dc:when test="$out = 'w_differences'"> |
324 <dc:call-macro name="longitudinal-section-user-prototype"/> | 306 <dc:call-macro name="longitudinal-section-user-prototype"/> |
325 </dc:when> | 307 </dc:when> |
326 <dc:when test="$out = 'computed_discharge_curve'"> | |
327 <dc:call-macro name="computed-discharge-curve"/> | |
328 <dc:call-macro name="fix-wq-curve"/> | |
329 <dc:call-macro name="discharge-curve"/> | |
330 <dc:call-macro name="extreme-wq-curve"/> | |
331 </dc:when> | |
332 <dc:when test="$out = 'fix_deltawt_curve'"> | |
333 <dc:call-macro name="delta-wt"/> | |
334 </dc:when> | |
335 <dc:when test="$out = 'reference_curve'"> | |
336 <dc:call-macro name="reference-curves"/> | |
337 </dc:when> | |
338 <dc:when test="$out = 'cross_section'"> | |
339 <dc:call-macro name="waterlevels"/> | |
340 </dc:when> | |
341 <dc:when test="$out = 'fix_longitudinal_section_curve'"> | 308 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
342 <dc:call-macro name="longitudinal-section-user-prototype"/> | 309 <dc:call-macro name="longitudinal-section-user-prototype"/> |
343 </dc:when> | 310 </dc:when> |
344 <dc:when test="$out = 'fix_derivate_curve'"> | |
345 <dc:call-macro name="fix-derivate-curve"/> | |
346 </dc:when> | |
347 <dc:when test="$out = 'fix_wq_curve'"> | |
348 <dc:call-macro name="fix-wq-curve"/> | |
349 <dc:call-macro name="waterlevels-fix"/> | |
350 </dc:when> | |
351 <dc:when test="$out = 'duration_curve'"> | |
352 <dc:call-macro name="duration-curve"/> | |
353 </dc:when> | |
354 <dc:when test="$out = 'differenceable'"> | |
355 <dc:call-macro name="differenceable-fix"/> | |
356 <dc:call-macro name="differences"/> | |
357 <dc:comment comment="Candidate for:"> | |
358 <dc:call-macro name="longitudinal-section-user-prototype"/> | |
359 </dc:comment> | |
360 </dc:when> | |
361 <dc:when test="$out = 'waterlevels'"> | |
362 <dc:call-macro name="waterlevels-fix"/> | |
363 <dc:comment comment="Candidate for:"> | |
364 <dc:call-macro name="longitudinal-section-user-prototype"/> | |
365 </dc:comment> | |
366 </dc:when> | |
367 <dc:when test="$out = 'floodmap'"> | |
368 <dc:call-macro name="flood-map"/> | |
369 </dc:when> | |
370 <dc:when test="$out = 'map'"> | |
371 <dc:call-macro name="flood-map"/> | |
372 </dc:when> | |
373 <dc:when test="$out = 'bedheight_middle'"> | 311 <dc:when test="$out = 'bedheight_middle'"> |
374 <dc:call-macro name="longitudinal-section-user-prototype"/> | 312 <dc:call-macro name="longitudinal-section-user-prototype"/> |
375 </dc:when> | |
376 <dc:when test="$out = 'floodmap-hws'"> | |
377 <dc:call-macro name="floodmap-hws-user"/> | |
378 </dc:when> | 313 </dc:when> |
379 <dc:when test="$out = 'flow_velocity'"> | 314 <dc:when test="$out = 'flow_velocity'"> |
380 <dc:call-macro name="longitudinal-section-user-prototype"/> | 315 <dc:call-macro name="longitudinal-section-user-prototype"/> |
381 </dc:when> | 316 </dc:when> |
382 <dc:when test="$out = 'bed_longitudinal_section'"> | 317 <dc:when test="$out = 'bed_longitudinal_section'"> |
389 <dc:call-macro name="longitudinal-section-user-prototype"/> | 324 <dc:call-macro name="longitudinal-section-user-prototype"/> |
390 </dc:when> | 325 </dc:when> |
391 <dc:when test="$out = 'bed_difference_height_year'"> | 326 <dc:when test="$out = 'bed_difference_height_year'"> |
392 <dc:call-macro name="longitudinal-section-user-prototype"/> | 327 <dc:call-macro name="longitudinal-section-user-prototype"/> |
393 </dc:when> | 328 </dc:when> |
394 <dc:when test="$out = 'historical_discharge'"> | 329 <dc:comment> Discharge curves </dc:comment> |
395 <dc:call-macro name="historical-discharge-user"/> | 330 <dc:when test="$out = 'computed_discharge_curve'"> |
331 <dc:call-macro name="computed-discharge-curve"/> | |
332 <dc:call-macro name="fix-wq-curve"/> | |
333 <dc:call-macro name="discharge-curve"/> | |
334 <dc:call-macro name="extreme-wq-curve"/> | |
335 </dc:when> | |
336 <dc:when test="$out = 'fix_derivate_curve'"> | |
337 <dc:call-macro name="fix-derivate-curve"/> | |
338 </dc:when> | |
339 <dc:when test="$out = 'fix_wq_curve'"> | |
340 <dc:call-macro name="fix-wq-curve"/> | |
341 <dc:call-macro name="waterlevels-fix"/> | |
396 </dc:when> | 342 </dc:when> |
397 <dc:when test="$out = 'historical_discharge_wq'"> | 343 <dc:when test="$out = 'historical_discharge_wq'"> |
398 <dc:call-macro name="historical-discharge-wq-user"/> | 344 <dc:call-macro name="historical-discharge-wq-user"/> |
399 </dc:when> | 345 </dc:when> |
400 <dc:when test="starts-with($out, 'sq_relation') or | 346 <dc:when test="starts-with($out, 'sq_relation') or |
401 $out = 'sq_overview'"> | 347 $out = 'sq_overview'"> |
402 <dc:call-macro name="sqrelations_user"/> | 348 <dc:call-macro name="sqrelations_user"/> |
349 </dc:when> | |
350 <dc:comment> Time series </dc:comment> | |
351 <dc:when test="$out = 'fix_deltawt_curve'"> | |
352 <dc:call-macro name="delta-wt"/> | |
353 </dc:when> | |
354 <dc:when test="$out = 'historical_discharge'"> | |
355 <dc:call-macro name="historical-discharge-user"/> | |
356 </dc:when> | |
357 <dc:comment> Cross sections </dc:comment> | |
358 <dc:when test="$out = 'cross_section'"> | |
359 <dc:call-macro name="waterlevels"/> | |
360 </dc:when> | |
361 <dc:comment> Duration curve </dc:comment> | |
362 <dc:when test="$out = 'duration_curve'"> | |
363 <dc:call-macro name="duration-curve"/> | |
364 </dc:when> | |
365 <dc:comment> Reference curve </dc:comment> | |
366 <dc:when test="$out = 'reference_curve'"> | |
367 <dc:call-macro name="reference-curves"/> | |
368 </dc:when> | |
369 <dc:comment> Maps </dc:comment> | |
370 <dc:when test="$out = 'floodmap'"> | |
371 <dc:call-macro name="flood-map"/> | |
372 </dc:when> | |
373 <dc:when test="$out = 'map'"> | |
374 <dc:call-macro name="flood-map"/> | |
403 </dc:when> | 375 </dc:when> |
404 </dc:choose> | 376 </dc:choose> |
405 </dc:iterate> | 377 </dc:iterate> |
406 </dc:otherwise> | 378 </dc:otherwise> |
407 </dc:choose> | 379 </dc:choose> |
857 </dc:if> | 829 </dc:if> |
858 </dc:filter> | 830 </dc:filter> |
859 </dc:macro> | 831 </dc:macro> |
860 | 832 |
861 <dc:comment comment="For building differences." /> | 833 <dc:comment comment="For building differences." /> |
862 <dc:macro name="differenceable-fix"> | 834 <dc:macro name="differences-fix"> |
863 <dc:comment> | |
864 No diffs between beddiffs and others, for now. | |
865 <beddifferences> | |
866 <dc:call-macro name="bedheight_differences"/> | |
867 </beddifferences> | |
868 </dc:comment> | |
869 <dc:comment comment="Vollmer curves need own factory"/> | 835 <dc:comment comment="Vollmer curves need own factory"/> |
870 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and $facet_name = 'longitudinal_section.w'"> | 836 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and $facet_name = 'longitudinal_section.w'"> |
871 <dc:if test="dc:has-result()"> | 837 <dc:if test="dc:has-result()"> |
872 <vollmer_waterlevels> | 838 <vollmer_waterlevels> |
873 <dc:call-macro name="collection-group"> | 839 <dc:call-macro name="collection-group"> |
1439 info="{$info}" | 1405 info="{$info}" |
1440 ids="{$slid};{$timespan};{$kind}" /> | 1406 ids="{$slid};{$timespan};{$kind}" /> |
1441 </dc:macro> | 1407 </dc:macro> |
1442 | 1408 |
1443 <dc:macro name="loads"> | 1409 <dc:macro name="loads"> |
1444 <dc:if test="dc:has-result()"> | 1410 <dc:if test="dc:has-result()"> |
1445 <dc:group expr="$fraction"> | 1411 <dc:group expr="concat('SQ ', dc:date-format('yyyy', $sqstart), '-', |
1446 <dc:variable name="fraction_name" expr="concat('${', dc:group-key(), '}')"/> | 1412 dc:date-format('yyyy', $sqstop))"> |
1447 <fraction description="{$fraction_name}"> | 1413 <sq_time description="{dc:group-key()}"> |
1448 <dc:for-each> | 1414 <dc:group expr="$fraction"> |
1449 <dc:choose> | 1415 <dc:variable name="fraction_name" |
1450 <dc:when test="string-length(dc:get('endyear')) = 0"> | 1416 expr="concat('${', dc:group-key(), '}')"/> |
1451 <dc:variable name="timespan" type="string" | 1417 <fraction description="{$fraction_name}"> |
1452 expr="dc:date-format('yyyy', $startyear)"/> | 1418 <dc:for-each> |
1453 </dc:when> | 1419 <dc:choose> |
1454 <dc:otherwise> | 1420 <dc:when test="string-length(dc:get('endyear')) = 0"> |
1455 <dc:variable name="timespan" type="string" | 1421 <dc:variable name="timespan" type="string" |
1456 expr="concat(dc:date-format('yyyy', $startyear), | 1422 expr="dc:date-format('yyyy', $startyear)"/> |
1457 '-', dc:date-format('yyyy', $endyear))"/> | 1423 </dc:when> |
1458 </dc:otherwise> | 1424 <dc:otherwise> |
1459 </dc:choose> | 1425 <dc:variable name="timespan" type="string" |
1460 <dc:if test="$kind = 'official'"> | 1426 expr="concat(dc:date-format('yyyy', |
1461 <dc:variable name="info" type="string" | 1427 $startyear), '-', |
1462 expr="concat('Amtliche Epoche<BR>', dc:get('info'))"/> | 1428 dc:date-format('yyyy', $endyear))"/> |
1463 </dc:if> | 1429 </dc:otherwise> |
1464 <dc:macro-body/> | 1430 </dc:choose> |
1465 </dc:for-each> | 1431 <dc:if test="$kind = 'official'"> |
1466 </fraction> | 1432 <dc:variable name="info" type="string" |
1467 </dc:group> | 1433 expr="concat('Amtliche Epoche<BR>', |
1468 </dc:if> | 1434 dc:get('info'))"/> |
1435 </dc:if> | |
1436 <dc:macro-body/> | |
1437 </dc:for-each> | |
1438 </fraction> | |
1439 </dc:group> | |
1440 </sq_time> | |
1441 </dc:group> | |
1442 </dc:if> | |
1469 </dc:macro> | 1443 </dc:macro> |
1470 | 1444 |
1471 <dc:macro name="sedimentloads-filter"> | 1445 <dc:macro name="sedimentloads-filter"> |
1472 <dc:group expr="concat('SQ ', dc:date-format('yyyy', $sqstart), '-', | 1446 <years> |
1473 dc:date-format('yyyy', $sqstop))"> | 1447 <dc:filter expr="string-length(dc:get('endyear')) = 0 and |
1474 <sq_time description="{dc:group-key()}"> | 1448 $kind != 'official'" > |
1475 <years> | 1449 <dc:macro-body/> |
1476 <dc:filter expr="string-length(dc:get('endyear')) = 0" > | 1450 </dc:filter> |
1477 <dc:macro-body/> | 1451 </years> |
1478 </dc:filter> | 1452 <epochs> |
1479 </years> | 1453 <dc:filter expr="string-length(dc:get('endyear')) > 0 and |
1480 <epochs> | 1454 $kind != 'official'" > |
1481 <dc:filter expr="string-length(dc:get('endyear')) > 0" > | 1455 <dc:macro-body/> |
1482 <dc:macro-body/> | 1456 </dc:filter> |
1483 </dc:filter> | 1457 </epochs> |
1484 </epochs> | 1458 <off_epochs> |
1485 </sq_time> | 1459 <dc:filter expr="$kind = 'official'" > |
1486 </dc:group> | 1460 <dc:macro-body/> |
1461 </dc:filter> | |
1462 </off_epochs> | |
1487 </dc:macro> | 1463 </dc:macro> |
1488 | 1464 |
1489 <dc:macro name="sedimentloads"> | 1465 <dc:macro name="sedimentloads"> |
1490 <dc:comment> | 1466 <dc:comment> |
1491 This is the macro for static datacage "Sedimentloads". | 1467 This is the macro for static datacage "Sedimentloads". |