annotate flys-artifacts/doc/conf/meta-data.xml @ 1869:8f7bc6acd48d

Adjusted DC for heightmarks (and other) in discharge longitudinal sections. flys-artifacts/trunk@3218 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 10 Nov 2011 11:48:54 +0000
parents 9793a67d7998
children ec458853f560
rev   line source
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage">
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
3 <datacage>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
4 <dc:macro name="load-system">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
5 <dc:context connection="system">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
6 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
7 SELECT id AS river_id, name as river_name FROM rivers
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
8 WHERE lower(name) LIKE lower(${river})
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
9 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
10 <dc:elements>
1790
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
11 <dc:comment>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
12 Base-data macros (mostly data imported from wst-files)
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
13 </dc:comment>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
14 <dc:macro name="basedata_0">
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
15 <dc:comment comment=" BASEDATA ---------------------------"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
16 <basedata>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
17 <dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
18 <dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
19 SELECT id AS prot_id,
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
20 description AS prot_description
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
21 FROM wsts WHERE kind = 0 AND river_id = ${river_id}
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
22 </dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
23 <dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
24 <basedata>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
25 <dc:attribute name="name" value="${prot_description}"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
26 <dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
27 <dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
28 SELECT id AS prot_column_id,
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
29 name AS prot_column_name,
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
30 position AS prot_rel_pos
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
31 FROM wst_columns WHERE wst_id = ${prot_id}
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
32 ORDER by position
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
33 </dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
34 <dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
35 <column>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
36 <dc:attribute name="name" value="${prot_column_name}"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
37 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
38 <dc:attribute name="factory" value="staticwkms"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
39 </column>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
40 </dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
41 </dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
42 </basedata>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
43 </dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
44 </dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
45 </basedata>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
46 </dc:macro>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
47 <dc:macro name="basedata_1_additionals">
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
48 <dc:comment comment=".ZUS -------------------------------"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
49 <addtionals>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
50 <dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
51 <dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
52 SELECT id AS prot_id,
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
53 description AS prot_description
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
54 FROM wsts WHERE kind = 1 AND river_id = ${river_id}
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
55 </dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
56 <dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
57 <additional>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
58 <dc:attribute name="name" value="${prot_description}"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
59 <dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
60 <dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
61 SELECT id AS prot_column_id,
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
62 name AS prot_column_name,
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
63 position AS prot_rel_pos
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
64 FROM wst_columns WHERE wst_id = ${prot_id}
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
65 ORDER by position
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
66 </dc:statement>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
67 <dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
68 <column>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
69 <dc:attribute name="name" value="${prot_column_name}"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
70 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
71 <dc:attribute name="factory" value="staticwkms"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
72 </column>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
73 </dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
74 </dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
75 </additional>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
76 </dc:elements>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
77 </dc:context>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
78 </addtionals>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
79 </dc:macro>
1869
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
80
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
81 <dc:macro name="basedata_4_heightmarks-points">
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
82 <heightmarks>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
83 <dc:context>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
84 <dc:statement>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
85 SELECT id AS prot_id,
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
86 description AS prot_description
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
87 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
88 </dc:statement>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
89 <dc:elements>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
90 <heightmark>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
91 <dc:attribute name="name" value="${prot_description}"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
92 <dc:context>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
93 <dc:statement>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
94 SELECT id AS prot_column_id,
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
95 name AS prot_column_name,
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
96 position AS prot_rel_pos
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
97 FROM wst_columns WHERE wst_id = ${prot_id}
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
98 ORDER by position
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
99 </dc:statement>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
100 <dc:elements>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
101 <column>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
102 <dc:attribute name="name" value="${prot_column_name}"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
103 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
104 <dc:attribute name="factory" value="staticwkms"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
105 </column>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
106 </dc:elements>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
107 </dc:context>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
108 </heightmark>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
109 </dc:elements>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
110 </dc:context>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
111 </heightmarks>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
112 </dc:macro>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
113
1851
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
114 <dc:macro name="mainvalues">
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
115 <mainvalue>
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
116 <dc:attribute name="factory" value="mainvalue"/>
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
117 <dc:attribute name="ids" value="${river_id}"/>
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
118 </mainvalue>
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
119 </dc:macro>
1865
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
120
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
121 <dc:macro name="annotations">
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
122 <annotation>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
123 <dc:attribute name="factory" value="annotations"/>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
124 <dc:attribute name="ids" value="${river_id}"/>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
125 </annotation>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
126 </dc:macro>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
127
1869
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
128
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
129 <dc:comment>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
130
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
131 + River-Node
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
132
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
133 </dc:comment>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
134
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
135 <river>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
136 <dc:attribute name="name" value="${river_name}"/>
1865
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
137
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
138 <dc:choose>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
139 <dc:when test="dc:contains($parameters, 'recommended')">
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
140 <dc:comment>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
141 Recommendations.
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
142 </dc:comment>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
143 <dc:if test="dc:contains($artifact-outs, 'w_differences') or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))">
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
144 <dc:call-macro name="annotations"/>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
145 </dc:if>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
146 </dc:when>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
147 <dc:otherwise>
1869
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
148 <dc:comment>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
149 Non - Recommendations.
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
150 </dc:comment>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
151 <dc:if test="dc:contains($artifact-outs, 'cross_section')">
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
152 <dc:call-macro name="basedata_0"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
153 <dc:call-macro name="basedata_1_additionals"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
154 </dc:if>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
155 <dc:if test="dc:contains($artifact-outs, 'discharge_longitudinal_section')">
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
156 <dc:call-macro name="basedata_0"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
157 <dc:call-macro name="basedata_4_heightmarks-points"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
158 </dc:if>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
159 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))">
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
160 <dc:call-macro name="basedata_0"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
161 <dc:call-macro name="basedata_1_additionals"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
162 <dc:comment comment=" FIXATIONS ---------------------------"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
163 <dc:call-macro name="basedata_2_fixations"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
164 <dc:comment comment=" HOEHENMARKEN ---------------------------"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
165 <dc:call-macro name="basedata_4_heightmarks-points"/>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
166 </dc:if>
8f7bc6acd48d Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1868
diff changeset
167 <dc:comment comment="--- non-recommendations---"/>
1865
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
168 </dc:otherwise>
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
169 </dc:choose>
1790
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
170 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))">
1764
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
171 <dc:choose>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
172 <dc:when test="dc:contains($parameters, 'recommended')">
1790
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
173 </dc:when>
1764
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
174 <dc:otherwise>
1790
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
175 <dc:call-macro name="basedata_0"/>
d3a0d55dff63 Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1789
diff changeset
176 <dc:call-macro name="basedata_1_additionals"/>
1764
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
177 <dc:comment comment=" FIXATIONS ---------------------------"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
178 <fixations>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
179 <dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
180 <dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
181 SELECT id AS prot_id,
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
182 description AS prot_description
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
183 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
184 </dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
185 <dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
186 <fixation>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
187 <dc:attribute name="name" value="${prot_description}"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
188 <dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
189 <dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
190 SELECT id AS prot_column_id,
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
191 name AS prot_column_name,
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
192 position AS prot_rel_pos
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
193 FROM wst_columns WHERE wst_id = ${prot_id}
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
194 ORDER by position
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
195 </dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
196 <dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
197 <column>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
198 <dc:attribute name="name" value="${prot_column_name}"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
199 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
200 <dc:attribute name="factory" value="staticwkms"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
201 </column>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
202 </dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
203 </dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
204 </fixation>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
205 </dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
206 </dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
207 </fixations>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
208 <dc:comment comment=" HOEHENMARKEN ---------------------------"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
209 <heightmarks>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
210 <dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
211 <dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
212 SELECT id AS prot_id,
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
213 description AS prot_description
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
214 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
215 </dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
216 <dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
217 <heightmark>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
218 <dc:attribute name="name" value="${prot_description}"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
219 <dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
220 <dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
221 SELECT id AS prot_column_id,
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
222 name AS prot_column_name,
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
223 position AS prot_rel_pos
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
224 FROM wst_columns WHERE wst_id = ${prot_id}
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
225 ORDER by position
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
226 </dc:statement>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
227 <dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
228 <column>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
229 <dc:attribute name="name" value="${prot_column_name}"/>
1815
a97764363ba2 Apply point theme to heightmark data imported via datacage to longitudinal section diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1805
diff changeset
230 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/>
1764
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
231 <dc:attribute name="factory" value="staticwkms"/>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
232 </column>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
233 </dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
234 </dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
235 </heightmark>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
236 </dc:elements>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
237 </dc:context>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
238 </heightmarks>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
239 </dc:otherwise>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
240 </dc:choose>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
241 </dc:if>
87c82499b98f Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1761
diff changeset
242
1728
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
243 <dc:if test="dc:contains($artifact-outs, 'waterlevels')">
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
244 <flood-protections>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
245 <dc:attribute name="id" value="flood-protections-${river_id}"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
246 <dc:context>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
247 <dc:statement>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
248 SELECT id AS prot_id,
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
249 description AS prot_description
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
250 FROM wsts WHERE kind = 5 AND river_id = ${river_id}
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
251 </dc:statement>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
252 <dc:elements>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
253 <flood-protection>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
254 <dc:attribute name="name" value="${prot_description}"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
255 <dc:attribute name="db-id" value="${prot_id}"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
256 <dc:attribute name="factory" value="staticwkms"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
257 <columns>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
258 <dc:context>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
259 <dc:statement>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
260 SELECT id AS prot_column_id,
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
261 name AS prot_column_name,
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
262 position AS prot_rel_pos
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
263 FROM wst_columns WHERE wst_id = ${prot_id}
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
264 ORDER by position
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
265 </dc:statement>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
266 <dc:elements>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
267 <column>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
268 <dc:attribute name="name" value="${prot_column_name}"/>
1739
980d880c583c Fix datacage to let client load flood-protection and zuss.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1731
diff changeset
269 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/>
1728
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
270 <dc:attribute name="factory" value="staticwkms"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
271 </column>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
272 </dc:elements>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
273 </dc:context>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
274 </columns>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
275 </flood-protection>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
276 </dc:elements>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
277 </dc:context>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
278 </flood-protections>
1731
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
279 <extra-longitudinal-sections>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
280 <dc:attribute name="id" value="extra-longitudinal-sections-${river_id}"/>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
281 <dc:context>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
282 <dc:statement>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
283 SELECT id AS els_id,
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
284 description AS els_description
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
285 FROM wsts WHERE kind = 1 AND river_id = ${river_id}
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
286 </dc:statement>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
287 <dc:elements>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
288 <extra-longitudinal-section>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
289 <dc:attribute name="name" value="${els_description}"/>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
290 <dc:attribute name="db-id" value="${els_id}"/>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
291 <columns>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
292 <dc:context>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
293 <dc:statement>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
294 SELECT id AS els_column_id,
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
295 name AS els_column_name,
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
296 position AS els_rel_pos
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
297 FROM wst_columns WHERE wst_id = ${els_id}
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
298 ORDER by position
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
299 </dc:statement>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
300 <dc:elements>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
301 <column>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
302 <dc:attribute name="name" value="${els_column_name}"/>
1739
980d880c583c Fix datacage to let client load flood-protection and zuss.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1731
diff changeset
303 <dc:attribute name="ids" value="flood_protection-wstv-${els_rel_pos}-${els_id}"/>
1731
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
304 <dc:attribute name="factory" value="staticwkms"/>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
305 </column>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
306 </dc:elements>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
307 </dc:context>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
308 </columns>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
309 </extra-longitudinal-section>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
310 </dc:elements>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
311 </dc:context>
37606f0ddc1e Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1728
diff changeset
312 </extra-longitudinal-sections>
1728
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
313 </dc:if>
1773
9be01e2e6897 Prevent recommendation of not yet loadable data.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1764
diff changeset
314 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve') and not (dc:contains($parameters, 'recommended'))">
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
315 <discharge-table-nn>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
316 <discharge-table-gauge>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
317 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
318 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
319 SELECT id AS gauge_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
320 name AS gauge_name
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
321 FROM gauges WHERE river_id = ${river_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
322 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
323 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
324 <gauge>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
325 <dc:attribute name="name" value="${gauge_name}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
326 <dc:attribute name="db-id" value="${gauge_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
327 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
328 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
329 SELECT description AS gauge_desc,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
330 d.id AS discharge_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
331 ti.start_time AS g_start,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
332 ti.stop_time AS g_stop
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
333 FROM discharge_tables d JOIN time_intervals ti
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
334 ON d.time_interval_id = ti.id
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
335 WHERE d.gauge_id = ${gauge_id} AND d.kind = 1
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
336 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
337 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
338 <historical>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
339 <dc:attribute name="name" value="${gauge_desc}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
340 <dc:attribute name="from" value="${g_start}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
341 <dc:attribute name="to" value="${g_stop}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
342 <dc:attribute name="db-id" value="${discharge_id}"/></historical>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
343 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
344 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
345 </gauge>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
346 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
347 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
348 </discharge-table-gauge>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
349 <fixations>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
350 <dc:attribute name="id" value="fixations-${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
351 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
352 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
353 SELECT id AS fix_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
354 description AS fix_description
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
355 FROM wsts WHERE kind = 2 AND river_id = ${river_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
356 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
357 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
358 <fixation>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
359 <dc:attribute name="name" value="${fix_description}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
360 <dc:attribute name="db-id" value="${fix_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
361 <columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
362 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
363 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
364 SELECT id AS fix_column_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
365 name AS fix_column_name
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
366 FROM wst_columns WHERE wst_id = ${fix_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
367 ORDER by position
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
368 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
369 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
370 <column>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
371 <dc:attribute name="name" value="${fix_column_name}"/>
1728
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
372 <dc:attribute name="db-id" value="${fix_column_id}"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
373 </column>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
374 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
375 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
376 </columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
377 </fixation>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
378 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
379 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
380 </fixations>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
381 <flood-protections>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
382 <dc:attribute name="id" value="flood-protections-${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
383 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
384 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
385 SELECT id AS prot_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
386 description AS prot_description
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
387 FROM wsts WHERE kind = 5 AND river_id = ${river_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
388 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
389 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
390 <flood-protection>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
391 <dc:attribute name="name" value="${prot_description}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
392 <dc:attribute name="db-id" value="${prot_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
393 <columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
394 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
395 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
396 SELECT id AS prot_column_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
397 name AS prot_column_name
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
398 FROM wst_columns WHERE wst_id = ${prot_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
399 ORDER by position
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
400 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
401 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
402 <column>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
403 <dc:attribute name="name" value="${prot_column_name}"/>
1728
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
404 <dc:attribute name="db-id" value="${prot_column_id}"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
405 <dc:attribute name="factory" value="staticwkms"/>
6068b6c90a19 Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1716
diff changeset
406 </column>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
407 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
408 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
409 </columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
410 </flood-protection>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
411 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
412 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
413 </flood-protections>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
414 <flood-water-marks>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
415 <dc:attribute name="id" value="flood-water-marks-${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
416 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
417 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
418 SELECT id AS fw_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
419 description AS fw_description
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
420 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
421 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
422 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
423 <flood-water-mark>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
424 <dc:attribute name="name" value="${fw_description}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
425 <dc:attribute name="db-id" value="${fw_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
426 <columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
427 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
428 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
429 SELECT id AS fw_column_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
430 name AS fw_column_name
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
431 FROM wst_columns WHERE wst_id = ${fw_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
432 ORDER by position
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
433 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
434 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
435 <column>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
436 <dc:attribute name="name" value="${fw_column_name}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
437 <dc:attribute name="db-id" value="${fw_column_id}"/></column>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
438 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
439 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
440 </columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
441 </flood-water-mark>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
442 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
443 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
444 </flood-water-marks>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
445 <water-levels>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
446 <dc:attribute name="id" value="water-levels-${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
447 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
448 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
449 SELECT id AS wl_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
450 description AS wl_description
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
451 FROM wsts WHERE kind = 0 AND river_id = ${river_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
452 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
453 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
454 <water-level>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
455 <dc:attribute name="name" value="${wl_description}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
456 <dc:attribute name="db-id" value="${wl_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
457 <columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
458 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
459 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
460 SELECT id AS wl_column_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
461 name AS wl_column_name
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
462 FROM wst_columns WHERE wst_id = ${wl_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
463 ORDER by position
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
464 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
465 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
466 <column>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
467 <dc:attribute name="name" value="${wl_column_name}"/>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
468 <dc:attribute name="db-id" value="${wl_column_id}"/>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
469 </column>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
470 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
471 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
472 </columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
473 </water-level>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
474 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
475 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
476 </water-levels>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
477 <extra-longitudinal-sections>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
478 <dc:attribute name="id" value="extra-longitudinal-sections-${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
479 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
480 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
481 SELECT id AS els_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
482 description AS els_description
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
483 FROM wsts WHERE kind = 1 AND river_id = ${river_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
484 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
485 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
486 <extra-longitudinal-section>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
487 <dc:attribute name="name" value="${els_description}"/>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
488 <dc:attribute name="db-id" value="${els_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
489 <columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
490 <dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
491 <dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
492 SELECT id AS els_column_id,
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
493 name AS els_column_name
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
494 FROM wst_columns WHERE wst_id = ${els_id}
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
495 ORDER by position
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
496 </dc:statement>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
497 <dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
498 <column>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
499 <dc:attribute name="name" value="${els_column_name}"/>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
500 <dc:attribute name="db-id" value="${els_column_id}"/>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
501 </column>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
502 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
503 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
504 </columns>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
505 </extra-longitudinal-section>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
506 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
507 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
508 </extra-longitudinal-sections>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
509 </discharge-table-nn>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
510 </dc:if>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
511 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
512 <computed-discharge-curve>
1851
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
513 <dc:call-macro name="mainvalues"/>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
514 </computed-discharge-curve>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
515 </dc:if>
1851
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
516 <dc:if test="dc:contains($artifact-outs, 'duration_curve')">
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
517 <dc:call-macro name="mainvalues"/>
67aa74efc024 Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1841
diff changeset
518 </dc:if>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
519 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
520 <longitudinal-section>
1865
ba6659083fa0 Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1857
diff changeset
521 <dc:call-macro name="annotations"/>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
522 </longitudinal-section>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
523 </dc:if>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
524 <dc:if test="dc:contains($artifact-outs, 'floodmap')">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
525 <floodmap>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
526 <dc:choose>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
527 <dc:when test="dc:contains($parameters, 'recommended')">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
528 <dc:call-macro name="flood-map-recommended"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
529 </dc:when>
1185
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
530 <dc:when test="dc:contains($parameters, 'dem')">
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
531 <dc:call-macro name="flood-map-dem"/>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
532 </dc:when>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
533 <dc:otherwise>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
534 <dc:call-macro name="flood-map-complete"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
535 </dc:otherwise>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
536 </dc:choose>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
537 </floodmap>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
538 <dc:macro name="flood-map-recommended">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
539 <dc:comment>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
540 FIXME: Following two macros look identical to me.
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
541 </dc:comment>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
542 <kilometrage>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
543 <riveraxis>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
544 <dc:attribute name="factory" value="riveraxis"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
545 <dc:attribute name="ids" value="${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
546 </riveraxis>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
547 </kilometrage>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
548 <rastermap>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
549 <background>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
550 <dc:attribute name="factory" value="wmsbackground"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
551 <dc:attribute name="ids" value="${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
552 </background>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
553 </rastermap>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
554 </dc:macro>
1185
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
555 <dc:macro name="flood-map-dem">
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
556 <dems>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
557 <dc:context>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
558 <dc:statement>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
559 SELECT id AS dem_id,
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
560 lower AS dem_lower,
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
561 upper AS dem_upper
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
562 FROM dem WHERE river_id = ${river_id}
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
563 </dc:statement>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
564 <dc:elements>
1186
be8b5c06a1f8 Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1185
diff changeset
565 <dem>
be8b5c06a1f8 Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1185
diff changeset
566 <dc:attribute name="factory" value="demfactory"/>
be8b5c06a1f8 Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1185
diff changeset
567 <dc:attribute name="ids" value="${dem_id}"/>
be8b5c06a1f8 Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1185
diff changeset
568 <dc:attribute name="description" value="${dem_lower}-${dem_upper}"/>
be8b5c06a1f8 Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1185
diff changeset
569 </dem>
1185
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
570 </dc:elements>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
571 </dc:context>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
572 </dems>
c5f494a9749d Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1181
diff changeset
573 </dc:macro>
1805
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
574 <dc:macro name="flood-map-km">
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
575 <dc:context>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
576 <dc:statement>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
577 SELECT count(*) as km_exists
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
578 FROM river_axes_km WHERE river_id = ${river_id}
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
579 </dc:statement>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
580 <dc:elements>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
581 <dc:if test="$km_exists>0">
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
582 <km>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
583 <dc:attribute name="factory" value="wmskmfactory"/>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
584 <dc:attribute name="ids" value="${river_id}"/>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
585 </km>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
586 </dc:if>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
587 </dc:elements>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
588 </dc:context>
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
589 </dc:macro>
1836
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
590 <dc:macro name="flood-map-qps">
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
591 <dc:context>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
592 <dc:statement>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
593 SELECT count(*) as km_exists
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
594 FROM cross_section_tracks WHERE river_id = ${river_id}
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
595 </dc:statement>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
596 <dc:elements>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
597 <dc:if test="$km_exists>0">
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
598 <qps>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
599 <dc:attribute name="factory" value="wmsqpsfactory"/>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
600 <dc:attribute name="ids" value="${river_id}"/>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
601 </qps>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
602 </dc:if>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
603 </dc:elements>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
604 </dc:context>
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
605 </dc:macro>
1855
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
606 <dc:macro name="flood-map-hws">
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
607 <dc:context>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
608 <dc:statement>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
609 SELECT count(*) as km_exists
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
610 FROM hws WHERE river_id = ${river_id}
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
611 </dc:statement>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
612 <dc:elements>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
613 <dc:if test="$km_exists>0">
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
614 <hws>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
615 <dc:attribute name="factory" value="wmshwsfactory"/>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
616 <dc:attribute name="ids" value="${river_id}"/>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
617 </hws>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
618 </dc:if>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
619 </dc:elements>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
620 </dc:context>
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
621 </dc:macro>
1856
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
622 <dc:macro name="flood-map-catchments">
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
623 <dc:context>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
624 <dc:statement>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
625 SELECT count(*) as km_exists
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
626 FROM catchment WHERE river_id = ${river_id}
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
627 </dc:statement>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
628 <dc:elements>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
629 <dc:if test="$km_exists>0">
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
630 <catchments>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
631 <dc:attribute name="factory" value="wmscatchmentfactory"/>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
632 <dc:attribute name="ids" value="${river_id}"/>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
633 </catchments>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
634 </dc:if>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
635 </dc:elements>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
636 </dc:context>
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
637 </dc:macro>
1857
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
638 <dc:macro name="flood-map-floodplain">
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
639 <dc:context>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
640 <dc:statement>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
641 SELECT count(*) as km_exists
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
642 FROM floodplain WHERE river_id = ${river_id}
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
643 </dc:statement>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
644 <dc:elements>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
645 <dc:if test="$km_exists>0">
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
646 <floodplain>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
647 <dc:attribute name="factory" value="wmsfloodplainfactory"/>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
648 <dc:attribute name="ids" value="${river_id}"/>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
649 </floodplain>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
650 </dc:if>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
651 </dc:elements>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
652 </dc:context>
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
653 </dc:macro>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
654 <dc:macro name="flood-map-complete">
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
655 <kilometrage>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
656 <riveraxis>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
657 <dc:attribute name="factory" value="riveraxis"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
658 <dc:attribute name="ids" value="${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
659 </riveraxis>
1805
5e9696c32f04 Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1790
diff changeset
660 <dc:call-macro name="flood-map-km"/>
1836
729ba79e94a0 Added datacage configuration, loader (Artifact and State) and a theme for cross section tracks.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1835
diff changeset
661 <dc:call-macro name="flood-map-qps"/>
1855
b4798f15edc7 Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1851
diff changeset
662 <dc:call-macro name="flood-map-hws"/>
1856
410e40b88c7a Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1855
diff changeset
663 <dc:call-macro name="flood-map-catchments"/>
1857
7fc87a67e6f7 Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1856
diff changeset
664 <dc:call-macro name="flood-map-floodplain"/>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
665 </kilometrage>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
666 <rastermap>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
667 <background>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
668 <dc:attribute name="factory" value="wmsbackground"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
669 <dc:attribute name="ids" value="${river_id}"/>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
670 </background>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
671 </rastermap>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
672 </dc:macro>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
673 </dc:if>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
674 </river>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
675 </dc:elements>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
676 </dc:context>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
677 </dc:macro>
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
678
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
679 <dc:choose>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
680 <dc:comment>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
681 User specific part
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
682 ------------------
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
683 </dc:comment>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
684 <dc:when test="dc:contains($parameters, 'user-id')">
1758
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
685 <dc:comment>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
686 Show diffferences if longitudinal sections are there.
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
687 -----------------------------------------------------
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
688 </dc:comment>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
689 <dc:choose>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
690 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')">
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
691 <dc:context>
1760
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
692 <dc:statement>
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
693 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
694 FROM outs as o, facets as f, artifacts as a
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
695 WHERE f.name = 'w_differences' and f.out_id = o.id and o.artifact_id = a.id;
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
696 </dc:statement>
1758
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
697 <dc:elements>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
698 <differences>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
699 <dc:element name="${facet_name}">
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
700 <dc:attribute name="description" value="${facet_description}"/>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
701 <dc:attribute name="factory" value="winfo"/>
1760
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
702 <dc:attribute name="artifact-id" value="${aid}"/>
424e26041564 Configured datacage to hand out id of artifact that can produce the w_diff.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1758
diff changeset
703 <dc:attribute name="ids" value="${aid}"/>
1758
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
704 <dc:attribute name="out" value="w_differences"/>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
705 </dc:element>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
706 </differences>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
707 </dc:elements>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
708 </dc:context>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
709 </dc:when>
1d78039a36e6 Include differences in datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1757
diff changeset
710 </dc:choose>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
711 <old_calculations>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
712 <dc:context connection="user">
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
713 <dc:statement>SELECT u.id AS user_id, c.id AS collection_id, c.name as collection_name
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
714 FROM collections c JOIN users u ON c.user_id = u.id
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
715 WHERE u.gid = CAST(${user-id} AS uuid)
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
716 ORDER BY c.creation DESC
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
717 </dc:statement>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
718 <dc:elements>
1716
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
719 <dc:comment><!--
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
720 <hello_collection><dc:attribute name="description" value="Collection: id=${collection_id} name='${collection_name}'"/></hello_collection>
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
721 --></dc:comment>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
722 <dc:context>
1716
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
723 <dc:statement>SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
724 FROM master_artifacts m
1716
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
725 WHERE m.collection_id = ${collection_id} AND m.gid &lt;&gt; CAST(${artifact-id} AS uuid)
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
726 AND EXISTS (
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
727 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river})
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
728 </dc:statement>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
729 <dc:elements>
1716
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
730 <dc:comment><!--
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
731 <hello_artifact><dc:attribute name="description" value="Artifact UUID: ${a_gid}"/></hello_artifact>
3ca999f507b7 flys/issue314: Variables in datacage are now case insensitive.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1657
diff changeset
732 --></dc:comment>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
733 <dc:choose>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
734
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
735
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
736 <dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
737 Import longitudinal sections only if the ${artifact-out} is defined as 'longitudinal_section'
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
738 ---------------------------------------------------------------------------------------------
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
739 </dc:comment>
1868
9793a67d7998 Have old_data in dc for discharge_longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1865
diff changeset
740 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))">
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
741 <dc:context>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
742 <dc:statement>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
743 SELECT id AS out_id
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
744 FROM outs
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
745 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section'
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
746 </dc:statement>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
747 <dc:elements>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
748 <dc:context>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
749 <dc:statement>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
750 SELECT name AS facet_name, num as facet_num, description AS facet_description
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
751 FROM facets
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
752 WHERE out_id = ${out_id}
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
753 ORDER BY num ASC, name DESC
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
754 </dc:statement>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
755 <longitudinal_section_columns>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
756 <dc:attribute name="description" value="${river} ${a_creation}"/>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
757 <dc:elements>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
758 <dc:element name="${facet_name}">
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
759 <dc:attribute name="description" value="${facet_description}"/>
1069
28ea1e8a5f46 Datacage: Use 'ids' in user specific part, too.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1068
diff changeset
760 <dc:attribute name="ids" value="${facet_num}"/>
1054
1f3e944a805c Datacage: filter by out in user specific part
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1046
diff changeset
761 <dc:attribute name="factory" value="winfo"/>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
762 <dc:attribute name="artifact-id" value="${a_gid}"/>
1054
1f3e944a805c Datacage: filter by out in user specific part
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents: 1046
diff changeset
763 <dc:attribute name="out" value="longitudinal_section"/>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
764 </dc:element>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
765 </dc:elements>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
766 </longitudinal_section_columns>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
767 </dc:context>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
768 </dc:elements>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
769 </dc:context>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
770 </dc:when>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
771 <dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
772 Import of longitudinal sections finished
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
773 </dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
774
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
775
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
776 <dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
777 Import Waterlevels only if the ${artifact-out} is defined as 'waterlevels'
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
778 --------------------------------------------------------------------------
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
779 </dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
780 <dc:when test="dc:contains($artifact-outs, 'waterlevels')">
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
781 <dc:context>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
782 <dc:statement>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
783 SELECT id AS out_id
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
784 FROM outs
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
785 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section'
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
786 </dc:statement>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
787 <dc:elements>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
788 <dc:context>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
789 <dc:statement>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
790 SELECT name AS facet_name, num as facet_num, description AS facet_description
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
791 FROM facets
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
792 WHERE out_id = ${out_id} and name = 'longitudinal_section.w'
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
793 ORDER BY num ASC, name DESC
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
794 </dc:statement>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
795 <waterlevels>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
796 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
797 <dc:elements>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
798 <dc:element name="${facet_name}">
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
799 <dc:attribute name="description" value="${facet_description}"/>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
800 <dc:attribute name="ids" value="${facet_num}"/>
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
801 <dc:attribute name="factory" value="winfo"/>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
802 <dc:attribute name="artifact-id" value="${a_gid}"/>
1757
63d5d52ba7f3 Cosmetics.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents: 1739
diff changeset
803 <dc:attribute name="out" value="longitudinal_section"/>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
804 </dc:element>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
805 </dc:elements>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
806 </waterlevels>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
807 </dc:context>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
808 </dc:elements>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
809 </dc:context>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
810 </dc:when>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
811 <dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
812 Import of waterlevels finished
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
813 </dc:comment>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
814
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
815 </dc:choose>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
816 </dc:elements>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
817 </dc:context>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
818 </dc:elements>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
819 </dc:context>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
820 </old_calculations>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
821
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
822
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
823 <dc:comment>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
824 Include System specific part when 'load-system' is in parameters.
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
825 -----------------------------------------------------------------
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
826 </dc:comment>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
827 <dc:choose>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
828 <dc:when test="dc:contains($parameters,'load-system')">
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
829 <dc:call-macro name="load-system"/>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
830 </dc:when>
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
831 </dc:choose>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
832 </dc:when>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
833
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
834
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
835 <dc:comment>
1657
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
836 Include System specific part only if no user ID is given.
91d038c7aae5 Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1186
diff changeset
837 ---------------------------------------------------------
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
838 </dc:comment>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
839 <dc:otherwise>
1181
dd59431d648f Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents: 1097
diff changeset
840 <dc:call-macro name="load-system"/>
1046
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
841 </dc:otherwise>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
842 </dc:choose>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
843 </datacage>
0a5eff5511b1 Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff changeset
844 </dc:template>

http://dive4elements.wald.intevation.org