comparison 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
comparison
equal deleted inserted replaced
5515:87dab419b924 5516:56d18ecc7d41
1721 </dc:if> 1721 </dc:if>
1722 </dc:elements> 1722 </dc:elements>
1723 </dc:context> 1723 </dc:context>
1724 </dc:macro> 1724 </dc:macro>
1725 <dc:macro name="flood-map-gaugelocations"> 1725 <dc:macro name="flood-map-gaugelocations">
1726 <dc:context> 1726 <dc:attribute name="factory" value="externalwmsfactory"/>
1727 <dc:statement> 1727 <dc:attribute name="ids" value="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelonline-Pegelpunkte"/>
1728 SELECT count(*) as km_exists, name as name
1729 FROM gauge_location WHERE river_id = ${river_id} GROUP BY name
1730 </dc:statement>
1731 <dc:elements>
1732 <dc:if test="$km_exists>0">
1733 <gaugelocation>
1734 <dc:attribute name="factory" value="wmsgaugelocationfactory"/>
1735 <dc:attribute name="ids" value="${river_id};${name}"/>
1736 <dc:attribute name="name" value="${name}"/>
1737 </gaugelocation>
1738 </dc:if>
1739 </dc:elements>
1740 </dc:context>
1741 </dc:macro> 1728 </dc:macro>
1742 <dc:macro name="flood-map-uesk"> 1729 <dc:macro name="flood-map-uesk">
1743 <uesk> 1730 <uesk>
1744 <calculations> 1731 <calculations>
1745 <current> 1732 <current>

http://dive4elements.wald.intevation.org