diff flys-artifacts/doc/conf/meta-data.xml @ 5516:56d18ecc7d41

Add Pegelonline-Pegelpunkte layer instead of gauge_locations
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 28 Mar 2013 17:14:16 +0100
parents 87dab419b924
children eeac800eb4cd
line wrap: on
line diff
--- 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>

http://dive4elements.wald.intevation.org