comparison flys-artifacts/doc/conf/meta-data.xml @ 5128:a020100ee6a1

SCHEME CHANGE: Merge branch dami into default. A summary on the scheme changes: HWS and Lines tables are dropped and will be replaced by HWS_Lines and HWS_Points. The catchment table removed and will be replaced by a WMS Service. Hydr_boundaries has an added reference to boundary_kind sectie_kind and sobek_kind objects. Dem has a new column srid.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 28 Feb 2013 11:48:17 +0100
parents e37b25628dd4 1ffd36a06065
children cad911029c9d
comparison
equal deleted inserted replaced
5126:e37b25628dd4 5128:a020100ee6a1
930 </qps> 930 </qps>
931 </dc:if> 931 </dc:if>
932 </dc:elements> 932 </dc:elements>
933 </dc:context> 933 </dc:context>
934 </dc:macro> 934 </dc:macro>
935 <dc:macro name="flood-map-hws">
936 <dc:context>
937 <dc:statement>
938 SELECT count(*) as km_exists, name as name
939 FROM hws WHERE river_id = ${river_id} GROUP BY name
940 </dc:statement>
941 <dc:elements>
942 <dc:if test="$km_exists>0">
943 <hws>
944 <dc:attribute name="factory" value="wmshwsfactory"/>
945 <dc:attribute name="ids" value="${river_id};${name}"/>
946 <dc:attribute name="name" value="${name}"/>
947 </hws>
948 </dc:if>
949 </dc:elements>
950 </dc:context>
951 </dc:macro>
952 <dc:macro name="flood-map-hydr-boundaries"> 935 <dc:macro name="flood-map-hydr-boundaries">
953 <hydr_boundaries_lines> 936 <hydr_boundaries_lines>
954 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> 937 <dc:call-macro name="flood-map-hydr-boundaries-lines"/>
955 </hydr_boundaries_lines> 938 </hydr_boundaries_lines>
956 <hydr_boundaries_polygons> 939 <hydr_boundaries_polygons>
1027 </dc:if> 1010 </dc:if>
1028 </dc:elements> 1011 </dc:elements>
1029 </dc:context> 1012 </dc:context>
1030 </land> 1013 </land>
1031 </dc:macro> 1014 </dc:macro>
1032 <dc:macro name="flood-map-catchments">
1033 <dc:context>
1034 <dc:statement>
1035 SELECT count(*) as km_exists, name as name
1036 FROM catchment WHERE river_id = ${river_id} GROUP BY name
1037 </dc:statement>
1038 <dc:elements>
1039 <dc:if test="$km_exists>0">
1040 <catchment>
1041 <dc:attribute name="factory" value="wmscatchmentfactory"/>
1042 <dc:attribute name="ids" value="${river_id};${name}"/>
1043 <dc:attribute name="name" value="${name}"/>
1044 </catchment>
1045 </dc:if>
1046 </dc:elements>
1047 </dc:context>
1048 </dc:macro>
1049 <dc:macro name="flood-map-floodplain"> 1015 <dc:macro name="flood-map-floodplain">
1050 <dc:context> 1016 <dc:context>
1051 <dc:statement> 1017 <dc:statement>
1052 SELECT count(*) as km_exists 1018 SELECT count(*) as km_exists
1053 FROM floodplain WHERE river_id = ${river_id} 1019 FROM floodplain WHERE river_id = ${river_id}
1060 </floodplain> 1026 </floodplain>
1061 </dc:if> 1027 </dc:if>
1062 </dc:elements> 1028 </dc:elements>
1063 </dc:context> 1029 </dc:context>
1064 </dc:macro> 1030 </dc:macro>
1065 <dc:macro name="flood-map-lines"> 1031 <dc:macro name="flood-map-hwslines">
1066 <dc:context> 1032 <dc:context>
1067 <dc:statement> 1033 <dc:statement>
1068 SELECT count(*) as km_exists, name as name 1034 SELECT count(*) as km_exists, name as name
1069 FROM lines WHERE river_id = ${river_id} GROUP BY name 1035 FROM hws_lines WHERE river_id = ${river_id} GROUP BY name
1070 </dc:statement> 1036 </dc:statement>
1071 <dc:elements> 1037 <dc:elements>
1072 <dc:if test="$km_exists>0"> 1038 <dc:if test="$km_exists>0">
1073 <line> 1039 <line>
1074 <dc:attribute name="factory" value="wmslinefactory"/> 1040 <dc:attribute name="factory" value="wmslinefactory"/>
1224 <dc:call-macro name="flood-map-catchments"/> 1190 <dc:call-macro name="flood-map-catchments"/>
1225 </catchments> 1191 </catchments>
1226 <fixpoints> 1192 <fixpoints>
1227 <dc:call-macro name="flood-map-fixpoints"/> 1193 <dc:call-macro name="flood-map-fixpoints"/>
1228 </fixpoints> 1194 </fixpoints>
1229 <hws>
1230 <dc:call-macro name="flood-map-hws"/>
1231 </hws>
1232 <hydrboundaries> 1195 <hydrboundaries>
1233 <dc:call-macro name="flood-map-hydr-boundaries"/> 1196 <dc:call-macro name="flood-map-hydr-boundaries"/>
1234 <dc:call-macro name="flood-map-floodplain"/> 1197 <dc:call-macro name="flood-map-floodplain"/>
1235 </hydrboundaries> 1198 </hydrboundaries>
1236 <kilometrage> 1199 <kilometrage>
1239 <dc:attribute name="ids" value="${river_id}"/> 1202 <dc:attribute name="ids" value="${river_id}"/>
1240 </riveraxis> 1203 </riveraxis>
1241 <dc:call-macro name="flood-map-km"/> 1204 <dc:call-macro name="flood-map-km"/>
1242 <dc:call-macro name="flood-map-qps"/> 1205 <dc:call-macro name="flood-map-qps"/>
1243 </kilometrage> 1206 </kilometrage>
1244 <lines> 1207 <hwslines>
1245 <dc:call-macro name="flood-map-lines"/> 1208 <dc:call-macro name="flood-map-hwslines"/>
1246 </lines> 1209 </hwslines>
1247 <dc:call-macro name="flood-map-uesk"/> 1210 <dc:call-macro name="flood-map-uesk"/>
1248 <gaugelocations> 1211 <gaugelocations>
1249 <dc:call-macro name="flood-map-gaugelocations"/> 1212 <dc:call-macro name="flood-map-gaugelocations"/>
1250 </gaugelocations> 1213 </gaugelocations>
1251 <rastermap> 1214 <rastermap>

http://dive4elements.wald.intevation.org