comparison flys-artifacts/doc/conf/meta-data.xml @ 5349:d43ef9f709cd

Add HWSLines and HWSPoints to datacage for the map
author Andre Heinecke <aheinecke@intevation.de>
date Wed, 20 Mar 2013 16:37:02 +0100
parents 4b1d8f367428
children 51db7fbc2e77
comparison
equal deleted inserted replaced
5348:4b1d8f367428 5349:d43ef9f709cd
1258 </floodplain> 1258 </floodplain>
1259 </dc:if> 1259 </dc:if>
1260 </dc:elements> 1260 </dc:elements>
1261 </dc:context> 1261 </dc:context>
1262 </dc:macro> 1262 </dc:macro>
1263 <dc:macro name="flood-map-hwslines"> 1263 <dc:macro name="hwslines">
1264 <dc:context> 1264 <dc:context>
1265 <dc:statement> 1265 <dc:statement>
1266 SELECT count(*) as km_exists, name as name 1266 SELECT count(*) as km_exists, name as name
1267 FROM hws_lines WHERE river_id = ${river_id} GROUP BY name 1267 FROM hws_lines WHERE river_id = ${river_id} GROUP BY name
1268 </dc:statement> 1268 </dc:statement>
1269 <dc:elements> 1269 <dc:elements>
1270 <dc:if test="$km_exists>0"> 1270 <dc:if test="$km_exists>0">
1271 <line> 1271 <line>
1272 <dc:attribute name="factory" value="wmslinefactory"/> 1272 <dc:attribute name="factory" value="wmshwslinesfactory"/>
1273 <dc:attribute name="ids" value="${river_id};${name}"/>
1274 <dc:attribute name="name" value="${name}"/>
1275 </line>
1276 </dc:if>
1277 </dc:elements>
1278 </dc:context>
1279 </dc:macro>
1280 <dc:macro name="hwspoints">
1281 <dc:context>
1282 <dc:statement>
1283 SELECT count(*) as km_exists, name as name
1284 FROM hws_points WHERE river_id = ${river_id} GROUP BY name
1285 </dc:statement>
1286 <dc:elements>
1287 <dc:if test="$km_exists>0">
1288 <line>
1289 <dc:attribute name="factory" value="wmshwspointsfactory"/>
1273 <dc:attribute name="ids" value="${river_id};${name}"/> 1290 <dc:attribute name="ids" value="${river_id};${name}"/>
1274 <dc:attribute name="name" value="${name}"/> 1291 <dc:attribute name="name" value="${name}"/>
1275 </line> 1292 </line>
1276 </dc:if> 1293 </dc:if>
1277 </dc:elements> 1294 </dc:elements>
1434 <dc:attribute name="ids" value="${river_id}"/> 1451 <dc:attribute name="ids" value="${river_id}"/>
1435 </riveraxis> 1452 </riveraxis>
1436 <dc:call-macro name="flood-map-km"/> 1453 <dc:call-macro name="flood-map-km"/>
1437 <dc:call-macro name="flood-map-qps"/> 1454 <dc:call-macro name="flood-map-qps"/>
1438 </kilometrage> 1455 </kilometrage>
1439 <hwslines> 1456 <hws>
1440 <dc:call-macro name="flood-map-hwslines"/> 1457 <hws_lines>
1441 </hwslines> 1458 <dc:call-macro name="hwslines"/>
1459 </hws_lines>
1460 <hws_points>
1461 <dc:call-macro name="hwspoints"/>
1462 </hws_points>
1463 </hws>
1442 <dc:call-macro name="flood-map-uesk"/> 1464 <dc:call-macro name="flood-map-uesk"/>
1443 <gaugelocations> 1465 <gaugelocations>
1444 <dc:call-macro name="flood-map-gaugelocations"/> 1466 <dc:call-macro name="flood-map-gaugelocations"/>
1445 </gaugelocations> 1467 </gaugelocations>
1446 <rastermap> 1468 <rastermap>

http://dive4elements.wald.intevation.org