comparison flys-artifacts/doc/conf/meta-data.xml @ 1880:ebd16028efa3

Include computed discharge curves in dc conf. flys-artifacts/trunk@3239 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 11 Nov 2011 12:07:06 +0000
parents d7369f395a80
children d025009fec73
comparison
equal deleted inserted replaced
1879:d7369f395a80 1880:ebd16028efa3
637 </dc:context> 637 </dc:context>
638 </dc:elements> 638 </dc:elements>
639 </differences> 639 </differences>
640 </dc:if> 640 </dc:if>
641 641
642 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')">
643 <computed_discharge_curves>
644 <dc:elements>
645 <dc:context>
646 <dc:statement>
647 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation
648 FROM master_artifacts m
649 WHERE m.collection_id = ${collection_id} AND m.gid &lt;&gt; CAST(${artifact-id} AS uuid)
650 AND EXISTS (
651 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river})
652 </dc:statement>
653 <dc:elements>
654 <dc:context>
655 <dc:statement>
656 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description
657 FROM outs as o, facets as f, artifacts as a
658 WHERE f.name = 'computed_discharge_curve.q' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id}
659 </dc:statement>
660 <dc:elements>
661 <dc:element name="${facet_name}">
662 <dc:attribute name="description" value="${facet_description}"/>
663 <dc:attribute name="factory" value="winfo"/>
664 <dc:attribute name="artifact-id" value="${aid}"/>
665 <dc:attribute name="ids" value="${aid}"/>
666 <dc:attribute name="out" value="computed_discharge_curve"/>
667 </dc:element>
668 </dc:elements>
669 </dc:context>
670 </dc:elements>
671 </dc:context>
672 </dc:elements>
673 </computed_discharge_curves>
674 </dc:if>
675
676
642 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')))"> 677 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')))">
643 <waterlevels> 678 <waterlevels>
644 <dc:elements> 679 <dc:elements>
645 <dc:context> 680 <dc:context>
646 <dc:statement> 681 <dc:statement>

http://dive4elements.wald.intevation.org