comparison flys-artifacts/doc/conf/meta-data.xml @ 1857:7fc87a67e6f7

Added new WMSFloodplainArtifact for displaying floodplains in maps. flys-artifacts/trunk@3204 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 09 Nov 2011 16:49:58 +0000
parents 410e40b88c7a
children ba6659083fa0
comparison
equal deleted inserted replaced
1856:410e40b88c7a 1857:7fc87a67e6f7
563 </catchments> 563 </catchments>
564 </dc:if> 564 </dc:if>
565 </dc:elements> 565 </dc:elements>
566 </dc:context> 566 </dc:context>
567 </dc:macro> 567 </dc:macro>
568 <dc:macro name="flood-map-floodplain">
569 <dc:context>
570 <dc:statement>
571 SELECT count(*) as km_exists
572 FROM floodplain WHERE river_id = ${river_id}
573 </dc:statement>
574 <dc:elements>
575 <dc:if test="$km_exists>0">
576 <floodplain>
577 <dc:attribute name="factory" value="wmsfloodplainfactory"/>
578 <dc:attribute name="ids" value="${river_id}"/>
579 </floodplain>
580 </dc:if>
581 </dc:elements>
582 </dc:context>
583 </dc:macro>
568 <dc:macro name="flood-map-complete"> 584 <dc:macro name="flood-map-complete">
569 <kilometrage> 585 <kilometrage>
570 <riveraxis> 586 <riveraxis>
571 <dc:attribute name="factory" value="riveraxis"/> 587 <dc:attribute name="factory" value="riveraxis"/>
572 <dc:attribute name="ids" value="${river_id}"/> 588 <dc:attribute name="ids" value="${river_id}"/>
573 </riveraxis> 589 </riveraxis>
574 <dc:call-macro name="flood-map-km"/> 590 <dc:call-macro name="flood-map-km"/>
575 <dc:call-macro name="flood-map-qps"/> 591 <dc:call-macro name="flood-map-qps"/>
576 <dc:call-macro name="flood-map-hws"/> 592 <dc:call-macro name="flood-map-hws"/>
577 <dc:call-macro name="flood-map-catchments"/> 593 <dc:call-macro name="flood-map-catchments"/>
594 <dc:call-macro name="flood-map-floodplain"/>
578 </kilometrage> 595 </kilometrage>
579 <rastermap> 596 <rastermap>
580 <background> 597 <background>
581 <dc:attribute name="factory" value="wmsbackground"/> 598 <dc:attribute name="factory" value="wmsbackground"/>
582 <dc:attribute name="ids" value="${river_id}"/> 599 <dc:attribute name="ids" value="${river_id}"/>

http://dive4elements.wald.intevation.org