comparison flys-artifacts/doc/conf/meta-data.xml @ 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 fa30e6322ef3
children 81a98f360553
comparison
equal deleted inserted replaced
3282:424a14255303 3283:a8ce3263b0a7
275 </dc:context> 275 </dc:context>
276 </relativepoint> 276 </relativepoint>
277 </dc:elements> 277 </dc:elements>
278 </dc:context> 278 </dc:context>
279 </fixations> 279 </fixations>
280 </dc:macro>
281
282 <dc:macro name="basedata_3_officials">
283 <dc:comment comment=".wst -------------------------------"/>
284 <officiallines>
285 <dc:context>
286 <dc:statement>
287 SELECT id AS prot_id,
288 description AS prot_description
289 FROM wsts WHERE kind = 3 AND river_id = ${river_id}
290 </dc:statement>
291 <dc:elements>
292 <official>
293 <dc:attribute name="name" value="${prot_description}"/>
294 <dc:context>
295 <dc:statement>
296 SELECT id AS prot_column_id,
297 name AS prot_column_name,
298 position AS prot_rel_pos
299 FROM wst_columns WHERE wst_id = ${prot_id}
300 ORDER by position
301 </dc:statement>
302 <dc:elements>
303 <column>
304 <dc:attribute name="name" value="${prot_column_name}"/>
305 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/>
306 <dc:attribute name="factory" value="staticwkms"/>
307 </column>
308 </dc:elements>
309 </dc:context>
310 </official>
311 </dc:elements>
312 </dc:context>
313 </officiallines>
280 </dc:macro> 314 </dc:macro>
281 315
282 <dc:macro name="basedata_4_heightmarks-points-relative_points"> 316 <dc:macro name="basedata_4_heightmarks-points-relative_points">
283 <heightmarks> 317 <heightmarks>
284 <dc:context> 318 <dc:context>
562 <dc:call-macro name="basedata_1_additionals"/> 596 <dc:call-macro name="basedata_1_additionals"/>
563 <dc:comment comment=" FIXATIONS ---------------------------"/> 597 <dc:comment comment=" FIXATIONS ---------------------------"/>
564 <dc:call-macro name="basedata_2_fixations"/> 598 <dc:call-macro name="basedata_2_fixations"/>
565 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> 599 <dc:comment comment=" HOEHENMARKEN ---------------------------"/>
566 <dc:call-macro name="basedata_4_heightmarks-points"/> 600 <dc:call-macro name="basedata_4_heightmarks-points"/>
601 <dc:comment comment=" AMTL LINIEN ---------------------------"/>
602 <dc:call-macro name="basedata_3_officials"/>
567 <dc:call-macro name="annotations"/> 603 <dc:call-macro name="annotations"/>
568 </dc:if> 604 </dc:if>
569 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> 605 <dc:if test="dc:contains($artifact-outs, 'reference_curve')">
570 <dc:call-macro name="annotations"/> 606 <dc:call-macro name="annotations"/>
571 <!--dc:call-macro name="basedata_0"/--> 607 <!--dc:call-macro name="basedata_0"/-->

http://dive4elements.wald.intevation.org