comparison artifacts/doc/conf/meta-data.xml @ 9624:02ca823ec9c6

zu Pos 20 Nachtrag; infrastructureChoice
author dnt_bjoernsen <d.tironi@bjoernsen.de>
date Fri, 11 Oct 2019 18:30:36 +0200
parents 1d4262a68f1f
children 07f02019065e
comparison
equal deleted inserted replaced
9623:677ff7ed9a60 9624:02ca823ec9c6
325 <dc:when test="$out = 'sinfo_flood_height'"> 325 <dc:when test="$out = 'sinfo_flood_height'">
326 <dc:call-macro name="longitudinal-section-prototype" /> 326 <dc:call-macro name="longitudinal-section-prototype" />
327 </dc:when> 327 </dc:when>
328 <dc:when test="$out = 'sinfo_floodduration_curve'"> 328 <dc:when test="$out = 'sinfo_floodduration_curve'">
329 <dc:call-macro name="floodduration_curve_system" /> 329 <dc:call-macro name="floodduration_curve_system" />
330 </dc:when>
331 <dc:when test="$out = 'sinfo_floodduration_infrastructures'">
332 <dc:call-macro name="predefined_infrastructures" />
330 </dc:when> 333 </dc:when>
331 <dc:when test="$out = 'uinfo_salix_line'"> 334 <dc:when test="$out = 'uinfo_salix_line'">
332 <dc:call-macro name="longitudinal-section-prototype" /> 335 <dc:call-macro name="longitudinal-section-prototype" />
333 </dc:when> 336 </dc:when>
334 <dc:when test="$out = 'uinfo.inundation_duration.vegzoneselect'"> 337 <dc:when test="$out = 'uinfo.inundation_duration.vegzoneselect'">
790 </dc:if> 793 </dc:if>
791 </dc:filter> 794 </dc:filter>
792 </dc:macro> 795 </dc:macro>
793 796
794 <dc:macro name="fix-wq-curve"> 797 <dc:macro name="fix-wq-curve">
795 <dc:filter expr="($out_name = 'fix_wq_curve' and 798 <dc:filter
799 expr="($out_name = 'fix_wq_curve' and
796 (starts-with($facet_name, 'fix_analysis_events_wq') or 800 (starts-with($facet_name, 'fix_analysis_events_wq') or
797 starts-with($facet_name, 'fix_reference_events_wq') or 801 starts-with($facet_name, 'fix_reference_events_wq') or
798 starts-with($facet_name, 'fix_sector_average_wq') or 802 starts-with($facet_name, 'fix_sector_average_wq') or
799 $facet_name = 'fix_wq_curve')) or 803 $facet_name = 'fix_wq_curve')) or
800 ($out_name = 'fix_derivate_curve' and 804 ($out_name = 'fix_derivate_curve' and
1406 <dc:variable name="vegzonedata" expr="dc:defaultvegetationzone($river)" /> 1410 <dc:variable name="vegzonedata" expr="dc:defaultvegetationzone($river)" />
1407 1411
1408 <defaultVegetationZone factory="predefined_vegetation_zonesf" target_out="{$out}" ids="{$vegzonedata}" /> 1412 <defaultVegetationZone factory="predefined_vegetation_zonesf" target_out="{$out}" ids="{$vegzonedata}" />
1409 </vegetation_zones> 1413 </vegetation_zones>
1410 </uinfo> 1414 </uinfo>
1415 </dc:macro>
1416
1417 <!-- XXXXXXX -->
1418 <dc:macro name="predefined_infrastructures">
1419 <infrastructures TODO="i10n">
1420 <dc:context connection="system">
1421 <dc:statement>
1422 SELECT *
1423 FROM infrastructure
1424 WHERE river_id = ${river_id}
1425 </dc:statement>
1426 <dc:group expr="$group_id">
1427 <infrastructure_group description="{dc:group-key()}">
1428 <dc:for-each>
1429 <!-- name="{$annotation_type_id}" -->
1430 <!-- not necessary: target_out="{$out}" -->
1431 <infrastructure_type description="{$FILENAME}" factory="FAKE_FACTORY" group_label="{$group_id}" group_id="{$group_id}" type_id="{$annotation_type_id}" type_label="{$annotation_type_id}" />
1432 </dc:for-each>
1433 </infrastructure_group>
1434 </dc:group>
1435 </dc:context>
1436 </infrastructures>
1411 </dc:macro> 1437 </dc:macro>
1412 1438
1413 <!-- wst-data --> 1439 <!-- wst-data -->
1414 1440
1415 <!-- model-waterlevels --> 1441 <!-- model-waterlevels -->
3496 </dc:if> 3522 </dc:if>
3497 </dc:filter> 3523 </dc:filter>
3498 </dc:macro> 3524 </dc:macro>
3499 3525
3500 <dc:macro name="sinfo_flowdepths_minmax"> 3526 <dc:macro name="sinfo_flowdepths_minmax">
3501 <dc:filter expr="$a_state = 'state.sinfo.flow_depth_minmax' and 3527 <dc:filter
3528 expr="$a_state = 'state.sinfo.flow_depth_minmax' and
3502 ( $facet_name = 'sinfo_facet_flow_depth_min' or 3529 ( $facet_name = 'sinfo_facet_flow_depth_min' or
3503 $facet_name = 'sinfo_facet_flow_depth_bedheight_min' or 3530 $facet_name = 'sinfo_facet_flow_depth_bedheight_min' or
3504 $facet_name = 'sinfo_facet_flow_depth_bedheight_max' or 3531 $facet_name = 'sinfo_facet_flow_depth_bedheight_max' or
3505 $facet_name = 'sinfo_facet_flow_depth_waterlevel' or 3532 $facet_name = 'sinfo_facet_flow_depth_waterlevel' or
3506 $facet_name = 'sinfo_facet_flow_depth_discharge' or 3533 $facet_name = 'sinfo_facet_flow_depth_discharge' or

http://dive4elements.wald.intevation.org