Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 2096:bf598599782a
Made old calculation results available for floodmaps.
flys-artifacts/trunk@3644 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 11 Jan 2012 10:17:16 +0000 |
parents | a107b42ab553 |
children | 2f5cb58e662e |
comparison
equal
deleted
inserted
replaced
2095:8cb679d4ec49 | 2096:bf598599782a |
---|---|
872 </dc:context> | 872 </dc:context> |
873 </dc:elements> | 873 </dc:elements> |
874 </waterlevels> | 874 </waterlevels> |
875 </dc:if> | 875 </dc:if> |
876 | 876 |
877 <dc:comment> | |
878 SHOW FLOODMAPS | |
879 </dc:comment> | |
880 | |
881 <dc:if test="dc:contains($artifact-outs, 'floodmap')"> | |
882 <floodmap> | |
883 <dc:elements> | |
884 <dc:context> | |
885 <dc:statement> | |
886 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation | |
887 FROM master_artifacts m | |
888 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) | |
889 AND EXISTS ( | |
890 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) | |
891 </dc:statement> | |
892 <dc:elements> | |
893 <dc:context> | |
894 <dc:statement> | |
895 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description | |
896 FROM outs as o, facets as f, artifacts as a | |
897 WHERE f.name = 'floodmap.wsplgen' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} | |
898 </dc:statement> | |
899 <dc:elements> | |
900 <dc:element name="${facet_name}"> | |
901 <dc:attribute name="description" value="${facet_description}"/> | |
902 <dc:attribute name="factory" value="winfo"/> | |
903 <dc:attribute name="artifact-id" value="${aid}"/> | |
904 <dc:attribute name="ids" value="${aid}"/> | |
905 <dc:attribute name="out" value="floodmap"/> | |
906 </dc:element> | |
907 </dc:elements> | |
908 </dc:context> | |
909 </dc:elements> | |
910 </dc:context> | |
911 </dc:elements> | |
912 </floodmap> | |
913 </dc:if> | |
914 | |
877 </dc:context> | 915 </dc:context> |
878 </old_calculations> | 916 </old_calculations> |
879 | 917 |
880 | 918 |
881 <dc:comment> | 919 <dc:comment> |