comparison artifacts/doc/conf/meta-data.xml @ 8958:3c95b89da5ea

Configured datacage for SINFO selektierte zus. Längsschnitte and twin-datacage panel for flowd depth calculation
author gernotbelger
date Fri, 23 Mar 2018 17:53:59 +0100
parents ee5ce13016ed
children 8a1c6e2ad48b
comparison
equal deleted inserted replaced
8957:7565d7dce850 8958:3c95b89da5ea
262 <dc:comment> S-INFO </dc:comment> 262 <dc:comment> S-INFO </dc:comment>
263 <dc:when test="$out = 'sinfo_flowdepth_minfo_heights'"> 263 <dc:when test="$out = 'sinfo_flowdepth_minfo_heights'">
264 <dc:call-macro name="bed-heights-single"/> 264 <dc:call-macro name="bed-heights-single"/>
265 </dc:when> 265 </dc:when>
266 <dc:when test="$out = 'sinfo_flowdepth_waterlevels'"> 266 <dc:when test="$out = 'sinfo_flowdepth_waterlevels'">
267 <!-- FIXME: check requirement what to show here... --> 267 <minfo>
268 <dc:call-macro name="basedata_0"/> 268 <fixanalysis>
269 <dc:call-macro name="basedata_1_additionals"/> 269 <dc:call-macro name="basedata_7_waterlevels"/>
270 </fixanalysis>
271 </minfo>
272 <dc:call-macro name="basedata_3_officials"/>
270 <dc:call-macro name="basedata_2_fixations"/> 273 <dc:call-macro name="basedata_2_fixations"/>
271 <dc:call-macro name="basedata_4_heightmarks-points"/> 274 <dc:call-macro name="basedata_1_additionals-sinfo-with-q"/>
272 <dc:call-macro name="basedata_5_flood-protections"/> 275 <dc:call-macro name="basedata_1_additionals-sinfo-without-q"/>
273 </dc:when> 276 </dc:when>
274 277
275 <dc:when test="$out = 'sinfo_flow_depth'"> 278 <dc:when test="$out = 'sinfo_flow_depth'">
276 <dc:call-macro name="longitudinal-section-prototype"/> 279 <dc:call-macro name="longitudinal-section-prototype"/>
277 </dc:when> 280 </dc:when>
393 <dc:call-macro name="discharge-curve-user-prototype"/> 396 <dc:call-macro name="discharge-curve-user-prototype"/>
394 </dc:when> 397 </dc:when>
395 <dc:when test="$out = 'historical_discharge_wq'"> 398 <dc:when test="$out = 'historical_discharge_wq'">
396 <dc:call-macro name="discharge-curve-user-prototype"/> 399 <dc:call-macro name="discharge-curve-user-prototype"/>
397 </dc:when> 400 </dc:when>
398 <dc:when test="starts-with($out, 'sq_relation') or 401 <dc:when test="starts-with($out, 'sq_relation') or $out = 'sq_overview'">
399 $out = 'sq_overview'">
400 <dc:call-macro name="discharge-curve-user-prototype"/> 402 <dc:call-macro name="discharge-curve-user-prototype"/>
401 </dc:when> 403 </dc:when>
402 <dc:comment> Time series </dc:comment> 404 <dc:comment> Time series </dc:comment>
403 <dc:when test="$out = 'fix_deltawt_curve'"> 405 <dc:when test="$out = 'fix_deltawt_curve'">
404 <dc:call-macro name="delta-wt"/> 406 <dc:call-macro name="delta-wt"/>
422 <dc:when test="$out = 'floodmap'"> 424 <dc:when test="$out = 'floodmap'">
423 <dc:call-macro name="flood-map"/> 425 <dc:call-macro name="flood-map"/>
424 </dc:when> 426 </dc:when>
425 <dc:when test="$out = 'map'"> 427 <dc:when test="$out = 'map'">
426 <dc:call-macro name="flood-map"/> 428 <dc:call-macro name="flood-map"/>
429 </dc:when>
430
431 <dc:when test="$out = 'sinfo_flowdepth_waterlevels'">
432 <dc:call-macro name="longitudinal-section-fix-vollmer_q"/>
433 <!-- TODO: 'Frühere Berechnungen//Bezugswasserstände' -->
427 </dc:when> 434 </dc:when>
428 </dc:choose> 435 </dc:choose>
429 </dc:iterate> 436 </dc:iterate>
430 </dc:otherwise> 437 </dc:otherwise>
431 </dc:choose> 438 </dc:choose>
583 <dc:macro name="longitudinal-section-fix-vollmer"> 590 <dc:macro name="longitudinal-section-fix-vollmer">
584 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and 591 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and
585 ($facet_name = 'longitudinal_section.w' or 592 ($facet_name = 'longitudinal_section.w' or
586 $facet_name = 'longitudinal_section.q') 593 $facet_name = 'longitudinal_section.q')
587 "> 594 ">
595 <dc:call-macro name="longitudinal-section-fix-vollmer_macro"/>
596 </dc:filter>
597 </dc:macro>
598
599 <dc:macro name="longitudinal-section-fix-vollmer_q">
600 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and $facet_name = 'longitudinal_section.q'">
601 <dc:call-macro name="longitudinal-section-fix-vollmer_macro"/>
602 </dc:filter>
603 </dc:macro>
604
605 <dc:macro name="longitudinal-section-fix-vollmer_macro">
588 <dc:if test="dc:has-result()"> 606 <dc:if test="dc:has-result()">
589 <waterlevels_fix_vollmer> 607 <waterlevels_fix_vollmer>
590 <dc:call-macro name="collection-group"> 608 <dc:call-macro name="collection-group">
591 <waterlevels description="{dc:group-key()}"> 609 <waterlevels description="{dc:group-key()}">
592 <dc:for-each> 610 <dc:for-each>
601 </dc:for-each> 619 </dc:for-each>
602 </waterlevels> 620 </waterlevels>
603 </dc:call-macro> 621 </dc:call-macro>
604 </waterlevels_fix_vollmer> 622 </waterlevels_fix_vollmer>
605 </dc:if> 623 </dc:if>
606 </dc:filter>
607 </dc:macro> 624 </dc:macro>
608 625
609 <dc:macro name="longitudinal-section-fix"> 626 <dc:macro name="longitudinal-section-fix">
610 <dc:filter expr="$out_name = 'fix_longitudinal_section_curve' and 627 <dc:filter expr="$out_name = 'fix_longitudinal_section_curve' and
611 (starts-with($facet_name, 'fix_deviation_ls') or 628 (starts-with($facet_name, 'fix_deviation_ls') or
1270 </dc:filter> 1287 </dc:filter>
1271 </dc:macro> 1288 </dc:macro>
1272 1289
1273 <dc:macro name="basedata_1_additionals"> 1290 <dc:macro name="basedata_1_additionals">
1274 <dc:call-macro name="basedata_1_additionals_macro"> 1291 <dc:call-macro name="basedata_1_additionals_macro">
1292 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]"/>
1293 </dc:call-macro>
1294 </dc:macro>
1295
1296 <dc:macro name="basedata_1_additionals-sinfo-with-q_macro">
1297 <dc:filter expr="$kind=1 and $sinfo_selection='Q'">
1298 <dc:if test="dc:has-result()">
1299 <additionals>
1300 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')">
1301 <additional name="{dc:group-key()}">
1302 <dc:for-each>
1303 <dc:macro-body/>
1304 </dc:for-each>
1305 </additional>
1306 </dc:group>
1307 </additionals>
1308 </dc:if>
1309 </dc:filter>
1310 </dc:macro>
1311
1312 <dc:macro name="basedata_1_additionals-sinfo-with-q">
1313 <dc:call-macro name="basedata_1_additionals-sinfo-with-q_macro">
1314 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]"/>
1315 </dc:call-macro>
1316 </dc:macro>
1317
1318 <dc:macro name="basedata_1_additionals-sinfo-without-q_macro">
1319 <dc:filter expr="$kind=1 and $sinfo_selection='W'">
1320 <dc:if test="dc:has-result()">
1321 <additionals>
1322 <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')">
1323 <additional name="{dc:group-key()}">
1324 <dc:for-each>
1325 <dc:macro-body/>
1326 </dc:for-each>
1327 </additional>
1328 </dc:group>
1329 </additionals>
1330 </dc:if>
1331 </dc:filter>
1332 </dc:macro>
1333
1334 <dc:macro name="basedata_1_additionals-sinfo-without-q">
1335 <dc:call-macro name="basedata_1_additionals-sinfo-without-q_macro">
1275 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]"/> 1336 <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]"/>
1276 </dc:call-macro> 1337 </dc:call-macro>
1277 </dc:macro> 1338 </dc:macro>
1278 1339
1279 <dc:macro name="basedata_1_additionals_wq"> 1340 <dc:macro name="basedata_1_additionals_wq">
3017 wc.position AS wst_column_position, 3078 wc.position AS wst_column_position,
3018 wc.description AS info, 3079 wc.description AS info,
3019 w.description AS wst_description, 3080 w.description AS wst_description,
3020 COALESCE(wc.name, '') AS wst_column_name, 3081 COALESCE(wc.name, '') AS wst_column_name,
3021 wr.a AS deffrom, 3082 wr.a AS deffrom,
3022 wr.b AS defto 3083 wr.b AS defto,
3084 w.sinfo_selection
3023 FROM wst_columns wc 3085 FROM wst_columns wc
3024 JOIN wsts w ON wc.wst_id = w.id 3086 JOIN wsts w ON wc.wst_id = w.id
3025 JOIN wst_ranges wr ON wc.id = wr.wst_column_id 3087 JOIN wst_ranges wr ON wc.id = wr.wst_column_id
3026 WHERE w.river_id = ${river_id} AND 3088 WHERE w.river_id = ${river_id} AND
3027 NOT((${tokm} &lt; wr.a) or (${fromkm} &gt; wr.b)) 3089 NOT((${tokm} &lt; wr.a) or (${fromkm} &gt; wr.b))

http://dive4elements.wald.intevation.org