[Dive4elements-commits] [PATCH 1 of 3] Added wsts with kind=6 (delta W ls) to datacage config
Wald Commits
scm-commit at wald.intevation.org
Thu Jun 6 18:10:44 CEST 2013
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1370534907 -7200
# Node ID a782693e4d5fe56edb887c9f3f29cb37ce4b5af2
# Parent 0aa9c5d8dccb0961de0027cf0af31fe12f5bfda4
Added wsts with kind=6 (delta W ls) to datacage config.
diff -r 0aa9c5d8dccb -r a782693e4d5f artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml Thu Jun 06 17:33:47 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml Thu Jun 06 18:08:27 2013 +0200
@@ -190,6 +190,7 @@
<dc:call-macro name="basedata_1_additionals"/>
<dc:call-macro name="basedata_2_fixations"/>
<dc:call-macro name="basedata_3_officials"/>
+ <dc:call-macro name="basedata_6_delta_w"/>
<dc:call-macro name="annotations_per_type"/>
<dc:call-macro name="morph_width"/>
</dc:when>
@@ -1144,6 +1145,25 @@
</dc:filter>
</dc:macro>
+ <dc:macro name="basedata_6_delta_w">
+ <dc:filter expr="$kind=6">
+ <dc:if test="dc:has-result()">
+ <delta_w>
+ <dc:group expr="$wst_description">
+ <relativepoint name="{dc:group-key()}">
+ <dc:for-each>
+ <column name="{$wst_column_name}"
+ ids="delta_w-wstv-{$wst_column_position}-{$wst_id}"
+ factory="staticwkms" target_out="{$out}"
+ info="{$info} [km {$deffrom} - {$defto}]"/>
+ </dc:for-each>
+ </relativepoint>
+ </dc:group>
+ </delta_w>
+ </dc:if>
+ </dc:filter>
+ </dc:macro>
+
<dc:macro name="discharge_table_gauge">
<dc:context>
<dc:statement>
More information about the Dive4elements-commits
mailing list