[Dive4elements-commits] [PATCH] Move hws out of data cage flood map

Wald Commits scm-commit at wald.intevation.org
Fri Mar 15 19:41:17 CET 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1363372873 -3600
# Node ID 91070b7842120d3b4d591c1857476ee431bd8080
# Parent  5376aa576604fe15e3e2f94322ff676a78d298db
Move hws out of data cage flood map.

diff -r 5376aa576604 -r 91070b784212 flys-artifacts/doc/conf/meta-data.xml
--- a/flys-artifacts/doc/conf/meta-data.xml	Fri Mar 15 19:35:46 2013 +0100
+++ b/flys-artifacts/doc/conf/meta-data.xml	Fri Mar 15 19:41:13 2013 +0100
@@ -946,15 +946,22 @@
                   <dc:when test="dc:contains($parameters, 'dem')">
                     <dc:call-macro name="flood-map-dem"/>
                   </dc:when>
-                  <dc:when test="dc:contains($parameters, 'hws')">
+                  <!-- dc:when test="dc:contains($parameters, 'hws')">
                     <dc:call-macro name="flood-map-hws-lines" />
                     <dc:call-macro name="flood-map-hws-points" />
-                  </dc:when>
+                  </dc:when -->
                   <dc:otherwise>
                     <dc:call-macro name="flood-map-complete"/>
                   </dc:otherwise>
               </dc:choose>
               </floodmap>
+                <dc:if test="dc:contains($parameters, 'hws')">
+                <hws>
+                  <dc:call-macro name="flood-map-hws-lines" />
+                  <dc:call-macro name="flood-map-hws-points" />
+                </hws>
+                </dc:if>
+
               <dc:macro name="flood-map-recommended">
                 <dc:comment>
                    FIXME: Following two macros look identical to me.


More information about the Dive4elements-commits mailing list