Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 5096:1ffd36a06065 dami
Remove hws, lines and catchments from meta-data.xml and add hwslines
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 25 Feb 2013 15:31:40 +0100 |
parents | 065a78d65007 |
children | a020100ee6a1 |
comparison
equal
deleted
inserted
replaced
5095:d3193a336ddd | 5096:1ffd36a06065 |
---|---|
927 </qps> | 927 </qps> |
928 </dc:if> | 928 </dc:if> |
929 </dc:elements> | 929 </dc:elements> |
930 </dc:context> | 930 </dc:context> |
931 </dc:macro> | 931 </dc:macro> |
932 <dc:macro name="flood-map-hws"> | |
933 <dc:context> | |
934 <dc:statement> | |
935 SELECT count(*) as km_exists, name as name | |
936 FROM hws WHERE river_id = ${river_id} GROUP BY name | |
937 </dc:statement> | |
938 <dc:elements> | |
939 <dc:if test="$km_exists>0"> | |
940 <hws> | |
941 <dc:attribute name="factory" value="wmshwsfactory"/> | |
942 <dc:attribute name="ids" value="${river_id};${name}"/> | |
943 <dc:attribute name="name" value="${name}"/> | |
944 </hws> | |
945 </dc:if> | |
946 </dc:elements> | |
947 </dc:context> | |
948 </dc:macro> | |
949 <dc:macro name="flood-map-hydr-boundaries"> | 932 <dc:macro name="flood-map-hydr-boundaries"> |
950 <hydr_boundaries_lines> | 933 <hydr_boundaries_lines> |
951 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> | 934 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> |
952 </hydr_boundaries_lines> | 935 </hydr_boundaries_lines> |
953 <hydr_boundaries_polygons> | 936 <hydr_boundaries_polygons> |
1024 </dc:if> | 1007 </dc:if> |
1025 </dc:elements> | 1008 </dc:elements> |
1026 </dc:context> | 1009 </dc:context> |
1027 </land> | 1010 </land> |
1028 </dc:macro> | 1011 </dc:macro> |
1029 <dc:macro name="flood-map-catchments"> | |
1030 <dc:context> | |
1031 <dc:statement> | |
1032 SELECT count(*) as km_exists, name as name | |
1033 FROM catchment WHERE river_id = ${river_id} GROUP BY name | |
1034 </dc:statement> | |
1035 <dc:elements> | |
1036 <dc:if test="$km_exists>0"> | |
1037 <catchment> | |
1038 <dc:attribute name="factory" value="wmscatchmentfactory"/> | |
1039 <dc:attribute name="ids" value="${river_id};${name}"/> | |
1040 <dc:attribute name="name" value="${name}"/> | |
1041 </catchment> | |
1042 </dc:if> | |
1043 </dc:elements> | |
1044 </dc:context> | |
1045 </dc:macro> | |
1046 <dc:macro name="flood-map-floodplain"> | 1012 <dc:macro name="flood-map-floodplain"> |
1047 <dc:context> | 1013 <dc:context> |
1048 <dc:statement> | 1014 <dc:statement> |
1049 SELECT count(*) as km_exists | 1015 SELECT count(*) as km_exists |
1050 FROM floodplain WHERE river_id = ${river_id} | 1016 FROM floodplain WHERE river_id = ${river_id} |
1057 </floodplain> | 1023 </floodplain> |
1058 </dc:if> | 1024 </dc:if> |
1059 </dc:elements> | 1025 </dc:elements> |
1060 </dc:context> | 1026 </dc:context> |
1061 </dc:macro> | 1027 </dc:macro> |
1062 <dc:macro name="flood-map-lines"> | 1028 <dc:macro name="flood-map-hwslines"> |
1063 <dc:context> | 1029 <dc:context> |
1064 <dc:statement> | 1030 <dc:statement> |
1065 SELECT count(*) as km_exists, name as name | 1031 SELECT count(*) as km_exists, name as name |
1066 FROM lines WHERE river_id = ${river_id} GROUP BY name | 1032 FROM hws_lines WHERE river_id = ${river_id} GROUP BY name |
1067 </dc:statement> | 1033 </dc:statement> |
1068 <dc:elements> | 1034 <dc:elements> |
1069 <dc:if test="$km_exists>0"> | 1035 <dc:if test="$km_exists>0"> |
1070 <line> | 1036 <line> |
1071 <dc:attribute name="factory" value="wmslinefactory"/> | 1037 <dc:attribute name="factory" value="wmslinefactory"/> |
1221 <dc:call-macro name="flood-map-catchments"/> | 1187 <dc:call-macro name="flood-map-catchments"/> |
1222 </catchments> | 1188 </catchments> |
1223 <fixpoints> | 1189 <fixpoints> |
1224 <dc:call-macro name="flood-map-fixpoints"/> | 1190 <dc:call-macro name="flood-map-fixpoints"/> |
1225 </fixpoints> | 1191 </fixpoints> |
1226 <hws> | |
1227 <dc:call-macro name="flood-map-hws"/> | |
1228 </hws> | |
1229 <hydrboundaries> | 1192 <hydrboundaries> |
1230 <dc:call-macro name="flood-map-hydr-boundaries"/> | 1193 <dc:call-macro name="flood-map-hydr-boundaries"/> |
1231 <dc:call-macro name="flood-map-floodplain"/> | 1194 <dc:call-macro name="flood-map-floodplain"/> |
1232 </hydrboundaries> | 1195 </hydrboundaries> |
1233 <kilometrage> | 1196 <kilometrage> |
1236 <dc:attribute name="ids" value="${river_id}"/> | 1199 <dc:attribute name="ids" value="${river_id}"/> |
1237 </riveraxis> | 1200 </riveraxis> |
1238 <dc:call-macro name="flood-map-km"/> | 1201 <dc:call-macro name="flood-map-km"/> |
1239 <dc:call-macro name="flood-map-qps"/> | 1202 <dc:call-macro name="flood-map-qps"/> |
1240 </kilometrage> | 1203 </kilometrage> |
1241 <lines> | 1204 <hwslines> |
1242 <dc:call-macro name="flood-map-lines"/> | 1205 <dc:call-macro name="flood-map-hwslines"/> |
1243 </lines> | 1206 </hwslines> |
1244 <dc:call-macro name="flood-map-uesk"/> | 1207 <dc:call-macro name="flood-map-uesk"/> |
1245 <gaugelocations> | 1208 <gaugelocations> |
1246 <dc:call-macro name="flood-map-gaugelocations"/> | 1209 <dc:call-macro name="flood-map-gaugelocations"/> |
1247 </gaugelocations> | 1210 </gaugelocations> |
1248 <rastermap> | 1211 <rastermap> |