annotate flys-artifacts/src/main/resources/metadata/template.xml @ 668:5523f5b889a8

#93 Changed the name of calculation type 4. flys-artifacts/trunk@2086 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 08 Jun 2011 13:32:56 +0000
parents 7c018f466d6d
children 854620e52971
rev   line source
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage">
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
3 <datacage>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
4 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
5 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
6 SELECT id AS river_id, name as river_name FROM rivers
415
7c018f466d6d Datacage: Added river parameter to meta data services.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 409
diff changeset
7 WHERE name ILIKE ${river}
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
8 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
9 <dc:elements>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
10 <river>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
11 <dc:attribute name="name" value="${river_name}"/>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
12 <dc:attribute name="river-id" value="${river_id}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
13 <discharge-table-nn>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
14 <discharge-table-gauge>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
15 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
16 <dc:statement>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
17 SELECT id AS gauge_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
18 name AS gauge_name
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
19 FROM gauges WHERE river_id = ${river_id}
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
20 </dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
21 <dc:elements>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
22 <gauge>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
23 <dc:attribute name="name" value="${gauge_name}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
24 <dc:attribute name="gauge-id" value="${gauge_id}"/>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
26 <dc:statement>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
27 SELECT description AS gauge_desc,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
28 d.id AS discharge_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
29 ti.start_time AS g_start,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
30 ti.stop_time AS g_stop
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
31 FROM discharge_tables d JOIN time_intervals ti
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
32 ON d.time_interval_id = ti.id
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
33 WHERE d.gauge_id = ${gauge_id} AND d.kind = 1
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
34 </dc:statement>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
35 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
36 <historical>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
37 <dc:attribute name="name" value="${gauge_desc}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
38 <dc:attribute name="from" value="${g_start}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
39 <dc:attribute name="to" value="${g_stop}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
40 <dc:attribute name="discharge-id" value="${discharge_id}"/></historical>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
41 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
42 </dc:context>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
43 </gauge>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
44 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
45 </dc:context>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
46 </discharge-table-gauge>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
47 <fixations>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
48 <dc:attribute name="id" value="fixations-${river_id}"/>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
49 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
50 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
51 SELECT id AS fix_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
52 description AS fix_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
53 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
54 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
55 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
56 <fixation>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
57 <dc:attribute name="name" value="${fix_description}"/>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
58 <dc:attribute name="fix-id" value="${fix_id}"/>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
59 <columns>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
60 <dc:context>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
61 <dc:statement>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
62 SELECT id AS fix_column_id,
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
63 name AS fix_column_name
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
64 FROM wst_columns WHERE wst_id = ${fix_id}
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
65 ORDER by position
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
66 </dc:statement>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
67 <dc:elements>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
68 <column>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
69 <dc:attribute name="name" value="${fix_column_name}"/>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
70 <dc:attribute name="column-id" value="${fix_column_id}"/></column>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
71 </dc:elements>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
72 </dc:context>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
73 </columns>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
74 </fixation>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
75 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
76 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
77 </fixations>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
78 <flood-protections>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
79 <dc:attribute name="id" value="flood-protections-${river_id}"/>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
80 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
81 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
82 SELECT id AS prot_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
83 description AS prot_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
84 FROM wsts WHERE kind = 5 AND river_id = ${river_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
85 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
86 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
87 <flood-protection>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
88 <dc:attribute name="name" value="${prot_description}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
89 <dc:attribute name="prot-id" value="${prot_id}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
90 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
91 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
92 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
93 SELECT id AS prot_column_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
94 name AS prot_column_name
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
95 FROM wst_columns WHERE wst_id = ${prot_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
96 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
97 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
98 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
99 <column>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
100 <dc:attribute name="name" value="${prot_column_name}"/>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
101 <dc:attribute name="column-id" value="${prot_column_id}"/></column>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
102 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
103 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
104 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
105 </flood-protection>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
106 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
107 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
108 </flood-protections>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
109 <flood-water-marks>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
110 <dc:attribute name="id" value="flood-water-marks-${river_id}"/>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
111 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
112 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
113 SELECT id AS fw_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
114 description AS fw_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
115 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
116 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
117 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
118 <flood-water-mark>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
119 <dc:attribute name="name" value="${fw_description}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
120 <dc:attribute name="fw-id" value="${fw_id}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
121 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
122 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
123 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
124 SELECT id AS fw_column_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
125 name AS fw_column_name
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
126 FROM wst_columns WHERE wst_id = ${fw_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
127 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
128 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
129 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
130 <column>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
131 <dc:attribute name="name" value="${fw_column_name}"/>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
132 <dc:attribute name="column-id" value="${fw_column_id}"/></column>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
133 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
134 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
135 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
136 </flood-water-mark>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
137 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
138 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
139 </flood-water-marks>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
140 <water-levels>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
141 <dc:attribute name="id" value="water-levels-${river_id}"/>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
142 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
143 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
144 SELECT id AS wl_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
145 description AS wl_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
146 FROM wsts WHERE kind = 0 AND river_id = ${river_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
147 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
148 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
149 <water-level>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
150 <dc:attribute name="name" value="${wl_description}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
151 <dc:attribute name="wl-id" value="${wl_id}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
152 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
153 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
154 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
155 SELECT id AS wl_column_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
156 name AS wl_column_name
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
157 FROM wst_columns WHERE wst_id = ${wl_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
158 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
159 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
160 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
161 <column>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
162 <dc:attribute name="name" value="${wl_column_name}"/>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
163 <dc:attribute name="column-id" value="${wl_column_id}"/></column>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
164 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
165 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
166 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
167 </water-level>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
168 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
169 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
170 </water-levels>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
171 <extra-longitudinal-sections>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
172 <dc:attribute name="id" value="extra-longitudinal-sections-${river_id}"/>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
173 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
174 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
175 SELECT id AS els_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
176 description AS els_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
177 FROM wsts WHERE kind = 1 AND river_id = ${river_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
178 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
179 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
180 <extra-longitudinal-section>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
181 <dc:attribute name="name" value="${els_description}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
182 <dc:attribute name="els-id" value="${els_id}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
183 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
184 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
185 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
186 SELECT id AS els_column_id,
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
187 name AS els_column_name
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
188 FROM wst_columns WHERE wst_id = ${els_id}
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
189 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
190 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
191 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
192 <column>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
193 <dc:attribute name="name" value="${els_column_name}"/>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
194 <dc:attribute name="column-id" value="${els_column_id}"/></column>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
195 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
196 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
197 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
198 </extra-longitudinal-section>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
199 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
200 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
201 </extra-longitudinal-sections>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
202 </discharge-table-nn>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
203 <longitudinal-section>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
204 <fixations><dc:attribute name="ref" value="fixations-${river_id}"/></fixations>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
205 <flood-protections><dc:attribute name="ref" value="flood-protections-${river_id}"/></flood-protections>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
206 <flood-water-marks><dc:attribute name="ref" value="flood-water-marks-${river_id}"/></flood-water-marks>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
207 <water-levels><dc:attribute name="ref" value="water-levels-${river_id}"/></water-levels>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
208 <extra-longitudinal-sections><dc:attribute name="ref" value="extra-longitudinal-sections-${river_id}"/></extra-longitudinal-sections>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
209 </longitudinal-section>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
210 </river>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
211 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
212 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
213 </datacage>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
214 </dc:template>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
215

http://dive4elements.wald.intevation.org