changeset 1731:37606f0ddc1e

Also display the 'zus' in wdiff-input datacage. flys-artifacts/trunk@3016 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 18 Oct 2011 15:22:33 +0000
parents 4a245ad0ac17
children 1a57027286ce
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/meta-data.xml
diffstat 2 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Oct 18 15:17:11 2011 +0000
+++ b/flys-artifacts/ChangeLog	Tue Oct 18 15:22:33 2011 +0000
@@ -1,3 +1,11 @@
+2011-10-18  Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Adjusted Datacage-Configuration to fetch "extra longitudinal...."
+	(.zus) - waterlevels in certain case (in system-part).
+
+	* doc/conf/meta-data.xml: Adjusted to present extra-kms with
+	  staticwkms factory in certain case.
+
 2011-10-17  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* doc/conf/themes.xml:
--- a/flys-artifacts/doc/conf/meta-data.xml	Tue Oct 18 15:17:11 2011 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Tue Oct 18 15:22:33 2011 +0000
@@ -48,6 +48,40 @@
                 </dc:elements>
               </dc:context>
             </flood-protections>
+            <extra-longitudinal-sections>
+              <dc:attribute name="id" value="extra-longitudinal-sections-${river_id}"/>
+              <dc:context>
+                <dc:statement>
+                  SELECT id          AS els_id,
+                         description AS els_description
+                  FROM wsts WHERE kind = 1 AND river_id = ${river_id}
+                </dc:statement>
+                <dc:elements>
+                  <extra-longitudinal-section>
+                    <dc:attribute name="name" value="${els_description}"/>
+                    <dc:attribute name="db-id" value="${els_id}"/>
+                    <columns>
+                      <dc:context>
+                        <dc:statement>
+                          SELECT id       AS els_column_id,
+                                 name     AS els_column_name,
+                                 position AS els_rel_pos
+                          FROM wst_columns WHERE wst_id = ${els_id}
+                          ORDER by position
+                        </dc:statement>
+                        <dc:elements>
+                          <column>
+                             <dc:attribute name="name" value="${els_column_name}"/>
+                             <dc:attribute name="id" value="flood_protection-wstv-${els_rel_pos}-${els_id}"/>
+                            <dc:attribute name="factory" value="staticwkms"/>
+                          </column>
+                        </dc:elements>
+                      </dc:context>
+                    </columns>
+                  </extra-longitudinal-section>
+                </dc:elements>
+              </dc:context>
+            </extra-longitudinal-sections>
           </dc:if>
           <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')">
               <discharge-table-nn>

http://dive4elements.wald.intevation.org