Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/meta-data.xml @ 5437:b582df0c7b00
Add Jetties to floodmap
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 26 Mar 2013 17:31:55 +0100 |
parents | 70026e3b6af3 |
children | 1aedf4c0ac28 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml Tue Mar 26 16:34:49 2013 +0100 +++ b/flys-artifacts/doc/conf/meta-data.xml Tue Mar 26 17:31:55 2013 +0100 @@ -1561,6 +1561,27 @@ </dc:element> </dc:elements> </dc:context> + <dc:context> + <dc:statement> + SELECT DISTINCT + j.kind_id AS jetty_kind_id, + jk.name AS jetty_kind + FROM jetties j + JOIN jetty_kinds jk ON j.kind_id = jk.id + WHERE river_id = ${river_id} + </dc:statement> + <dc:if test="dc:has-result()"> + <jetties> + <dc:elements> + <jetty> + <dc:attribute name="description" value="${jetty_kind}"/> + <dc:attribute name="factory" value="wmsjettiesfactory"/> + <dc:attribute name="ids" value="${river_id};${jetty_kind};${jetty_kind_id}"/> + </jetty> + </dc:elements> + </jetties> + </dc:if> + </dc:context> </dc:macro> <dc:macro name="flood-map-fixpoints"> <dc:context>