[PATCH 8 of 9] Added macro for middle bedheights for old calculations
Wald Commits
scm-commit at wald.intevation.org
Thu Jul 3 12:31:36 CEST 2014
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1404383441 -7200
# Branch facet-metadata
# Node ID 05ef23d55046e8d92f5c96348d1493567a206abb
# Parent 06668e62cd7bd112a581d0d9137a6f9f4f216bbf
Added macro for middle bedheights for old calculations.
diff -r 06668e62cd7b -r 05ef23d55046 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml Thu Jul 03 11:34:46 2014 +0200
+++ b/artifacts/doc/conf/meta-data.xml Thu Jul 03 12:30:41 2014 +0200
@@ -1030,6 +1030,30 @@
</dc:filter>
</dc:macro>
+ <dc:macro name="middle_bedheights">
+ <dc:filter expr="($out_name = 'bedheight_middle') and
+ (starts-with($facet_name, 'bedheight_middle.single'))">
+ <dc:if test="dc:has-result()">
+ <middle_bedheights>
+ <dc:call-macro name="collection-group">
+ <middle_bedheight description="{dc:group-key()}">
+ <dc:for-each>
+ <dc:element name="${facet_name}">
+ <dc:attribute name="factory" value="minfo"/>
+ <dc:attribute name="target_out" value="${out}"/>
+ <dc:attribute name="description" value="${facet_description}"/>
+ <dc:attribute name="ids" value="${facet_num}"/>
+ <dc:attribute name="artifact-id" value="${a_gid}"/>
+ <dc:attribute name="out" value="${out_name}"/>
+ </dc:element>
+ </dc:for-each>
+ </middle_bedheight>
+ </dc:call-macro>
+ </middle_bedheights>
+ </dc:if>
+ </dc:filter>
+ </dc:macro>
+
<dc:macro name="bedheight_differences">
<dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_height_year') and
(starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.height'))">
@@ -1313,6 +1337,7 @@
<dc:call-macro name="longitudinal-section-fix"/>
<dc:call-macro name="longitudinal-section-fix-vollmer"/>
<dc:comment> MINFO </dc:comment>
+ <dc:call-macro name="middle_bedheights"/>
<dc:call-macro name="bedheight_differences"/>
<dc:call-macro name="bedquality"/>
<dc:call-macro name="flow-velocity"/>
More information about the Dive4Elements-commits
mailing list