comparison flys-artifacts/doc/conf/meta-data.xml @ 1856:410e40b88c7a

Added new WMSCatchmentArtifact for displaying catchments in maps. flys-artifacts/trunk@3203 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 09 Nov 2011 16:28:29 +0000
parents b4798f15edc7
children 7fc87a67e6f7
comparison
equal deleted inserted replaced
1855:b4798f15edc7 1856:410e40b88c7a
547 </hws> 547 </hws>
548 </dc:if> 548 </dc:if>
549 </dc:elements> 549 </dc:elements>
550 </dc:context> 550 </dc:context>
551 </dc:macro> 551 </dc:macro>
552 <dc:macro name="flood-map-catchments">
553 <dc:context>
554 <dc:statement>
555 SELECT count(*) as km_exists
556 FROM catchment WHERE river_id = ${river_id}
557 </dc:statement>
558 <dc:elements>
559 <dc:if test="$km_exists>0">
560 <catchments>
561 <dc:attribute name="factory" value="wmscatchmentfactory"/>
562 <dc:attribute name="ids" value="${river_id}"/>
563 </catchments>
564 </dc:if>
565 </dc:elements>
566 </dc:context>
567 </dc:macro>
552 <dc:macro name="flood-map-complete"> 568 <dc:macro name="flood-map-complete">
553 <kilometrage> 569 <kilometrage>
554 <riveraxis> 570 <riveraxis>
555 <dc:attribute name="factory" value="riveraxis"/> 571 <dc:attribute name="factory" value="riveraxis"/>
556 <dc:attribute name="ids" value="${river_id}"/> 572 <dc:attribute name="ids" value="${river_id}"/>
557 </riveraxis> 573 </riveraxis>
558 <dc:call-macro name="flood-map-km"/> 574 <dc:call-macro name="flood-map-km"/>
559 <dc:call-macro name="flood-map-qps"/> 575 <dc:call-macro name="flood-map-qps"/>
560 <dc:call-macro name="flood-map-hws"/> 576 <dc:call-macro name="flood-map-hws"/>
577 <dc:call-macro name="flood-map-catchments"/>
561 </kilometrage> 578 </kilometrage>
562 <rastermap> 579 <rastermap>
563 <background> 580 <background>
564 <dc:attribute name="factory" value="wmsbackground"/> 581 <dc:attribute name="factory" value="wmsbackground"/>
565 <dc:attribute name="ids" value="${river_id}"/> 582 <dc:attribute name="ids" value="${river_id}"/>

http://dive4elements.wald.intevation.org