comparison artifacts/doc/conf/meta-data.xml @ 7975:5dc5bbfdc023

Select complete differences matrix to have a well sorted dc-tree.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 27 Jun 2014 15:10:10 +0200
parents 02b7ef079e6f
children 1961c4a32df3
comparison
equal deleted inserted replaced
7974:5eb8cd9201d8 7975:5dc5bbfdc023
1743 b2.description AS b2desc, 1743 b2.description AS b2desc,
1744 b2.year AS b2year 1744 b2.year AS b2year
1745 FROM sta b1 1745 FROM sta b1
1746 JOIN sta b2 1746 JOIN sta b2
1747 ON b1.station = b2.station 1747 ON b1.station = b2.station
1748 AND b1.id &lt; b2.id) 1748 AND b1.id &lt;&gt; b2.id)
1749 SELECT DISTINCT b1id, b1desc, b1year, 1749 SELECT DISTINCT b1id, b1desc, b1year,
1750 b2id, b2desc, b2year 1750 b2id, b2desc, b2year
1751 FROM csta 1751 FROM csta
1752 ORDER BY b1desc, b2desc 1752 ORDER BY b1desc, b2desc
1753 </dc:statement> 1753 </dc:statement>
1776 </epochs> 1776 </epochs>
1777 </dc:filter> 1777 </dc:filter>
1778 </dc:macro> 1778 </dc:macro>
1779 1779
1780 <dc:macro name="minfo-heights-diff-tree"> 1780 <dc:macro name="minfo-heights-diff-tree">
1781 <dc:group expr="dc:coalesce($b1year, 'sonstige') #!# dc:coalesce($b2year, 'sonstige')"> 1781 <dc:group expr="dc:coalesce($b1year, 'sonstige')">
1782 <minfo-diff name="{dc:group-key()}"> 1782 <minfo-diff name="{dc:group-key()}">
1783 <dc:for-each> 1783 <dc:for-each>
1784 <dc:choose> 1784 <dc:choose>
1785 <dc:when test="dc:group-key() = $b1year"> 1785 <dc:when test="dc:group-key() = $b1year">
1786 <height factory="bedheight" 1786 <height factory="bedheight"
1799 target_out="{$out}" 1799 target_out="{$out}"
1800 ids="bedheight-single-{$b2id}-{$b2year}#bedheight-single-{$b1id}-{$b1year}" 1800 ids="bedheight-single-{$b2id}-{$b2year}#bedheight-single-{$b1id}-{$b1year}"
1801 info="{$b2desc}#{$b1desc}" 1801 info="{$b2desc}#{$b1desc}"
1802 description="{$b2desc} - {$b1desc}"/> 1802 description="{$b2desc} - {$b1desc}"/>
1803 </dc:when> 1803 </dc:when>
1804 <dc:otherwise> 1804 <!--dc:otherwise>
1805 <height factory="bedheight" 1805 <height factory="bedheight"
1806 target_out="{$out}" 1806 target_out="{$out}"
1807 ids="bedheight-single-{$b2id}-{$b2year}#bedheight-single-{$b1id}-{$b1year}" 1807 ids="bedheight-single-{$b2id}-{$b2year}#bedheight-single-{$b1id}-{$b1year}"
1808 info="{$b2desc}#{$b1desc}" 1808 info="{$b2desc}#{$b1desc}"
1809 description="{$b2desc} - {$b1desc}"/> 1809 description="{$b2desc} - {$b1desc}"/>
1810 </dc:otherwise> 1810 </dc:otherwise-->
1811 </dc:choose> 1811 </dc:choose>
1812 </dc:for-each> 1812 </dc:for-each>
1813 </minfo-diff> 1813 </minfo-diff>
1814 </dc:group> 1814 </dc:group>
1815 </dc:macro> 1815 </dc:macro>

http://dive4elements.wald.intevation.org