comparison artifacts/doc/conf/meta-data.xml @ 7443:8ce14aeebe61

meta-data.xml: Subsume the different bed-quality dc-nodes.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 25 Oct 2013 14:10:29 +0200
parents e0a806803fcf
children 97a5f16b976c
comparison
equal deleted inserted replaced
7442:96938401b1cd 7443:8ce14aeebe61
898 </dc:for-each> 898 </dc:for-each>
899 </own-hws> 899 </own-hws>
900 </dc:filter> 900 </dc:filter>
901 </dc:macro> 901 </dc:macro>
902 902
903 <dc:macro name="bedquality-bed"> 903 <dc:macro name="bedquality">
904 <dc:filter expr="$out_name = 'bed_longitudinal_section' and 904 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
905 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or 905 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or
906 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')"> 906 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer' or
907 <dc:if test="dc:has-result()"> 907 $facet_name = 'bed_longitudinal_section.bedload_diameter' or
908 <bed_quality_bed> 908 $facet_name = 'bed_longitudinal_section.sediment_density_toplayer' or
909 $facet_name = 'bed_longitudinal_section.sediment_density_sublayer' or
910 $facet_name = 'bed_longitudinal_section.porosity_toplayer' or
911 $facet_name = 'bed_longitudinal_section.porosity_sublayer')">
912 <dc:if test="dc:has-result()">
913 <bed_quality>
909 <dc:call-macro name="collection-group"> 914 <dc:call-macro name="collection-group">
910 <quality-bed description="{dc:group-key()}"> 915 <quality-bed description="{dc:group-key()}">
911 <dc:for-each> 916 <dc:for-each>
912 <dc:element name="${facet_name}"> 917 <dc:element name="${facet_name}">
913 <dc:attribute name="factory" value="minfo"/> 918 <dc:attribute name="factory" value="minfo"/>
918 <dc:attribute name="out" value="bed_longitudinal_section"/> 923 <dc:attribute name="out" value="bed_longitudinal_section"/>
919 </dc:element> 924 </dc:element>
920 </dc:for-each> 925 </dc:for-each>
921 </quality-bed> 926 </quality-bed>
922 </dc:call-macro> 927 </dc:call-macro>
923 </bed_quality_bed> 928 </bed_quality>
924 </dc:if>
925 </dc:filter>
926 </dc:macro>
927
928 <dc:macro name="bedquality-load">
929 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
930 $facet_name = 'bed_longitudinal_section.bedload_diameter'">
931 <dc:if test="dc:has-result()">
932 <bed_quality_load>
933 <dc:call-macro name="collection-group">
934 <quality-load description="{dc:group-key()}">
935 <dc:for-each>
936 <dc:element name="${facet_name}">
937 <dc:attribute name="factory" value="minfo"/>
938 <dc:attribute name="target_out" value="${out}"/>
939 <dc:attribute name="description" value="${facet_description}"/>
940 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/>
941 <dc:attribute name="artifact-id" value="${a_gid}"/>
942 <dc:attribute name="out" value="bed_longitudinal_section"/>
943 </dc:element>
944 </dc:for-each>
945 </quality-load>
946 </dc:call-macro>
947 </bed_quality_load>
948 </dc:if>
949 </dc:filter>
950 </dc:macro>
951
952 <dc:macro name="bedquality-density">
953 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
954 ($facet_name = 'bed_longitudinal_section.sediment_density_toplayer' or
955 $facet_name = 'bed_longitudinal_section.sediment_density_sublayer')">
956 <dc:if test="dc:has-result()">
957 <bed_quality_density>
958 <dc:call-macro name="collection-group">
959 <density description="{dc:group-key()}">
960 <dc:for-each>
961 <dc:element name="${facet_name}">
962 <dc:attribute name="factory" value="minfo"/>
963 <dc:attribute name="target_out" value="${out}"/>
964 <dc:attribute name="description" value="${facet_description}"/>
965 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/>
966 <dc:attribute name="artifact-id" value="${a_gid}"/>
967 <dc:attribute name="out" value="bed_longitudinal_section"/>
968 </dc:element>
969 </dc:for-each>
970 </density>
971 </dc:call-macro>
972 </bed_quality_density>
973 </dc:if>
974 </dc:filter>
975 </dc:macro>
976
977 <dc:macro name="bedquality-porosity">
978 <dc:filter expr="$out_name = 'bed_longitudinal_section' and
979 ($facet_name = 'bed_longitudinal_section.porosity_toplayer' or
980 $facet_name = 'bed_longitudinal_section.porosity_sublayer')">
981 <dc:if test="dc:has-result()">
982 <bed_quality_porosity>
983 <dc:call-macro name="collection-group">
984 <porosity description="{dc:group-key()}">
985 <dc:for-each>
986 <dc:element name="${facet_name}">
987 <dc:attribute name="factory" value="minfo"/>
988 <dc:attribute name="target_out" value="${out}"/>
989 <dc:attribute name="description" value="${facet_description}"/>
990 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/>
991 <dc:attribute name="artifact-id" value="${a_gid}"/>
992 <dc:attribute name="out" value="bed_longitudinal_section"/>
993 </dc:element>
994 </dc:for-each>
995 </porosity>
996 </dc:call-macro>
997 </bed_quality_porosity>
998 </dc:if> 929 </dc:if>
999 </dc:filter> 930 </dc:filter>
1000 </dc:macro> 931 </dc:macro>
1001 932
1002 <dc:macro name="flow-velocity"> 933 <dc:macro name="flow-velocity">
1305 <dc:call-macro name="differences"/> 1236 <dc:call-macro name="differences"/>
1306 <dc:call-macro name="waterlevels-discharge"/> 1237 <dc:call-macro name="waterlevels-discharge"/>
1307 <dc:call-macro name="longitudinal-section-fix"/> 1238 <dc:call-macro name="longitudinal-section-fix"/>
1308 <dc:comment> MINFO </dc:comment> 1239 <dc:comment> MINFO </dc:comment>
1309 <dc:call-macro name="bedheight_differences"/> 1240 <dc:call-macro name="bedheight_differences"/>
1310 <dc:call-macro name="bedquality-bed"/> 1241 <dc:call-macro name="bedquality"/>
1311 <dc:call-macro name="bedquality-load"/>
1312 <dc:call-macro name="flow-velocity"/> 1242 <dc:call-macro name="flow-velocity"/>
1313 <dc:call-macro name="sediment-load"/> 1243 <dc:call-macro name="sediment-load"/>
1314 <dc:call-macro name="bedquality-density"/>
1315 <dc:call-macro name="bedquality-porosity"/>
1316 </dc:macro> 1244 </dc:macro>
1317 1245
1318 1246
1319 <dc:macro name="densities"> 1247 <dc:macro name="densities">
1320 <densities> 1248 <densities>

http://dive4elements.wald.intevation.org