Mercurial > dive4elements > river
diff flys-artifacts/doc/conf/meta-data.xml @ 1836:729ba79e94a0
Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
flys-artifacts/trunk@3172 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 04 Nov 2011 14:09:05 +0000 |
parents | 35e38e2afb22 |
children | 90df645985d4 |
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml Fri Nov 04 13:29:15 2011 +0000 +++ b/flys-artifacts/doc/conf/meta-data.xml Fri Nov 04 14:09:05 2011 +0000 @@ -526,6 +526,22 @@ </dc:elements> </dc:context> </dc:macro> + <dc:macro name="flood-map-qps"> + <dc:context> + <dc:statement> + SELECT count(*) as km_exists + FROM cross_section_tracks WHERE river_id = ${river_id} + </dc:statement> + <dc:elements> + <dc:if test="$km_exists>0"> + <qps> + <dc:attribute name="factory" value="wmsqpsfactory"/> + <dc:attribute name="ids" value="${river_id}"/> + </qps> + </dc:if> + </dc:elements> + </dc:context> + </dc:macro> <dc:macro name="flood-map-complete"> <kilometrage> <riveraxis> @@ -533,6 +549,7 @@ <dc:attribute name="ids" value="${river_id}"/> </riveraxis> <dc:call-macro name="flood-map-km"/> + <dc:call-macro name="flood-map-qps"/> </kilometrage> <rastermap> <background>