diff artifacts/doc/conf/meta-data.xml @ 9495:bb278c927b66

Datenkorb bezugswasserstände längsschnitte + minor fixes
author gernotbelger
date Tue, 25 Sep 2018 16:43:51 +0200
parents e5cb5efbc43e
children 853f2dafc16e
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Mon Sep 24 18:01:10 2018 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Tue Sep 25 16:43:51 2018 +0200
@@ -142,10 +142,10 @@
                   <dc:when test="$out = 'sinfo_flood_height'">
                     <dc:call-macro name="annotations" />
                   </dc:when>
-                  <!--TODO sinfo_floodduration_curve: mainvalues wie in winfo-duration_curve unterstuetzen-->
+                  <!--TODO sinfo_floodduration_curve: mainvalues wie in winfo-duration_curve unterstuetzen -->
                   <!--dc:when test="$out = 'sinfo_floodduration_curve'">
                     <dc:call-macro name="mainvalues" />
-                  </dc:when-->
+                    </dc:when -->
                   <dc:when test="$out = 'uinfo_salix_line'">
                     <dc:call-macro name="annotations" />
                   </dc:when>
@@ -328,13 +328,13 @@
                   <dc:when test="$out = 'sinfo_flood_height'">
                     <dc:call-macro name="longitudinal-section-prototype" />
                   </dc:when>
-                  <!--TODO sinfo_floodduration_curve: mainvalues wie in winfo-duration_curve unterstuetzen-->
+                  <!--TODO sinfo_floodduration_curve: mainvalues wie in winfo-duration_curve unterstuetzen -->
                   <!--dc:when test="$out = 'sinfo_floodduration_curve'">
                     <dc:call-macro name="mainvalues" />
                     <dc:call-macro name="basedata_2_fixations_relative_point" />
                     <dc:call-macro name="basedata_4_heightmarks-points-relative_points" />
                     <dc:call-macro name="basedata_5_flood-protections_relative_points" />
-                  </dc:when-->
+                    </dc:when -->
 
                   <dc:when test="$out = 'uinfo_salix_line'">
                     <dc:call-macro name="longitudinal-section-prototype" />
@@ -348,8 +348,8 @@
                   </dc:when>
                   <dc:when test="$out = 'bundu_depth_longitudinal_section'">
                     <dc:call-macro name="longitudinal-section-prototype" />
-                  </dc:when>
-                </dc:choose>
+                  </dc:when> 
+                </dc:choose> 
               </dc:iterate>
             </dc:otherwise>
           </dc:choose>
@@ -465,6 +465,8 @@
                     <dc:when test="$out = 'bundu_depth_longitudinal_section'">
                       <dc:call-macro name="longitudinal-section-user-prototype" />
                     </dc:when>
+
+
                     <dc:comment> Discharge curves </dc:comment>
                     <dc:when test="$out = 'computed_discharge_curve'">
                       <dc:call-macro name="discharge-curve-user-prototype" />
@@ -1718,6 +1720,7 @@
         </sinfo_predefined_depthevol>
 
       </sinfo>
+    
     </dc:macro>
 
     <dc:macro name="longitudinal-section-user-prototype">
@@ -1742,9 +1745,12 @@
       <dc:call-macro name="bedquality" />
       <dc:call-macro name="flow-velocity" />
       <dc:call-macro name="sediment-load" />
-      
+
       <dc:comment> UINFO </dc:comment>
       <dc:call-macro name="uinfo_salix_line" />
+
+      <dc:comment> BUNDU </dc:comment>
+      <dc:call-macro name="bundu_bezugswst" />
     </dc:macro>
 
     <!-- porosities -->
@@ -3527,7 +3533,7 @@
         </dc:if>
       </dc:filter>
     </dc:macro>
-    
+
     <!-- channel size imported from CSV-files for S-INFO -->
     <dc:macro name="sinfo_predefined_channel">
       <dc:context>
@@ -3775,5 +3781,68 @@
       </dc:filter>
     </dc:macro>
 
+
+    <!-- U-INFO -->
+    <dc:macro name="bundu_bezugswst">
+      <dc:filter
+        expr="$a_state = 'state.bundu.wst' 
+       
+          and ($facet_name = 'longitudinal_section.w' 
+          or $facet_name = 'bundu_facet_bedheight' 
+          or $facet_name = 'bundu_facet_channelmin' 
+          or $facet_name = 'bundu_facet_bedheight_01' 
+          or $facet_name = 'bundu_facet_bedheight_02' 
+          or $facet_name = 'bundu_facet_bedheight_03' 
+          or $facet_name = 'bundu_facet_bedheight_04' 
+          or $facet_name = 'bundu_facet_bedheight_05' 
+          or $facet_name = 'bundu_facet_bedheight_06' 
+          or $facet_name = 'bundu_facet_bedheight_07' 
+          or $facet_name = 'bundu_facet_bedheight_08' 
+          or $facet_name = 'bundu_facet_bedheight_09' 
+          or $facet_name = 'bundu_facet_bedheight_10' 
+          or $facet_name = 'bundu_facet_bedheight_01' 
+          or $facet_name = 'bundu_facet_bedheight_01' 
+          or $facet_name = 'longitudinal_section.q' 
+          or $facet_name = 'longitudinal_section.area' 
+          or $facet_name = 'longitudinal_section.manualpoints' 
+            or $facet_name = 'bundu_facet_flowdepth.filtered' 
+            or $facet_name = 'bundu_facet_channeldepth' 
+            or $facet_name = 'bundu_facet_depth_01.filtered' 
+            or $facet_name = 'bundu_facet_depth_02.filtered' 
+            or $facet_name = 'bundu_facet_depth_03.filtered' 
+            or $facet_name = 'bundu_facet_depth_04.filtered' 
+            or $facet_name = 'bundu_facet_depth_05.filtered' 
+            or $facet_name = 'bundu_facet_depth_06.filtered' 
+            or $facet_name = 'bundu_facet_depth_07.filtered' 
+            or $facet_name = 'bundu_facet_depth_08.filtered' 
+            or $facet_name = 'bundu_facet_depth_09.filtered' 
+            or $facet_name = 'bundu_facet_depth_10.filtered'  
+            or $facet_name = 'longitudinal_section.area' 
+            or $facet_name = 'longitudinal_section.manualpoints' 
+            )" > 
+            
+        <dc:if test="dc:has-result()">
+          <bundu_bezugswsts>
+            <dc:call-macro name="collection-group">
+              <bundu_bezugswst description="{dc:group-key()}">
+                <dc:for-each>
+                  <dc:element name="${facet_name}">
+                    <dc:attribute name="factory" value="bundu" />
+                    <dc:attribute name="target_out" value="${out}" />
+                    <dc:attribute name="description" value="${facet_description}" />
+                    <dc:attribute name="ids" value="${facet_num}" />
+                    <dc:attribute name="artifact-id" value="${a_gid}" />
+                    <dc:attribute name="out" value="${out_name}" />
+                  </dc:element>
+                </dc:for-each>
+              </bundu_bezugswst>
+            </dc:call-macro>
+          </bundu_bezugswsts>
+        </dc:if>
+      </dc:filter>
+    </dc:macro>
+
+
+
   </datacage>
 </dc:template>
\ No newline at end of file

http://dive4elements.wald.intevation.org