Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 2722:36631f23acdf
Allow loading of previous reference curves.
flys-artifacts/trunk@4453 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 21 May 2012 12:21:35 +0000 |
parents | f1c639493941 |
children | 7311d0336600 |
comparison
equal
deleted
inserted
replaced
2721:f1c639493941 | 2722:36631f23acdf |
---|---|
1012 </dc:context> | 1012 </dc:context> |
1013 </dc:elements> | 1013 </dc:elements> |
1014 </differences> | 1014 </differences> |
1015 </dc:if> | 1015 </dc:if> |
1016 | 1016 |
1017 <dc:comment> | |
1018 SHOW REFERENCE CURVE | |
1019 </dc:comment> | |
1020 | |
1021 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> | |
1022 <reference_curves> | |
1023 <dc:elements> | |
1024 <dc:context> | |
1025 <dc:statement> | |
1026 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation | |
1027 FROM master_artifacts m | |
1028 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) | |
1029 AND EXISTS ( | |
1030 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) | |
1031 </dc:statement> | |
1032 <dc:elements> | |
1033 <dc:context> | |
1034 <dc:statement> | |
1035 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description | |
1036 FROM outs as o, facets as f, artifacts as a | |
1037 WHERE f.name = 'reference_curve' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} | |
1038 </dc:statement> | |
1039 <dc:elements> | |
1040 <dc:element name="${facet_name}"> | |
1041 <dc:attribute name="description" value="${facet_description}"/> | |
1042 <dc:attribute name="factory" value="winfo"/> | |
1043 <dc:attribute name="artifact-id" value="${aid}"/> | |
1044 <dc:attribute name="ids" value="${aid}"/> | |
1045 <dc:attribute name="out" value="reference_curve"/> | |
1046 </dc:element> | |
1047 </dc:elements> | |
1048 </dc:context> | |
1049 </dc:elements> | |
1050 </dc:context> | |
1051 </dc:elements> | |
1052 </reference_curves> | |
1053 </dc:if> | |
1054 | |
1055 <dc:comment> | |
1056 SHOW COMPUTED DISCHARGE CURVES | |
1057 </dc:comment> | |
1058 | |
1017 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> | 1059 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
1018 <computed_discharge_curves> | 1060 <computed_discharge_curves> |
1019 <dc:elements> | 1061 <dc:elements> |
1020 <dc:context> | 1062 <dc:context> |
1021 <dc:statement> | 1063 <dc:statement> |