diff artifacts/doc/conf/meta-data.xml @ 7621:00db0071388f

issue1579: Added macro to load interpolated official lines. Call this macro for discharge curves.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 02 Dec 2013 09:48:48 +0100
parents 4f69ebe580e1
children 3dd505477fcc
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml	Fri Nov 29 12:18:16 2013 +0100
+++ b/artifacts/doc/conf/meta-data.xml	Mon Dec 02 09:48:48 2013 +0100
@@ -1196,7 +1196,28 @@
                 <dc:for-each>
                   <column name="{$wst_column_name}"
                           ids="additionals-wstv-{$wst_column_position}-{$wst_id}"
-                          factory="staticwqkms" target_out="{$out}"
+                          factory="staticwqkms"
+                          target_out="{$out}"
+                          info="{$info} [km {$deffrom} - {$defto}]"/>
+                </dc:for-each>
+              </official>
+            </dc:group>
+          </officiallines>
+        </dc:if>
+      </dc:filter>
+    </dc:macro>
+
+    <dc:macro name="basedata_3_officials_wq">
+      <dc:filter expr="$kind=3">
+        <dc:if test="dc:has-result()">
+          <officiallines>
+            <dc:group expr="$wst_description">
+              <official name="{dc:group-key()}">
+                <dc:for-each>
+                  <column name="{$wst_column_name}"
+                          ids="officials_wq-wstv-{$wst_column_position}-{$wst_id}"
+                          factory="wqinterpol"
+                          target_out="{$out}"
                           info="{$info} [km {$deffrom} - {$defto}]"/>
                 </dc:for-each>
               </official>
@@ -1248,6 +1269,7 @@
         <dc:call-macro name="discharge_table_gauge"/>
         <dc:call-macro name="historical_discharge_curve"/>
         <dc:call-macro name="basedata_0_wq"/>
+        <dc:call-macro name="basedata_3_officials_wq"/>
         <dc:call-macro name="basedata_2_fixations_wqkms"/>
         <dc:call-macro name="basedata_4_heightmarks-points"/>
     </dc:macro>

http://dive4elements.wald.intevation.org