[PATCH] issue1345: Showing sediment densitie by depth, comment total load

Wald Commits scm-commit at wald.intevation.org
Wed Oct 23 17:09:07 CEST 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1382540887 -7200
# Node ID e4c01198f9094c1a027c9a64c86186c0c82b29bf
# Parent  76015ac8c5f1d2befea15e7cf29e7aaceb5e33fc
issue1345: Showing sediment densitie by depth, comment total load.

diff -r 76015ac8c5f1 -r e4c01198f909 artifacts/doc/conf/meta-data.xml
--- a/artifacts/doc/conf/meta-data.xml	Wed Oct 23 14:53:47 2013 +0200
+++ b/artifacts/doc/conf/meta-data.xml	Wed Oct 23 17:08:07 2013 +0200
@@ -1342,10 +1342,10 @@
         </dc:statement>
         <dc:if test="dc:has-result()">
           <dc:for-each>
-            <density description="{$description}"
+                  <density description="{$depth_lower}-{$depth_upper} cm"
                    factory="sedimentdensity"
                    target_out="{$out}"
-                   info="infome"
+                   info="{$description}"
                    ids="{$sdid}" />
           </dc:for-each>
         </dc:if>
@@ -1420,6 +1420,7 @@
            </susp_sand_bed>
          </dc:if>
        </dc:filter>
+       <dc:comment comment="see issue1345; I am sure it worked before">
        <dc:filter expr="$fraction='total'">
          <dc:if test="dc:has-result()">
            <total_load>
@@ -1427,6 +1428,7 @@
            </total_load>
          </dc:if>
        </dc:filter>
+       </dc:comment>
      </dc:if>
     </dc:macro>
       


More information about the Dive4elements-commits mailing list