comparison flys-artifacts/doc/conf/meta-data.xml @ 2690:15c6f79ca3e2

Add duration_curve.q loading via datacage. flys-artifacts/trunk@4394 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Sun, 13 May 2012 21:13:45 +0000
parents 3ab7b593c6e5
children 4cd55689e9a9
comparison
equal deleted inserted replaced
2689:3ab7b593c6e5 2690:15c6f79ca3e2
1027 </dc:elements> 1027 </dc:elements>
1028 </computed_discharge_curves> 1028 </computed_discharge_curves>
1029 </dc:if> 1029 </dc:if>
1030 1030
1031 1031
1032 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')))"> 1032 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')) or (dc:contains($artifact-outs, 'cross_section')))">
1033 <waterlevels> 1033 <waterlevels>
1034 <dc:elements> 1034 <dc:elements>
1035 <dc:context> 1035 <dc:context>
1036 <dc:statement> 1036 <dc:statement>
1037 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation 1037 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation
1074 </dc:context> 1074 </dc:context>
1075 </dc:elements> 1075 </dc:elements>
1076 </waterlevels> 1076 </waterlevels>
1077 </dc:if> 1077 </dc:if>
1078 1078
1079 <dc:if test="dc:contains($artifact-outs, 'duration_curve')">
1080 <computed_discharge_curves>
1081 <dc:elements>
1082 <dc:context>
1083 <dc:statement>
1084 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation
1085 FROM master_artifacts m
1086 WHERE m.collection_id = ${collection_id} AND m.gid &lt;&gt; CAST(${artifact-id} AS uuid)
1087 AND EXISTS (
1088 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river})
1089 </dc:statement>
1090 <dc:elements>
1091 <dc:context>
1092 <dc:statement>
1093 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description
1094 FROM outs as o, facets as f, artifacts as a
1095 WHERE f.name = 'duration_curve.q' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id}
1096 </dc:statement>
1097 <dc:elements>
1098 <dc:element name="${facet_name}">
1099 <dc:attribute name="description" value="${facet_description}"/>
1100 <dc:attribute name="factory" value="winfo"/>
1101 <dc:attribute name="artifact-id" value="${aid}"/>
1102 <dc:attribute name="ids" value="${aid}"/>
1103 <dc:attribute name="out" value="duration_curve"/>
1104 </dc:element>
1105 </dc:elements>
1106 </dc:context>
1107 </dc:elements>
1108 </dc:context>
1109 </dc:elements>
1110 </computed_discharge_curves>
1111 </dc:if>
1079 <dc:comment> 1112 <dc:comment>
1080 WATERLEVELS - ONLY SHOW Ws 1113 WATERLEVELS - ONLY SHOW Ws
1081 </dc:comment> 1114 </dc:comment>
1082 1115
1083 <dc:if test="dc:contains($artifact-outs, 'waterlevels')"> 1116 <dc:if test="dc:contains($artifact-outs, 'waterlevels')">

http://dive4elements.wald.intevation.org