comparison flys-artifacts/doc/conf/meta-data.xml @ 2684:14188f8daefb

Added support for WMS gauges in floodmaps and maps. flys-artifacts/trunk@4385 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 10 May 2012 11:56:40 +0000
parents f5af3adb3b95
children 3ab7b593c6e5
comparison
equal deleted inserted replaced
2683:f5af3adb3b95 2684:14188f8daefb
780 <fixpoint> 780 <fixpoint>
781 <dc:attribute name="factory" value="wmsfixpointsfactory"/> 781 <dc:attribute name="factory" value="wmsfixpointsfactory"/>
782 <dc:attribute name="ids" value="${river_id};${name}"/> 782 <dc:attribute name="ids" value="${river_id};${name}"/>
783 <dc:attribute name="name" value="${name}"/> 783 <dc:attribute name="name" value="${name}"/>
784 </fixpoint> 784 </fixpoint>
785 </dc:if>
786 </dc:elements>
787 </dc:context>
788 </dc:macro>
789 <dc:macro name="flood-map-gaugelocations">
790 <dc:context>
791 <dc:statement>
792 SELECT count(*) as km_exists, name as name
793 FROM gauge_location WHERE river_id = ${river_id} GROUP BY name
794 </dc:statement>
795 <dc:elements>
796 <dc:if test="$km_exists>0">
797 <gaugelocation>
798 <dc:attribute name="factory" value="wmsgaugelocationfactory"/>
799 <dc:attribute name="ids" value="${river_id};${name}"/>
800 <dc:attribute name="name" value="${name}"/>
801 </gaugelocation>
785 </dc:if> 802 </dc:if>
786 </dc:elements> 803 </dc:elements>
787 </dc:context> 804 </dc:context>
788 </dc:macro> 805 </dc:macro>
789 <dc:macro name="flood-map-uesk"> 806 <dc:macro name="flood-map-uesk">
899 </kilometrage> 916 </kilometrage>
900 <lines> 917 <lines>
901 <dc:call-macro name="flood-map-lines"/> 918 <dc:call-macro name="flood-map-lines"/>
902 </lines> 919 </lines>
903 <dc:call-macro name="flood-map-uesk"/> 920 <dc:call-macro name="flood-map-uesk"/>
921 <gaugelocations>
922 <dc:call-macro name="flood-map-gaugelocations"/>
923 </gaugelocations>
904 <rastermap> 924 <rastermap>
905 <background> 925 <background>
906 <dc:attribute name="factory" value="wmsbackground"/> 926 <dc:attribute name="factory" value="wmsbackground"/>
907 <dc:attribute name="ids" value="${river_id}"/> 927 <dc:attribute name="ids" value="${river_id}"/>
908 </background> 928 </background>

http://dive4elements.wald.intevation.org