annotate flys-artifacts/doc/conf/meta-data-template.xml @ 960:92027887775a

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

http://dive4elements.wald.intevation.org