Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 2749:5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
flys-artifacts/trunk@4484 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 23 May 2012 20:42:29 +0000 |
parents | 8839086c4b7b |
children | e50cc06c6c4c |
comparison
equal
deleted
inserted
replaced
2748:6717b4725ddf | 2749:5eb3edb4f37b |
---|---|
210 </dc:elements> | 210 </dc:elements> |
211 </dc:context> | 211 </dc:context> |
212 </fixations> | 212 </fixations> |
213 </dc:macro> | 213 </dc:macro> |
214 | 214 |
215 <dc:macro name="basedata_2_fixations_relative_point"> | |
216 <fixations> | |
217 <dc:context> | |
218 <dc:statement> | |
219 SELECT id AS prot_id, | |
220 description AS prot_description | |
221 FROM wsts WHERE kind = 2 AND river_id = ${river_id} | |
222 </dc:statement> | |
223 <dc:elements> | |
224 <relativepoint> | |
225 <dc:attribute name="name" value="${prot_description}"/> | |
226 <dc:context> | |
227 <dc:statement> | |
228 SELECT id AS prot_column_id, | |
229 name AS prot_column_name, | |
230 position AS prot_rel_pos | |
231 FROM wst_columns WHERE wst_id = ${prot_id} | |
232 ORDER by position | |
233 </dc:statement> | |
234 <dc:elements> | |
235 <column> | |
236 <dc:attribute name="name" value="${prot_column_name}"/> | |
237 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> | |
238 <dc:attribute name="factory" value="staticwkms"/> | |
239 </column> | |
240 </dc:elements> | |
241 </dc:context> | |
242 </relativepoint> | |
243 </dc:elements> | |
244 </dc:context> | |
245 </fixations> | |
246 </dc:macro> | |
215 <dc:macro name="basedata_4_heightmarks-points"> | 247 <dc:macro name="basedata_4_heightmarks-points"> |
216 <heightmarks> | 248 <heightmarks> |
217 <dc:context> | 249 <dc:context> |
218 <dc:statement> | 250 <dc:statement> |
219 SELECT id AS prot_id, | 251 SELECT id AS prot_id, |
528 <dc:when test="dc:contains($parameters, 'recommended')"> | 560 <dc:when test="dc:contains($parameters, 'recommended')"> |
529 <dc:call-macro name="mainvalues"/> | 561 <dc:call-macro name="mainvalues"/> |
530 </dc:when> | 562 </dc:when> |
531 <dc:otherwise> | 563 <dc:otherwise> |
532 <dc:call-macro name="mainvalues"/> | 564 <dc:call-macro name="mainvalues"/> |
533 <dc:call-macro name="basedata_2_fixations"/> | 565 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
534 </dc:otherwise> | 566 </dc:otherwise> |
535 </dc:choose> | 567 </dc:choose> |
536 </dc:if> | 568 </dc:if> |
537 | 569 |
538 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> | 570 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> |