Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 4455:06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 08 Nov 2012 16:52:41 +0100 |
parents | f3c4976874f2 |
children | 8cd4b019f150 |
comparison
equal
deleted
inserted
replaced
4454:c0a418cbd80c | 4455:06c07cb478a8 |
---|---|
637 <dc:attribute name="factory" value="hyk"/> | 637 <dc:attribute name="factory" value="hyk"/> |
638 </hyk> | 638 </hyk> |
639 </dc:elements> | 639 </dc:elements> |
640 </dc:context> | 640 </dc:context> |
641 </hyks> | 641 </hyks> |
642 </dc:macro> | |
643 | |
644 <dc:macro name="flow_velocity_measurements"> | |
645 <flowvelocitymeasurement> | |
646 <dc:context> | |
647 <dc:statement> | |
648 SELECT id AS fvmid, | |
649 description AS fvmd | |
650 FROM flow_velocity_measurements WHERE river_id = ${river_id} | |
651 </dc:statement> | |
652 <dc:elements> | |
653 <flow_velocity_measurement> | |
654 <dc:attribute name="name" value="${fvmd}"/> | |
655 <dc:attribute name="ids" value="${fvmid}"/> | |
656 <dc:attribute name="factory" value="flowvelocity"/> | |
657 <dc:context> | |
658 <dc:statement> | |
659 SELECT id, description, station, datetime, v, w, q | |
660 FROM flow_velocity_measure_values | |
661 WHERE measurements_id = ${fvmid} | |
662 </dc:statement> | |
663 <dc:elements> | |
664 <measurement_value> | |
665 <dc:attribute name="name" value="${id}-${description}-${station}-${datetime}"/> | |
666 <dc:attribute name="ids" value="${id}"/> | |
667 <dc:attribute name="factory" value="flowvelocity"/> | |
668 </measurement_value> | |
669 </dc:elements> | |
670 </dc:context> | |
671 </flow_velocity_measurement> | |
672 </dc:elements> | |
673 </dc:context> | |
674 </flowvelocitymeasurement> | |
642 </dc:macro> | 675 </dc:macro> |
643 | 676 |
644 <dc:comment> | 677 <dc:comment> |
645 | 678 |
646 + River-Node | 679 + River-Node |
746 </dc:if> | 779 </dc:if> |
747 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> | 780 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> |
748 </dc:if> | 781 </dc:if> |
749 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> | 782 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> |
750 <dc:call-macro name="annotations"/> | 783 <dc:call-macro name="annotations"/> |
784 </dc:if> | |
785 <dc:if test="dc:contains($artifact-outs, 'flow_velocity')"> | |
786 <dc:call-macro name="annotations"/> | |
787 <dc:call-macro name="flow_velocity_measurements"/> | |
751 </dc:if> | 788 </dc:if> |
752 <dc:comment comment="--- non-recommendations---"/> | 789 <dc:comment comment="--- non-recommendations---"/> |
753 </dc:otherwise> | 790 </dc:otherwise> |
754 </dc:choose> | 791 </dc:choose> |
755 | 792 |