annotate flys-artifacts/src/main/resources/metadata/template.xml @ 409:c7a55ff1e22a

Datacage: Added forgotten columns of fixation WST to datcage template. flys-artifacts/trunk@1866 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 09 May 2011 13:47:15 +0000
parents 55c2b0d9999e
children 7c018f466d6d
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
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
7 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
8 <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
9 <river>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
10 <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
11 <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
12 <discharge-table-nn>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
13 <discharge-table-gauge>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
14 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
15 <dc:statement>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
16 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
17 name AS gauge_name
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
18 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
19 </dc:statement>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
20 <dc:elements>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
21 <gauge>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
22 <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
23 <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
24 <dc:context>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
25 <dc:statement>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
26 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
27 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
28 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
29 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
30 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
31 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
32 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
33 </dc:statement>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
34 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
35 <historical>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
36 <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
37 <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
38 <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
39 <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
40 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
41 </dc:context>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
42 </gauge>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
43 </dc:elements>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
44 </dc:context>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
45 </discharge-table-gauge>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
46 <fixations>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
47 <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
48 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
49 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
50 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
51 description AS fix_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
52 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
53 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
54 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
55 <fixation>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
56 <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
57 <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
58 <columns>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
59 <dc:context>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
60 <dc:statement>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
61 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
62 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
63 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
64 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
65 </dc:statement>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
66 <dc:elements>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
67 <column>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
68 <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
69 <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
70 </dc:elements>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
71 </dc:context>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
72 </columns>
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
73 </fixation>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
74 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
75 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
76 </fixations>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
77 <flood-protections>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
78 <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
79 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
80 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
81 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
82 description AS prot_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
83 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
84 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
85 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
86 <flood-protection>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
87 <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
88 <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
89 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
90 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
91 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
92 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
93 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
94 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
95 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
96 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
97 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
98 <column>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
99 <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
100 <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
101 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
102 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
103 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
104 </flood-protection>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
105 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
106 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
107 </flood-protections>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
108 <flood-water-marks>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
109 <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
110 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
111 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
112 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
113 description AS fw_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
114 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
115 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
116 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
117 <flood-water-mark>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
118 <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
119 <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
120 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
121 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
122 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
123 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
124 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
125 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
126 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
127 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
128 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
129 <column>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
130 <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
131 <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
132 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
133 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
134 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
135 </flood-water-mark>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
136 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
137 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
138 </flood-water-marks>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
139 <water-levels>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
140 <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
141 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
142 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
143 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
144 description AS wl_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
145 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
146 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
147 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
148 <water-level>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
149 <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
150 <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
151 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
152 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
153 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
154 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
155 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
156 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
157 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
158 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
159 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
160 <column>
409
c7a55ff1e22a Datacage: Added forgotten columns of fixation WST to datcage template.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 405
diff changeset
161 <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
162 <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
163 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
164 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
165 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
166 </water-level>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
167 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
168 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
169 </water-levels>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
170 <extra-longitudinal-sections>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
171 <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
172 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
173 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
174 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
175 description AS els_description
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
176 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
177 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
178 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
179 <extra-longitudinal-section>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
180 <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
181 <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
182 <columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
183 <dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
184 <dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
185 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
186 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
187 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
188 ORDER by position
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
189 </dc:statement>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
190 <dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
191 <column>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
192 <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
193 <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
194 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
195 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
196 </columns>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
197 </extra-longitudinal-section>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
198 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
199 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
200 </extra-longitudinal-sections>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
201 </discharge-table-nn>
405
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
202 <longitudinal-section>
55c2b0d9999e Added data cage configuration for 'Längsschnitt'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 404
diff changeset
203 <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
204 <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
205 <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
206 <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
207 <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
208 </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
209 </river>
404
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
210 </dc:elements>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
211 </dc:context>
349c9bcdd917 Add data cage configuration for "Abflusskurve [NN + m]".
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 371
diff changeset
212 </datacage>
371
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
213 </dc:template>
dfbb3d50b0bd Added meta service stub. TODO: Add meta data builder.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
214

http://dive4elements.wald.intevation.org