changeset 4538:8cd4b019f150

Load bedheigt single values via the datacage for a bedheight middle output The bedheight single values are used to generate a soundings width chart.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 15 Nov 2012 16:29:31 +0100
parents d337c67b6845
children 71c1a988a9ea
files flys-artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 26 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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>

http://dive4elements.wald.intevation.org