Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 2751:e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
flys-artifacts/trunk@4486 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 23 May 2012 21:45:52 +0000 |
parents | 5eb3edb4f37b |
children | d972c4cf5898 |
comparison
equal
deleted
inserted
replaced
2750:97cb098dbf7a | 2751:e50cc06c6c4c |
---|---|
242 </relativepoint> | 242 </relativepoint> |
243 </dc:elements> | 243 </dc:elements> |
244 </dc:context> | 244 </dc:context> |
245 </fixations> | 245 </fixations> |
246 </dc:macro> | 246 </dc:macro> |
247 | |
248 <dc:macro name="basedata_4_heightmarks-points-relative_points"> | |
249 <heightmarks> | |
250 <dc:context> | |
251 <dc:statement> | |
252 SELECT id AS prot_id, | |
253 description AS prot_description | |
254 FROM wsts WHERE kind = 4 AND river_id = ${river_id} | |
255 </dc:statement> | |
256 <dc:elements> | |
257 <relativepoint> | |
258 <dc:attribute name="name" value="${prot_description}"/> | |
259 <dc:context> | |
260 <dc:statement> | |
261 SELECT id AS prot_column_id, | |
262 name AS prot_column_name, | |
263 position AS prot_rel_pos | |
264 FROM wst_columns WHERE wst_id = ${prot_id} | |
265 ORDER by position | |
266 </dc:statement> | |
267 <dc:elements> | |
268 <column> | |
269 <dc:attribute name="name" value="${prot_column_name}"/> | |
270 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> | |
271 <dc:attribute name="factory" value="staticwkms"/> | |
272 </column> | |
273 </dc:elements> | |
274 </dc:context> | |
275 </relativepoint> | |
276 </dc:elements> | |
277 </dc:context> | |
278 </heightmarks> | |
279 </dc:macro> | |
280 | |
247 <dc:macro name="basedata_4_heightmarks-points"> | 281 <dc:macro name="basedata_4_heightmarks-points"> |
248 <heightmarks> | 282 <heightmarks> |
249 <dc:context> | 283 <dc:context> |
250 <dc:statement> | 284 <dc:statement> |
251 SELECT id AS prot_id, | 285 SELECT id AS prot_id, |
306 </dc:context> | 340 </dc:context> |
307 </heightmark> | 341 </heightmark> |
308 </dc:elements> | 342 </dc:elements> |
309 </dc:context> | 343 </dc:context> |
310 </heightmarks> | 344 </heightmarks> |
345 </dc:macro> | |
346 | |
347 <dc:macro name="basedata_5_flood-protections_relative_points"> | |
348 <flood_protections> | |
349 <dc:attribute name="id" value="flood-protections-${river_id}"/> | |
350 <dc:context> | |
351 <dc:statement> | |
352 SELECT id AS prot_id, | |
353 description AS prot_description | |
354 FROM wsts WHERE kind = 5 AND river_id = ${river_id} | |
355 </dc:statement> | |
356 <dc:elements> | |
357 <relativepoint> | |
358 <dc:attribute name="name" value="${prot_description}"/> | |
359 <dc:attribute name="db-id" value="${prot_id}"/> | |
360 <dc:attribute name="factory" value="staticwkms"/> | |
361 <columns> | |
362 <dc:context> | |
363 <dc:statement> | |
364 SELECT id AS prot_column_id, | |
365 name AS prot_column_name, | |
366 position AS prot_rel_pos | |
367 FROM wst_columns WHERE wst_id = ${prot_id} | |
368 ORDER by position | |
369 </dc:statement> | |
370 <dc:elements> | |
371 <column> | |
372 <dc:attribute name="name" value="${prot_column_name}"/> | |
373 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> | |
374 <dc:attribute name="factory" value="staticwkms"/> | |
375 </column> | |
376 </dc:elements> | |
377 </dc:context> | |
378 </columns> | |
379 </relativepoint> | |
380 </dc:elements> | |
381 </dc:context> | |
382 </flood_protections> | |
311 </dc:macro> | 383 </dc:macro> |
312 | 384 |
313 <dc:macro name="basedata_5_flood-protections"> | 385 <dc:macro name="basedata_5_flood-protections"> |
314 <flood_protections> | 386 <flood_protections> |
315 <dc:attribute name="id" value="flood-protections-${river_id}"/> | 387 <dc:attribute name="id" value="flood-protections-${river_id}"/> |
561 <dc:call-macro name="mainvalues"/> | 633 <dc:call-macro name="mainvalues"/> |
562 </dc:when> | 634 </dc:when> |
563 <dc:otherwise> | 635 <dc:otherwise> |
564 <dc:call-macro name="mainvalues"/> | 636 <dc:call-macro name="mainvalues"/> |
565 <dc:call-macro name="basedata_2_fixations_relative_point"/> | 637 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
638 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> | |
639 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> | |
566 </dc:otherwise> | 640 </dc:otherwise> |
567 </dc:choose> | 641 </dc:choose> |
568 </dc:if> | 642 </dc:if> |
569 | 643 |
570 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> | 644 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> |