[Dive4elements-commits] [PATCH 6 of 8] Load bedheigt single values via the datacage for a bedheight middle output

Wald Commits scm-commit at wald.intevation.org
Thu Nov 15 16:31:35 CET 2012


# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1352993371 -3600
# Node ID 8cd4b019f15061085244790e3f772c2052979a0b
# Parent  d337c67b6845135495e15b23748e683d111999b5
Load bedheigt single values via the datacage for a bedheight middle output

The bedheight single values are used to generate a soundings width chart.

diff -r d337c67b6845 -r 8cd4b019f150 flys-artifacts/doc/conf/meta-data.xml
--- a/flys-artifacts/doc/conf/meta-data.xml	Thu Nov 15 16:27:56 2012 +0100
+++ b/flys-artifacts/doc/conf/meta-data.xml	Thu Nov 15 16:29:31 2012 +0100
@@ -786,6 +786,28 @@
                 <dc:call-macro name="annotations"/>
                 <dc:call-macro name="flow_velocity_measurements"/>
               </dc:if>
+              <dc:comment>
+                MINFO bedheight middle
+              </dc:comment>
+              <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')">
+                <soundings_width>
+                  <dc:context>
+                    <dc:statement>
+                        SELECT id          AS bedh_id,
+                               year        AS bedh_year,
+                               description AS bedh_descr
+                        FROM bed_height_single WHERE river_id = ${river_id}
+                    </dc:statement>
+                    <dc:elements>
+                      <height>
+                        <dc:attribute name="factory" value="bedheight"/>
+                        <dc:attribute name="ids" value="bedheight-singlevalues-${bedh_id}-${bedh_year}"/>
+                        <dc:attribute name="description" value="${bedh_descr}"/>
+                      </height>
+                    </dc:elements>
+                  </dc:context>
+                </soundings_width>
+              </dc:if>
              <dc:comment comment="--- non-recommendations---"/>
             </dc:otherwise>
           </dc:choose>
@@ -2022,6 +2044,10 @@
           </fix_longitudinal_section_curve>
         </dc:if>
 
+        <dc:comment>
+          MINFO bedheight middle
+        </dc:comment>
+
         <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')">
           <fix_vollmer_wq_curve>
             <dc:elements>


More information about the Dive4elements-commits mailing list