Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 2671:055315495f8d
Modified floodmap specific datacage configuration and improved WMS catchment layer.
flys-artifacts/trunk@4359 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 08 May 2012 12:14:55 +0000 |
parents | b23c956c5aa2 |
children | 5afccab9aac1 |
comparison
equal
deleted
inserted
replaced
2670:402695ee7c24 | 2671:055315495f8d |
---|---|
622 </dc:context> | 622 </dc:context> |
623 </dc:macro> | 623 </dc:macro> |
624 <dc:macro name="flood-map-catchments"> | 624 <dc:macro name="flood-map-catchments"> |
625 <dc:context> | 625 <dc:context> |
626 <dc:statement> | 626 <dc:statement> |
627 SELECT count(*) as km_exists | 627 SELECT count(*) as km_exists, name as name |
628 FROM catchment WHERE river_id = ${river_id} | 628 FROM catchment WHERE river_id = ${river_id} GROUP BY name |
629 </dc:statement> | 629 </dc:statement> |
630 <dc:elements> | 630 <dc:elements> |
631 <dc:if test="$km_exists>0"> | 631 <dc:if test="$km_exists>0"> |
632 <catchments> | 632 <catchments> |
633 <dc:attribute name="factory" value="wmscatchmentfactory"/> | 633 <dc:attribute name="factory" value="wmscatchmentfactory"/> |
634 <dc:attribute name="ids" value="${river_id}"/> | 634 <dc:attribute name="ids" value="${river_id};${name}"/> |
635 <dc:attribute name="name" value="${name}"/> | |
635 </catchments> | 636 </catchments> |
636 </dc:if> | 637 </dc:if> |
637 </dc:elements> | 638 </dc:elements> |
638 </dc:context> | 639 </dc:context> |
639 </dc:macro> | 640 </dc:macro> |
794 <dc:attribute name="ids" value="${river_id}"/> | 795 <dc:attribute name="ids" value="${river_id}"/> |
795 </riveraxis> | 796 </riveraxis> |
796 <dc:call-macro name="flood-map-km"/> | 797 <dc:call-macro name="flood-map-km"/> |
797 <dc:call-macro name="flood-map-qps"/> | 798 <dc:call-macro name="flood-map-qps"/> |
798 <dc:call-macro name="flood-map-hws"/> | 799 <dc:call-macro name="flood-map-hws"/> |
799 <dc:call-macro name="flood-map-catchments"/> | |
800 <dc:call-macro name="flood-map-floodplain"/> | 800 <dc:call-macro name="flood-map-floodplain"/> |
801 <dc:call-macro name="flood-map-lines"/> | 801 <dc:call-macro name="flood-map-lines"/> |
802 <dc:call-macro name="flood-map-buildings"/> | 802 <dc:call-macro name="flood-map-buildings"/> |
803 <dc:call-macro name="flood-map-fixpoints"/> | 803 <dc:call-macro name="flood-map-fixpoints"/> |
804 </kilometrage> | 804 </kilometrage> |
805 <dc:call-macro name="flood-map-uesk"/> | 805 <dc:call-macro name="flood-map-uesk"/> |
806 <catchments> | |
807 <dc:call-macro name="flood-map-catchments"/> | |
808 </catchments> | |
806 <rastermap> | 809 <rastermap> |
807 <background> | 810 <background> |
808 <dc:attribute name="factory" value="wmsbackground"/> | 811 <dc:attribute name="factory" value="wmsbackground"/> |
809 <dc:attribute name="ids" value="${river_id}"/> | 812 <dc:attribute name="ids" value="${river_id}"/> |
810 </background> | 813 </background> |