Mercurial > dive4elements > river
changeset 3283:a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
flys-artifacts/trunk@4943 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 11 Jul 2012 16:05:24 +0000 |
parents | 424a14255303 |
children | d9af29a4bb85 |
files | flys-artifacts/ChangeLog flys-artifacts/doc/conf/meta-data.xml |
diffstat | 2 files changed, 41 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Wed Jul 11 16:03:01 2012 +0000 +++ b/flys-artifacts/ChangeLog Wed Jul 11 16:05:24 2012 +0000 @@ -1,3 +1,8 @@ +2012-07-11 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * doc/conf/meta-data.xml: Make official lines available in dc for + manual loading in longitudinal sections. + 2012-07-11 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/sq/Sieve.java:
--- a/flys-artifacts/doc/conf/meta-data.xml Wed Jul 11 16:03:01 2012 +0000 +++ b/flys-artifacts/doc/conf/meta-data.xml Wed Jul 11 16:05:24 2012 +0000 @@ -279,6 +279,40 @@ </fixations> </dc:macro> + <dc:macro name="basedata_3_officials"> + <dc:comment comment=".wst -------------------------------"/> + <officiallines> + <dc:context> + <dc:statement> + SELECT id AS prot_id, + description AS prot_description + FROM wsts WHERE kind = 3 AND river_id = ${river_id} + </dc:statement> + <dc:elements> + <official> + <dc:attribute name="name" value="${prot_description}"/> + <dc:context> + <dc:statement> + SELECT id AS prot_column_id, + name AS prot_column_name, + position AS prot_rel_pos + FROM wst_columns WHERE wst_id = ${prot_id} + ORDER by position + </dc:statement> + <dc:elements> + <column> + <dc:attribute name="name" value="${prot_column_name}"/> + <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> + <dc:attribute name="factory" value="staticwkms"/> + </column> + </dc:elements> + </dc:context> + </official> + </dc:elements> + </dc:context> + </officiallines> + </dc:macro> + <dc:macro name="basedata_4_heightmarks-points-relative_points"> <heightmarks> <dc:context> @@ -564,6 +598,8 @@ <dc:call-macro name="basedata_2_fixations"/> <dc:comment comment=" HOEHENMARKEN ---------------------------"/> <dc:call-macro name="basedata_4_heightmarks-points"/> + <dc:comment comment=" AMTL LINIEN ---------------------------"/> + <dc:call-macro name="basedata_3_officials"/> <dc:call-macro name="annotations"/> </dc:if> <dc:if test="dc:contains($artifact-outs, 'reference_curve')">