comparison flys-artifacts/doc/conf/meta-data.xml @ 2580:3d240200364c

Improved the datacage configuration to serve floodmaps. flys-artifacts/trunk@4128 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 08 Mar 2012 13:06:11 +0000
parents 700f28bfd7ef
children 631dabad9b48
comparison
equal deleted inserted replaced
2579:2867ae59e216 2580:3d240200364c
699 </fixpoints> 699 </fixpoints>
700 </dc:if> 700 </dc:if>
701 </dc:elements> 701 </dc:elements>
702 </dc:context> 702 </dc:context>
703 </dc:macro> 703 </dc:macro>
704 <dc:macro name="flood-map-uesk">
705 <uesk>
706 <calculations>
707 <current>
708 <dc:context>
709 <dc:statement>
710 SELECT count(*) as uesg_exist, name as name
711 FROM floodmaps
712 WHERE river_id = ${river_id} AND kind = 111
713 GROUP BY name, kind
714 </dc:statement>
715 <dc:elements>
716 <dc:if test="$uesg_exist>0">
717 <bfg>
718 <dc:attribute name="factory" value="wmsfloodmapsfactory"/>
719 <dc:attribute name="ids" value="${river_id}_${name}"/>
720 <dc:attribute name="name" value="${name}"/>
721 </bfg>
722 </dc:if>
723 </dc:elements>
724 </dc:context>
725 <dc:context>
726 <dc:statement>
727 SELECT count(*) as uesg_exist, name as name
728 FROM floodmaps
729 WHERE river_id = ${river_id} AND kind = 112
730 GROUP BY name, kind
731 </dc:statement>
732 <dc:elements>
733 <dc:if test="$uesg_exist>0">
734 <land>
735 <dc:attribute name="factory" value="wmsfloodmapsfactory"/>
736 <dc:attribute name="ids" value="${river_id}_${name}"/>
737 <dc:attribute name="name" value="${name}"/>
738 </land>
739 </dc:if>
740 </dc:elements>
741 </dc:context>
742 </current>
743 <potentiel>
744 <dc:context>
745 <dc:statement>
746 SELECT count(*) as uesg_exist, name as name
747 FROM floodmaps
748 WHERE river_id = ${river_id} AND kind = 121
749 GROUP BY name, kind
750 </dc:statement>
751 <dc:elements>
752 <dc:if test="$uesg_exist>0">
753 <bfg>
754 <dc:attribute name="factory" value="wmsfloodmapsfactory"/>
755 <dc:attribute name="ids" value="${river_id}_${name}"/>
756 <dc:attribute name="name" value="${name}"/>
757 </bfg>
758 </dc:if>
759 </dc:elements>
760 </dc:context>
761 <dc:context>
762 <dc:statement>
763 SELECT count(*) as uesg_exist, name as name
764 FROM floodmaps
765 WHERE river_id = ${river_id} AND kind = 122
766 GROUP BY name, kind
767 </dc:statement>
768 <dc:elements>
769 <dc:if test="$uesg_exist>0">
770 <land>
771 <dc:attribute name="factory" value="wmsfloodmapsfactory"/>
772 <dc:attribute name="ids" value="${river_id}_${name}"/>
773 <dc:attribute name="name" value="${name}"/>
774 </land>
775 </dc:if>
776 </dc:elements>
777 </dc:context>
778 </potentiel>
779 </calculations>
780 </uesk>
781 </dc:macro>
704 <dc:macro name="flood-map-complete"> 782 <dc:macro name="flood-map-complete">
705 <kilometrage> 783 <kilometrage>
706 <riveraxis> 784 <riveraxis>
707 <dc:attribute name="factory" value="riveraxis"/> 785 <dc:attribute name="factory" value="riveraxis"/>
708 <dc:attribute name="ids" value="${river_id}"/> 786 <dc:attribute name="ids" value="${river_id}"/>
713 <dc:call-macro name="flood-map-catchments"/> 791 <dc:call-macro name="flood-map-catchments"/>
714 <dc:call-macro name="flood-map-floodplain"/> 792 <dc:call-macro name="flood-map-floodplain"/>
715 <dc:call-macro name="flood-map-lines"/> 793 <dc:call-macro name="flood-map-lines"/>
716 <dc:call-macro name="flood-map-buildings"/> 794 <dc:call-macro name="flood-map-buildings"/>
717 <dc:call-macro name="flood-map-fixpoints"/> 795 <dc:call-macro name="flood-map-fixpoints"/>
796 <dc:call-macro name="flood-map-uesk"/>
718 </kilometrage> 797 </kilometrage>
719 <rastermap> 798 <rastermap>
720 <background> 799 <background>
721 <dc:attribute name="factory" value="wmsbackground"/> 800 <dc:attribute name="factory" value="wmsbackground"/>
722 <dc:attribute name="ids" value="${river_id}"/> 801 <dc:attribute name="ids" value="${river_id}"/>

http://dive4elements.wald.intevation.org