comparison flys-artifacts/doc/conf/meta-data.xml @ 4014:e5e1331d0440

Show 'per-type' annotations in longitudinal-section DC.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 02 Oct 2012 10:38:39 +0200
parents f68d6dcaea94
children 8d88e8118ba8
comparison
equal deleted inserted replaced
4012:9743bf17fce3 4014:e5e1331d0440
533 <dc:attribute name="factory" value="annotations"/> 533 <dc:attribute name="factory" value="annotations"/>
534 <dc:attribute name="ids" value="${river_id}"/> 534 <dc:attribute name="ids" value="${river_id}"/>
535 </annotation> 535 </annotation>
536 </dc:macro> 536 </dc:macro>
537 537
538 <dc:macro name="annotations_per_type">
539 <annotations>
540 <dc:context>
541 <dc:statement>
542 SELECT id AS anno_id,
543 name AS anno_description
544 FROM annotation_types
545 </dc:statement>
546 <dc:elements>
547 <annotation>
548 <dc:attribute name="name" value="${anno_description}"/>
549 <dc:attribute name="factory" value="annotations"/>
550 <dc:attribute name="ids" value="${river_id}:${anno_description}"/>
551 </annotation>
552 </dc:elements>
553 </dc:context>
554 </annotations>
555 </dc:macro>
556
538 <dc:macro name="cross_sections"> 557 <dc:macro name="cross_sections">
539 <cross_sections> 558 <cross_sections>
540 <dc:attribute name="id" value="flood-protections-${river_id}"/> 559 <dc:attribute name="id" value="flood-protections-${river_id}"/>
541 <dc:context> 560 <dc:context>
542 <dc:statement> 561 <dc:statement>
648 <dc:call-macro name="basedata_2_fixations"/> 667 <dc:call-macro name="basedata_2_fixations"/>
649 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> 668 <dc:comment comment=" HOEHENMARKEN ---------------------------"/>
650 <dc:call-macro name="basedata_4_heightmarks-points"/> 669 <dc:call-macro name="basedata_4_heightmarks-points"/>
651 <dc:comment comment=" AMTL LINIEN ---------------------------"/> 670 <dc:comment comment=" AMTL LINIEN ---------------------------"/>
652 <dc:call-macro name="basedata_3_officials"/> 671 <dc:call-macro name="basedata_3_officials"/>
672 <dc:call-macro name="annotations_per_type"/>
653 </dc:if> 673 </dc:if>
654 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> 674 <dc:if test="dc:contains($artifact-outs, 'reference_curve')">
655 <dc:call-macro name="annotations"/> 675 <dc:call-macro name="annotations"/>
656 <!--dc:call-macro name="basedata_0"/--> 676 <!--dc:call-macro name="basedata_0"/-->
657 <dc:call-macro name="basedata_1_additionals-relative_point"/> 677 <dc:call-macro name="basedata_1_additionals-relative_point"/>

http://dive4elements.wald.intevation.org