Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 7420:daa04d2f42ed
meta-data.xml: More usage of collection-group-macro.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 23 Oct 2013 11:22:47 +0200 |
parents | cae7c0625436 |
children | fcf72e5777c0 |
comparison
equal
deleted
inserted
replaced
7419:cae7c0625436 | 7420:daa04d2f42ed |
---|---|
774 <dc:macro name="waterlevels-fix"> | 774 <dc:macro name="waterlevels-fix"> |
775 <dc:filter expr="($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and | 775 <dc:filter expr="($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and |
776 (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location'))"> | 776 (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location'))"> |
777 <dc:if test="dc:has-result()"> | 777 <dc:if test="dc:has-result()"> |
778 <waterlevels> | 778 <waterlevels> |
779 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> | 779 <dc:call-macro name="collection-group"> |
780 <waterlevels description="{dc:group-key()}"> | 780 <waterlevels description="{dc:group-key()}"> |
781 <dc:for-each> | 781 <dc:for-each> |
782 <dc:choose> | 782 <dc:choose> |
783 <dc:when test="$ld_m = 'location'"> | 783 <dc:when test="$ld_m = 'location'"> |
784 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> | 784 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> |
796 <dc:attribute name="artifact-id" value="${a_gid}"/> | 796 <dc:attribute name="artifact-id" value="${a_gid}"/> |
797 <dc:attribute name="out" value="longitudinal_section"/> | 797 <dc:attribute name="out" value="longitudinal_section"/> |
798 </dc:element> | 798 </dc:element> |
799 </dc:for-each> | 799 </dc:for-each> |
800 </waterlevels> | 800 </waterlevels> |
801 </dc:group> | 801 </dc:call-macro> |
802 </waterlevels> | 802 </waterlevels> |
803 </dc:if> | 803 </dc:if> |
804 </dc:filter> | 804 </dc:filter> |
805 </dc:macro> | 805 </dc:macro> |
806 | 806 |
814 </dc:comment> | 814 </dc:comment> |
815 <dc:comment comment="Vollmer curves need own factory"/> | 815 <dc:comment comment="Vollmer curves need own factory"/> |
816 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and $facet_name = 'longitudinal_section.w'"> | 816 <dc:filter expr="$a_state = 'state.fix.vollmer.compute' and $facet_name = 'longitudinal_section.w'"> |
817 <dc:if test="dc:has-result()"> | 817 <dc:if test="dc:has-result()"> |
818 <vollmer_waterlevels> | 818 <vollmer_waterlevels> |
819 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> | 819 <dc:call-macro name="collection-group"> |
820 <waterlevels description="{dc:group-key()}"> | 820 <waterlevels description="{dc:group-key()}"> |
821 <dc:for-each> | 821 <dc:for-each> |
822 <dc:choose> | 822 <dc:choose> |
823 <dc:when test="$ld_m = 'location'"> | 823 <dc:when test="$ld_m = 'location'"> |
824 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> | 824 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> |
836 <dc:attribute name="artifact-id" value="${a_gid}"/> | 836 <dc:attribute name="artifact-id" value="${a_gid}"/> |
837 <dc:attribute name="out" value="longitudinal_section"/> | 837 <dc:attribute name="out" value="longitudinal_section"/> |
838 </dc:element> | 838 </dc:element> |
839 </dc:for-each> | 839 </dc:for-each> |
840 </waterlevels> | 840 </waterlevels> |
841 </dc:group> | 841 </dc:call-macro> |
842 </vollmer_waterlevels> | 842 </vollmer_waterlevels> |
843 </dc:if> | 843 </dc:if> |
844 </dc:filter> | 844 </dc:filter> |
845 <dc:filter expr="not($a_state = 'state.fix.vollmer.compute') and (($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and | 845 <dc:filter expr="not($a_state = 'state.fix.vollmer.compute') and (($out_name = 'longitudinal_section' and $facet_name = 'longitudinal_section.w') and |
846 (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location')))"> | 846 (not ($current-state-id = 'state.winfo.uesk.wsp' and $ld_m = 'location')))"> |
847 <dc:if test="dc:has-result()"> | 847 <dc:if test="dc:has-result()"> |
848 <waterlevels> | 848 <waterlevels> |
849 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> | 849 <dc:call-macro name="collection-group"> |
850 <waterlevels description="{dc:group-key()}"> | 850 <waterlevels description="{dc:group-key()}"> |
851 <dc:for-each> | 851 <dc:for-each> |
852 <dc:choose> | 852 <dc:choose> |
853 <dc:when test="$ld_m = 'location'"> | 853 <dc:when test="$ld_m = 'location'"> |
854 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> | 854 <dc:variable name="combined_desc" expr="concat($facet_description, ' an KM ', $deffrom)"/> |
866 <dc:attribute name="artifact-id" value="${a_gid}"/> | 866 <dc:attribute name="artifact-id" value="${a_gid}"/> |
867 <dc:attribute name="out" value="longitudinal_section"/> | 867 <dc:attribute name="out" value="longitudinal_section"/> |
868 </dc:element> | 868 </dc:element> |
869 </dc:for-each> | 869 </dc:for-each> |
870 </waterlevels> | 870 </waterlevels> |
871 </dc:group> | 871 </dc:call-macro> |
872 </waterlevels> | 872 </waterlevels> |
873 </dc:if> | 873 </dc:if> |
874 </dc:filter> | 874 </dc:filter> |
875 </dc:macro> | 875 </dc:macro> |
876 | 876 |
897 <dc:filter expr="$out_name = 'bed_longitudinal_section' and | 897 <dc:filter expr="$out_name = 'bed_longitudinal_section' and |
898 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or | 898 ($facet_name = 'bed_longitudinal_section.bed_diameter_toplayer' or |
899 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')"> | 899 $facet_name = 'bed_longitudinal_section.bed_diameter_sublayer')"> |
900 <dc:if test="dc:has-result()"> | 900 <dc:if test="dc:has-result()"> |
901 <bed_quality_bed> | 901 <bed_quality_bed> |
902 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:mm:ss', $a_creation), ' ', $collection_name)"> | 902 <dc:call-macro name="collection-group"> |
903 <quality-bed description="{dc:group-key()}"> | 903 <quality-bed description="{dc:group-key()}"> |
904 <dc:for-each> | 904 <dc:for-each> |
905 <dc:element name="${facet_name}"> | 905 <dc:element name="${facet_name}"> |
906 <dc:attribute name="factory" value="minfo"/> | 906 <dc:attribute name="factory" value="minfo"/> |
907 <dc:attribute name="target_out" value="${out}"/> | 907 <dc:attribute name="target_out" value="${out}"/> |
910 <dc:attribute name="artifact-id" value="${a_gid}"/> | 910 <dc:attribute name="artifact-id" value="${a_gid}"/> |
911 <dc:attribute name="out" value="bed_longitudinal_section"/> | 911 <dc:attribute name="out" value="bed_longitudinal_section"/> |
912 </dc:element> | 912 </dc:element> |
913 </dc:for-each> | 913 </dc:for-each> |
914 </quality-bed> | 914 </quality-bed> |
915 </dc:group> | 915 </dc:call-macro> |
916 </bed_quality_bed> | 916 </bed_quality_bed> |
917 </dc:if> | 917 </dc:if> |
918 </dc:filter> | 918 </dc:filter> |
919 </dc:macro> | 919 </dc:macro> |
920 | 920 |