comparison artifacts/doc/conf/meta-data.xml @ 8004:05ef23d55046 facet-metadata

Added macro for middle bedheights for old calculations.
author Raimund Renkert <rrenkert@intevation.de>
date Thu, 03 Jul 2014 12:30:41 +0200
parents a1a918f63bb4
children 80e4aa6e9936
comparison
equal deleted inserted replaced
8003:06668e62cd7b 8004:05ef23d55046
1028 </sediment_load> 1028 </sediment_load>
1029 </dc:if> 1029 </dc:if>
1030 </dc:filter> 1030 </dc:filter>
1031 </dc:macro> 1031 </dc:macro>
1032 1032
1033 <dc:macro name="middle_bedheights">
1034 <dc:filter expr="($out_name = 'bedheight_middle') and
1035 (starts-with($facet_name, 'bedheight_middle.single'))">
1036 <dc:if test="dc:has-result()">
1037 <middle_bedheights>
1038 <dc:call-macro name="collection-group">
1039 <middle_bedheight description="{dc:group-key()}">
1040 <dc:for-each>
1041 <dc:element name="${facet_name}">
1042 <dc:attribute name="factory" value="minfo"/>
1043 <dc:attribute name="target_out" value="${out}"/>
1044 <dc:attribute name="description" value="${facet_description}"/>
1045 <dc:attribute name="ids" value="${facet_num}"/>
1046 <dc:attribute name="artifact-id" value="${a_gid}"/>
1047 <dc:attribute name="out" value="${out_name}"/>
1048 </dc:element>
1049 </dc:for-each>
1050 </middle_bedheight>
1051 </dc:call-macro>
1052 </middle_bedheights>
1053 </dc:if>
1054 </dc:filter>
1055 </dc:macro>
1056
1033 <dc:macro name="bedheight_differences"> 1057 <dc:macro name="bedheight_differences">
1034 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_height_year') and 1058 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_height_year') and
1035 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.height'))"> 1059 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.height'))">
1036 <dc:if test="dc:has-result()"> 1060 <dc:if test="dc:has-result()">
1037 <bedheight_differences> 1061 <bedheight_differences>
1311 <dc:call-macro name="differences"/> 1335 <dc:call-macro name="differences"/>
1312 <dc:call-macro name="waterlevels-discharge"/> 1336 <dc:call-macro name="waterlevels-discharge"/>
1313 <dc:call-macro name="longitudinal-section-fix"/> 1337 <dc:call-macro name="longitudinal-section-fix"/>
1314 <dc:call-macro name="longitudinal-section-fix-vollmer"/> 1338 <dc:call-macro name="longitudinal-section-fix-vollmer"/>
1315 <dc:comment> MINFO </dc:comment> 1339 <dc:comment> MINFO </dc:comment>
1340 <dc:call-macro name="middle_bedheights"/>
1316 <dc:call-macro name="bedheight_differences"/> 1341 <dc:call-macro name="bedheight_differences"/>
1317 <dc:call-macro name="bedquality"/> 1342 <dc:call-macro name="bedquality"/>
1318 <dc:call-macro name="flow-velocity"/> 1343 <dc:call-macro name="flow-velocity"/>
1319 <dc:call-macro name="sediment-load"/> 1344 <dc:call-macro name="sediment-load"/>
1320 </dc:macro> 1345 </dc:macro>

http://dive4elements.wald.intevation.org