[Dive4elements-commits] [PATCH 6 of 8] Add Pegelonline-Pegelpunkte layer instead of gauge_locations

Wald Commits scm-commit at wald.intevation.org
Thu Mar 28 17:15:26 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1364487256 -3600
# Node ID 56d18ecc7d41433f130aea2c0c326a40eed24503
# Parent  87dab419b924486b0c8c951043846b42edd7fd6f
Add Pegelonline-Pegelpunkte layer instead of gauge_locations

diff -r 87dab419b924 -r 56d18ecc7d41 flys-artifacts/doc/conf/meta-data.xml
--- a/flys-artifacts/doc/conf/meta-data.xml	Thu Mar 28 17:13:53 2013 +0100
+++ b/flys-artifacts/doc/conf/meta-data.xml	Thu Mar 28 17:14:16 2013 +0100
@@ -1723,21 +1723,8 @@
               </dc:context>
             </dc:macro>
             <dc:macro name="flood-map-gaugelocations">
-              <dc:context>
-                <dc:statement>
-                  SELECT count(*) as km_exists, name as name
-                  FROM gauge_location WHERE river_id = ${river_id} GROUP BY name
-                </dc:statement>
-                 <dc:elements>
-                  <dc:if test="$km_exists>0">
-                    <gaugelocation>
-                      <dc:attribute name="factory" value="wmsgaugelocationfactory"/>
-                      <dc:attribute name="ids" value="${river_id};${name}"/>
-                      <dc:attribute name="name"  value="${name}"/>
-                    </gaugelocation>
-                  </dc:if>
-                </dc:elements>
-              </dc:context>
+              <dc:attribute name="factory" value="externalwmsfactory"/>
+              <dc:attribute name="ids" value="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelonline-Pegelpunkte"/>
             </dc:macro>
             <dc:macro name="flood-map-uesk">
               <uesk>


More information about the Dive4elements-commits mailing list