Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/meta-data.xml @ 4597:120001bf687f
meta-data.xml: Resolved discharge_longitudinal_section definitions and use
new longitudinal_section prototype.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 30 Nov 2012 12:02:38 +0100 |
parents | a44f56472d35 |
children | a292bc47c229 |
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, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
30 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
31 description AS info |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
32 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
|
33 ORDER by position |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
34 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
35 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
36 <column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
37 <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
|
38 <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
|
39 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
40 <dc:attribute name="info" value="${info}"/> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
41 </column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
42 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
43 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
44 </basedata> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
45 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
46 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
47 </basedata> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
48 </dc:macro> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
49 <dc:macro name="basedata_0_wq"> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
50 <dc:comment comment=" BASEDATA ---------------------------"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
51 <basedata> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
52 <dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
53 <dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
54 SELECT id AS prot_id, |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
55 description AS prot_description |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
56 FROM wsts WHERE kind = 0 AND river_id = ${river_id} |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
57 </dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
58 <dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
59 <basedata> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
60 <dc:attribute name="name" value="${prot_description}"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
61 <dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
62 <dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
63 SELECT id AS prot_column_id, |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
64 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
65 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
66 description AS info |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
67 FROM wst_columns WHERE wst_id = ${prot_id} |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
68 ORDER by position |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
69 </dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
70 <dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
71 <column> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
72 <dc:attribute name="name" value="${prot_column_name}"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
73 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
74 <dc:attribute name="factory" value="wqinterpol"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
75 <dc:attribute name="info" value="${info}"/> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
76 </column> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
77 </dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
78 </dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
79 </basedata> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
80 </dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
81 </dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
82 </basedata> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
83 </dc:macro> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
84 |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
85 <dc:macro name="basedata_1_additionals_marks"> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
86 <dc:comment comment=".ZUS -------------------------------"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
87 <additionals> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
88 <dc:context> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
89 <dc:statement> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
90 SELECT id AS prot_id, |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
91 description AS prot_description |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
92 FROM wsts WHERE kind = 1 AND river_id = ${river_id} |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
93 </dc:statement> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
94 <dc:elements> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
95 <additional> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
96 <dc:attribute name="name" value="${prot_description}"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
97 <dc:context> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
98 <dc:statement> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
99 SELECT id AS prot_column_id, |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
100 name AS prot_column_name, |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
101 position AS prot_rel_pos, |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
102 description AS info |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
103 FROM wst_columns WHERE wst_id = ${prot_id} |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
104 ORDER by position |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
105 </dc:statement> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
106 <dc:elements> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
107 <column> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
108 <dc:attribute name="name" value="${prot_column_name}"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
109 <dc:attribute name="ids" value="additionalsmarks-wstv-${prot_rel_pos}-${prot_id}"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
110 <dc:attribute name="factory" value="staticwkms"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
111 <dc:attribute name="info" value="${info}"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
112 </column> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
113 </dc:elements> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
114 </dc:context> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
115 </additional> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
116 </dc:elements> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
117 </dc:context> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
118 </additionals> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
119 </dc:macro> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
120 |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
121 <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
|
122 <dc:comment comment=".ZUS -------------------------------"/> |
2085
dd3f5bd174ea
Fix typo in meta data, such that string can be translated in GUI.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1978
diff
changeset
|
123 <additionals> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
124 <dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
125 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
126 SELECT id AS prot_id, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
127 description AS prot_description |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
128 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
|
129 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
130 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
131 <additional> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
132 <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
|
133 <dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
134 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
135 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
|
136 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
137 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
138 description AS info |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
139 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
|
140 ORDER by position |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
141 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
142 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
143 <column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
144 <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
|
145 <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
|
146 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
147 <dc:attribute name="info" value="${info}"/> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
148 </column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
149 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
150 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
151 </additional> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
152 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
153 </dc:context> |
2085
dd3f5bd174ea
Fix typo in meta data, such that string can be translated in GUI.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1978
diff
changeset
|
154 </additionals> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
155 </dc:macro> |
1764
87c82499b98f
Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1761
diff
changeset
|
156 |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
157 <dc:macro name="basedata_1_additionals-relative_point"> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
158 <dc:comment comment=".ZUS -------------------------------"/> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
159 <additionals> |
1728
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
160 <dc:context> |
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
161 <dc:statement> |
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
162 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
|
163 description AS prot_description |
1731
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
164 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
|
165 </dc:statement> |
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
166 <dc:elements> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
167 <relativepoint> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
168 <dc:attribute name="name" value="${prot_description}"/> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
169 <dc:context> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
170 <dc:statement> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
171 SELECT id AS prot_column_id, |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
172 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
173 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
174 description AS info |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
175 FROM wst_columns WHERE wst_id = ${prot_id} |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
176 ORDER by position |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
177 </dc:statement> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
178 <dc:elements> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
179 <column> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
180 <dc:attribute name="name" value="${prot_column_name}"/> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
181 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
182 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
183 <dc:attribute name="info" value="${info}"/> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
184 </column> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
185 </dc:elements> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
186 </dc:context> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
187 </relativepoint> |
1731
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
188 </dc:elements> |
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
189 </dc:context> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
190 </additionals> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
191 </dc:macro> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
192 |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
193 <dc:macro name="basedata_2_fixations_wst"> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
194 <fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
195 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
196 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
197 SELECT id AS prot_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
198 description AS prot_description |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
199 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
200 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
201 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
202 <fixation> |
2572
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
203 <dc:attribute name="name" value="${prot_description}"/> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
204 <!--dc:attribute name="ids" value="fixations-wstv-A-${prot_id}"/--> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
205 <dc:context> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
206 <dc:statement> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
207 SELECT id AS prot_column_id, |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
208 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
209 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
210 description AS info |
2572
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
211 FROM wst_columns WHERE wst_id = ${prot_id} |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
212 ORDER by position |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
213 </dc:statement> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
214 <dc:elements> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
215 <column> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
216 <dc:attribute name="name" value="${prot_column_name}"/> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
217 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
218 <dc:attribute name="factory" value="wqinterpol"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
219 <dc:attribute name="info" value="${info}"/> |
2572
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
220 </column> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
221 </dc:elements> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
222 </dc:context> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
223 </fixation> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
224 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
225 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
226 </fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
227 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
228 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
229 <dc:macro name="basedata_2_fixations_wqkms"> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
230 <fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
231 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
232 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
233 SELECT id AS prot_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
234 description AS prot_description |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
235 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
236 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
237 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
238 <fixation> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
239 <dc:attribute name="name" value="${prot_description}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
240 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
241 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
242 SELECT id AS prot_column_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
243 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
244 position AS prot_rel_pos, |
4042
8d88e8118ba8
Fix typo in DC query.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4014
diff
changeset
|
245 description AS info |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
246 FROM wst_columns WHERE wst_id = ${prot_id} |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
247 ORDER by position |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
248 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
249 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
250 <column> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
251 <dc:attribute name="name" value="${prot_column_name}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
252 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
253 <dc:attribute name="factory" value="wqinterpol"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
254 <dc:attribute name="info" value="${info}"/> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
255 </column> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
256 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
257 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
258 </fixation> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
259 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
260 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
261 </fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
262 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
263 |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
264 <dc:macro name="basedata_2_fixations"> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
265 <fixations> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
266 <dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
267 <dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
268 SELECT id AS prot_id, |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
269 description AS prot_description |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
270 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
271 </dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
272 <dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
273 <fixation> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
274 <dc:attribute name="name" value="${prot_description}"/> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
275 <dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
276 <dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
277 SELECT id AS prot_column_id, |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
278 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
279 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
280 description AS info |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
281 FROM wst_columns WHERE wst_id = ${prot_id} |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
282 ORDER by position |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
283 </dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
284 <dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
285 <column> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
286 <dc:attribute name="name" value="${prot_column_name}"/> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
287 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
288 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
289 <dc:attribute name="info" value="${info}"/> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
290 </column> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
291 </dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
292 </dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
293 </fixation> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
294 </dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
295 </dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
296 </fixations> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
297 </dc:macro> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
298 |
2749
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
299 <dc:macro name="basedata_2_fixations_relative_point"> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
300 <fixations> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
301 <dc:context> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
302 <dc:statement> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
303 SELECT id AS prot_id, |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
304 description AS prot_description |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
305 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
306 </dc:statement> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
307 <dc:elements> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
308 <relativepoint> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
309 <dc:attribute name="name" value="${prot_description}"/> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
310 <dc:context> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
311 <dc:statement> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
312 SELECT id AS prot_column_id, |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
313 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
314 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
315 description AS info |
2749
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
316 FROM wst_columns WHERE wst_id = ${prot_id} |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
317 ORDER by position |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
318 </dc:statement> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
319 <dc:elements> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
320 <column> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
321 <dc:attribute name="name" value="${prot_column_name}"/> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
322 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
323 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
324 <dc:attribute name="info" value="${info}"/> |
2749
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
325 </column> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
326 </dc:elements> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
327 </dc:context> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
328 </relativepoint> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
329 </dc:elements> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
330 </dc:context> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
331 </fixations> |
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
332 </dc:macro> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
333 |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
334 <dc:macro name="basedata_3_officials"> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
335 <dc:comment comment=".wst -------------------------------"/> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
336 <officiallines> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
337 <dc:context> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
338 <dc:statement> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
339 SELECT id AS prot_id, |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
340 description AS prot_description |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
341 FROM wsts WHERE kind = 3 AND river_id = ${river_id} |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
342 </dc:statement> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
343 <dc:elements> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
344 <official> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
345 <dc:attribute name="name" value="${prot_description}"/> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
346 <dc:context> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
347 <dc:statement> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
348 SELECT id AS prot_column_id, |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
349 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
350 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
351 description AS info |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
352 FROM wst_columns WHERE wst_id = ${prot_id} |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
353 ORDER by position |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
354 </dc:statement> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
355 <dc:elements> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
356 <column> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
357 <dc:attribute name="name" value="${prot_column_name}"/> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
358 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> |
4124
c03639e30cc5
Improvements for issue949 (q and w facets for official lines).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4123
diff
changeset
|
359 <dc:attribute name="factory" value="staticwqkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
360 <dc:attribute name="info" value="${info}"/> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
361 </column> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
362 </dc:elements> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
363 </dc:context> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
364 </official> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
365 </dc:elements> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
366 </dc:context> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
367 </officiallines> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
368 </dc:macro> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
369 |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
370 <dc:macro name="basedata_4_heightmarks-points-relative_points"> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
371 <heightmarks> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
372 <dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
373 <dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
374 SELECT id AS prot_id, |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
375 description AS prot_description |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
376 FROM wsts WHERE kind = 4 AND river_id = ${river_id} |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
377 </dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
378 <dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
379 <relativepoint> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
380 <dc:attribute name="name" value="${prot_description}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
381 <dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
382 <dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
383 SELECT id AS prot_column_id, |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
384 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
385 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
386 description AS info |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
387 FROM wst_columns WHERE wst_id = ${prot_id} |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
388 ORDER by position |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
389 </dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
390 <dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
391 <column> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
392 <dc:attribute name="name" value="${prot_column_name}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
393 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
394 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
395 <dc:attribute name="info" value="${info}"/> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
396 </column> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
397 </dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
398 </dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
399 </relativepoint> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
400 </dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
401 </dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
402 </heightmarks> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
403 </dc:macro> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
404 |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
405 <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
|
406 <heightmarks> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
407 <dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
408 <dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
409 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
|
410 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
|
411 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
|
412 </dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
413 <dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
414 <heightmark> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
415 <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
|
416 <dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
417 <dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
418 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
|
419 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
420 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
421 description AS info |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
422 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
|
423 ORDER by position |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
424 </dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
425 <dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
426 <column> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
427 <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
|
428 <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
|
429 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
430 <dc:attribute name="info" value="${info}"/> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
431 </column> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
432 </dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
433 </dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
434 </heightmark> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
435 </dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
436 </dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
437 </heightmarks> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
438 </dc:macro> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
439 |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
440 <dc:macro name="basedata_4_heightmarks-wq"> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
441 <heightmarks> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
442 <dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
443 <dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
444 SELECT id AS prot_id, |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
445 description AS prot_description |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
446 FROM wsts WHERE kind = 4 AND river_id = ${river_id} |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
447 </dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
448 <dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
449 <heightmark> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
450 <dc:attribute name="name" value="${prot_description}"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
451 <dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
452 <dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
453 SELECT id AS prot_column_id, |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
454 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
455 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
456 description AS info |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
457 FROM wst_columns WHERE wst_id = ${prot_id} |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
458 ORDER by position |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
459 </dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
460 <dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
461 <column> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
462 <dc:attribute name="name" value="${prot_column_name}"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
463 <dc:attribute name="ids" value="heightmarks_annotations-wstv-${prot_rel_pos}-${prot_id}"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
464 <dc:attribute name="factory" value="wqinterpol"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
465 <dc:attribute name="info" value="${info}"/> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
466 </column> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
467 </dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
468 </dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
469 </heightmark> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
470 </dc:elements> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
471 </dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
472 </heightmarks> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
473 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
474 |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
475 <dc:macro name="basedata_5_flood-protections_relative_points"> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
476 <flood_protections> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
477 <dc:attribute name="id" value="flood-protections-${river_id}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
478 <dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
479 <dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
480 SELECT id AS prot_id, |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
481 description AS prot_description |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
482 FROM wsts WHERE kind = 5 AND river_id = ${river_id} |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
483 </dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
484 <dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
485 <relativepoint> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
486 <dc:attribute name="name" value="${prot_description}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
487 <dc:attribute name="db-id" value="${prot_id}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
488 <dc:attribute name="factory" value="staticwkms"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
489 <columns> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
490 <dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
491 <dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
492 SELECT id AS prot_column_id, |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
493 name AS prot_column_name, |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
494 position AS prot_rel_pos, |
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
495 description AS info |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
496 FROM wst_columns WHERE wst_id = ${prot_id} |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
497 ORDER by position |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
498 </dc:statement> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
499 <dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
500 <column> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
501 <dc:attribute name="name" value="${prot_column_name}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
502 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
503 <dc:attribute name="factory" value="staticwkms"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
504 <dc:attribute name="info" value="${info}"/> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
505 </column> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
506 </dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
507 </dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
508 </columns> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
509 </relativepoint> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
510 </dc:elements> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
511 </dc:context> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
512 </flood_protections> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
513 </dc:macro> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
514 |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
515 <dc:macro name="basedata_5_flood-protections"> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
516 <flood_protections> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
517 <dc:attribute name="id" value="flood-protections-${river_id}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
518 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
519 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
520 SELECT id AS prot_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
521 description AS prot_description |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
522 FROM wsts WHERE kind = 5 AND river_id = ${river_id} |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
523 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
524 <dc:elements> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
525 <flood_protection> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
526 <dc:attribute name="name" value="${prot_description}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
527 <dc:attribute name="db-id" value="${prot_id}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
528 <dc:attribute name="factory" value="staticwkms"/> |
4121
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
529 <dc:context> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
530 <dc:statement> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
531 SELECT id AS prot_column_id, |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
532 name AS prot_column_name, |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
533 position AS prot_rel_pos |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
534 FROM wst_columns WHERE wst_id = ${prot_id} |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
535 ORDER by position |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
536 </dc:statement> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
537 <dc:elements> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
538 <column> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
539 <dc:attribute name="name" value="${prot_column_name}"/> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
540 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
541 <dc:attribute name="factory" value="staticwkms"/> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
542 </column> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
543 </dc:elements> |
f5e13feb35c5
Fix 943/3: Show flood-protections in WSP DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4042
diff
changeset
|
544 </dc:context> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
545 </flood_protection> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
546 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
547 </dc:context> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
548 </flood_protections> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
549 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
550 |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
551 <dc:macro name="mainvalues"> |
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
552 <mainvalue> |
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
553 <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
|
554 <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
|
555 </mainvalue> |
4126
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
556 <wmainvalue> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
557 <dc:attribute name="factory" value="mainvalue"/> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
558 <dc:attribute name="ids" value="${river_id}:w"/> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
559 </wmainvalue> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
560 <qmainvalue> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
561 <dc:attribute name="factory" value="mainvalue"/> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
562 <dc:attribute name="ids" value="${river_id}:q"/> |
e0354aed0cd3
Improvements for issue945/6 (separate w and q mainvalues in DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4125
diff
changeset
|
563 </qmainvalue> |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
564 </dc:macro> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
565 |
3574
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
566 <dc:macro name="qsectors"> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
567 <qsector> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
568 <dc:attribute name="factory" value="qsectors"/> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
569 <dc:attribute name="ids" value="${river_id}"/> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
570 </qsector> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
571 </dc:macro> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
572 |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
573 <dc:macro name="annotations"> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
574 <annotation> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
575 <dc:attribute name="factory" value="annotations"/> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
576 <dc:attribute name="ids" value="${river_id}"/> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
577 </annotation> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
578 </dc:macro> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
579 |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
580 <dc:macro name="annotations_per_type"> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
581 <annotations> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
582 <dc:context> |
4122
0b0192727265
In 'annotations per type' - section of DC, also add an 'all'-node.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4121
diff
changeset
|
583 <annotation> |
4125
a74487440693
Improvements for issue945/1 (DC)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4124
diff
changeset
|
584 <dc:attribute name="name" value="all_annotations"/> |
4122
0b0192727265
In 'annotations per type' - section of DC, also add an 'all'-node.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4121
diff
changeset
|
585 <dc:attribute name="factory" value="annotations"/> |
0b0192727265
In 'annotations per type' - section of DC, also add an 'all'-node.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4121
diff
changeset
|
586 <dc:attribute name="ids" value="${river_id}"/> |
0b0192727265
In 'annotations per type' - section of DC, also add an 'all'-node.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4121
diff
changeset
|
587 </annotation> |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
588 <dc:statement> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
589 SELECT id AS anno_id, |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
590 name AS anno_description |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
591 FROM annotation_types |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
592 </dc:statement> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
593 <dc:elements> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
594 <annotation> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
595 <dc:attribute name="name" value="${anno_description}"/> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
596 <dc:attribute name="factory" value="annotations"/> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
597 <dc:attribute name="ids" value="${river_id}:${anno_description}"/> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
598 </annotation> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
599 </dc:elements> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
600 </dc:context> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
601 </annotations> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
602 </dc:macro> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
603 |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
604 <dc:macro name="cross_sections"> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
605 <cross_sections> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
606 <dc:attribute name="id" value="flood-protections-${river_id}"/> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
607 <dc:context> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
608 <dc:statement> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
609 SELECT id AS prot_id, |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
610 description AS prot_description |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
611 FROM cross_sections WHERE river_id = ${river_id} |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
612 </dc:statement> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
613 <dc:elements> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
614 <cross_section> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
615 <dc:attribute name="name" value="${prot_description}"/> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
616 <dc:attribute name="ids" value="${prot_id}"/> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
617 <dc:attribute name="factory" value="crosssections"/> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
618 </cross_section> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
619 </dc:elements> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
620 </dc:context> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
621 </cross_sections> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
622 </dc:macro> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
623 |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
624 <dc:macro name="hyks"> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
625 <hyks> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
626 <dc:attribute name="id" value="hyk-${river_id}"/> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
627 <dc:context> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
628 <dc:statement> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
629 SELECT id AS hyk_id, |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
630 description AS hyk_description |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
631 FROM hyks WHERE river_id = ${river_id} |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
632 </dc:statement> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
633 <dc:elements> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
634 <hyk> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
635 <dc:attribute name="name" value="${hyk_description}"/> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
636 <dc:attribute name="ids" value="${hyk_id}"/> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
637 <dc:attribute name="factory" value="hyk"/> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
638 </hyk> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
639 </dc:elements> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
640 </dc:context> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
641 </hyks> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
642 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
643 |
4455
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
644 <dc:macro name="flow_velocity_measurements"> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
645 <flowvelocitymeasurement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
646 <dc:context> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
647 <dc:statement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
648 SELECT id AS fvmid, |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
649 description AS fvmd |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
650 FROM flow_velocity_measurements WHERE river_id = ${river_id} |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
651 </dc:statement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
652 <dc:elements> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
653 <flow_velocity_measurement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
654 <dc:attribute name="name" value="${fvmd}"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
655 <dc:attribute name="ids" value="${fvmid}"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
656 <dc:attribute name="factory" value="flowvelocity"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
657 <dc:context> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
658 <dc:statement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
659 SELECT id, description, station, datetime, v, w, q |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
660 FROM flow_velocity_measure_values |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
661 WHERE measurements_id = ${fvmid} |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
662 </dc:statement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
663 <dc:elements> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
664 <measurement_value> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
665 <dc:attribute name="name" value="${id}-${description}-${station}-${datetime}"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
666 <dc:attribute name="ids" value="${id}"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
667 <dc:attribute name="factory" value="flowvelocity"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
668 </measurement_value> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
669 </dc:elements> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
670 </dc:context> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
671 </flow_velocity_measurement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
672 </dc:elements> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
673 </dc:context> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
674 </flowvelocitymeasurement> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
675 </dc:macro> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
676 |
4595
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
677 <dc:macro name="longitudinal-section-prototype"> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
678 <dc:call-macro name="basedata_0"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
679 <dc:call-macro name="basedata_1_additionals"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
680 <dc:comment comment=" FIXATIONS ---------------------------"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
681 <dc:call-macro name="basedata_2_fixations"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
682 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
683 <dc:call-macro name="basedata_4_heightmarks-points"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
684 <dc:comment comment=" AMTL LINIEN ---------------------------"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
685 <dc:call-macro name="basedata_3_officials"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
686 <dc:call-macro name="basedata_5_flood-protections"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
687 <dc:call-macro name="annotations_per_type"/> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
688 </dc:macro> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
689 |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
690 <dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
691 |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
692 + River-Node |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
693 |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
694 </dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
695 |
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
|
696 <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
|
697 <dc:attribute name="name" value="${river_name}"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
698 |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
699 <dc:choose> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
700 <dc:when test="dc:contains($parameters, 'recommended')"> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
701 <dc:comment> |
2101
d54518bac974
Fix flys/issue439, made annotations available via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2100
diff
changeset
|
702 Recommendations (client shall load immediately). |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
703 </dc:comment> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
704 <dc:if test="dc:contains($artifact-outs, 'w_differences') or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))"> |
2101
d54518bac974
Fix flys/issue439, made annotations available via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2100
diff
changeset
|
705 <dc:call-macro name="annotations"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
706 </dc:if> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
707 <dc:if test="dc:contains($artifact-outs, 'cross_section')"> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
708 <dc:call-macro name="cross_sections"/> |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
709 <dc:call-macro name="hyks"/> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
710 </dc:if> |
4125
a74487440693
Improvements for issue945/1 (DC)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4124
diff
changeset
|
711 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
a74487440693
Improvements for issue945/1 (DC)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4124
diff
changeset
|
712 <dc:call-macro name="mainvalues"/> |
a74487440693
Improvements for issue945/1 (DC)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4124
diff
changeset
|
713 </dc:if> |
4596
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
714 <dc:if test="dc:contains($artifact-outs, 'duration_curve')"> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
715 <dc:call-macro name="mainvalues"/> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
716 </dc:if> |
2721
f1c639493941
Prepare reference curve dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2717
diff
changeset
|
717 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> |
4434
60c728e557f4
Backed out changeset e8a4d2fd25cc
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4432
diff
changeset
|
718 <dc:call-macro name="annotations"/> |
2770
9ab82fe0f27b
Precised DC config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2761
diff
changeset
|
719 <dc:call-macro name="mainvalues"/> |
2721
f1c639493941
Prepare reference curve dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2717
diff
changeset
|
720 </dc:if> |
3574
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
721 <dc:if test="dc:contains($artifact-outs, 'fix_wq_curve')"> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
722 <dc:call-macro name="qsectors"/> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
723 </dc:if> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
724 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
725 <dc:call-macro name="annotations"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
726 </dc:if> |
3899
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
727 <dc:if test="dc:contains($artifact-outs, 'bed_difference_epoch')"> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
728 <dc:call-macro name="annotations"/> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
729 </dc:if> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
730 <dc:if test="dc:contains($artifact-outs, 'bed_difference_year')"> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
731 <dc:call-macro name="annotations"/> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
732 </dc:if> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
733 <dc:if test="dc:contains($artifact-outs, 'bed_difference_height_year')"> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
734 <dc:call-macro name="annotations"/> |
663e82917b8f
Add river annotations to bedheight difference charts.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3891
diff
changeset
|
735 </dc:if> |
4393
0b4926d93029
meta-data.xml: Force-recommend annotations for flow-velocity-outs.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4379
diff
changeset
|
736 <dc:if test="dc:contains($artifact-outs, 'flow_velocity')"> |
0b4926d93029
meta-data.xml: Force-recommend annotations for flow-velocity-outs.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4379
diff
changeset
|
737 <dc:call-macro name="annotations"/> |
0b4926d93029
meta-data.xml: Force-recommend annotations for flow-velocity-outs.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4379
diff
changeset
|
738 </dc:if> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
739 </dc:when> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
740 <dc:otherwise> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
741 <dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
742 Non - Recommendations. |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
743 </dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
744 <dc:if test="dc:contains($artifact-outs, 'cross_section')"> |
2101
d54518bac974
Fix flys/issue439, made annotations available via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2100
diff
changeset
|
745 <dc:call-macro name="basedata_0"/> |
d54518bac974
Fix flys/issue439, made annotations available via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2100
diff
changeset
|
746 <dc:call-macro name="basedata_1_additionals"/> |
2736
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
747 <dc:call-macro name="basedata_2_fixations"/> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
748 <dc:call-macro name="basedata_3_officials"/> |
2736
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
749 <dc:call-macro name="basedata_4_heightmarks-points"/> |
2153
734d5f5e55c0
'New chart' for cross sections.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2140
diff
changeset
|
750 <dc:call-macro name="cross_sections"/> |
2689
3ab7b593c6e5
Show HYKS in datacage also in non-recommendation mode.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2684
diff
changeset
|
751 <dc:call-macro name="hyks"/> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
752 </dc:if> |
3627
096598c3bd30
fix issue817, removed double entries from dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3614
diff
changeset
|
753 <!--dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
754 <dc:call-macro name="basedata_0_wq"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
755 <dc:call-macro name="basedata_4_heightmarks-wq"/> |
3627
096598c3bd30
fix issue817, removed double entries from dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3614
diff
changeset
|
756 </dc:if--> |
4597
120001bf687f
meta-data.xml: Resolved discharge_longitudinal_section definitions and use
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4596
diff
changeset
|
757 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')) or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))"> |
120001bf687f
meta-data.xml: Resolved discharge_longitudinal_section definitions and use
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4596
diff
changeset
|
758 <dc:call-macro name="longitudinal-section-prototype"/> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
759 </dc:if> |
4596
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
760 <dc:if test="dc:contains($artifact-outs, 'duration_curve')"> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
761 <dc:call-macro name="mainvalues"/> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
762 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
763 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
764 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
a44f56472d35
meta-data.xml: Moved duration-curve definitions into more appropriate places.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4595
diff
changeset
|
765 </dc:if> |
4123
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
766 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> |
4434
60c728e557f4
Backed out changeset e8a4d2fd25cc
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4432
diff
changeset
|
767 <dc:call-macro name="annotations"/> |
4123
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
768 <!--dc:call-macro name="basedata_0"/--> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
769 <dc:call-macro name="basedata_1_additionals-relative_point"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
770 <dc:comment comment=" FIXATIONS ---------------------------"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
771 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
772 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
773 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
774 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
775 </dc:if> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
776 <dc:if test="dc:contains($artifact-outs, 'fix_wq_curve')"> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
777 <dc:call-macro name="basedata_0_wq"/> |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
778 <dc:call-macro name="basedata_1_additionals_marks"/> |
4123
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
779 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
780 <dc:call-macro name="basedata_3_officials"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
781 <dc:call-macro name="basedata_4_heightmarks-points"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
782 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
783 </dc:if> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
784 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
785 </dc:if> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
786 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
787 <dc:call-macro name="annotations"/> |
30168be950a6
Improvements on issue934/4 (double annotations/DC).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4122
diff
changeset
|
788 </dc:if> |
4455
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
789 <dc:if test="dc:contains($artifact-outs, 'flow_velocity')"> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
790 <dc:call-macro name="annotations"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
791 <dc:call-macro name="flow_velocity_measurements"/> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
792 </dc:if> |
4538
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
793 <dc:comment> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
794 MINFO bedheight middle |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
795 </dc:comment> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
796 <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')"> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
797 <soundings_width> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
798 <dc:context> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
799 <dc:statement> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
800 SELECT id AS bedh_id, |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
801 year AS bedh_year, |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
802 description AS bedh_descr |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
803 FROM bed_height_single WHERE river_id = ${river_id} |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
804 </dc:statement> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
805 <dc:elements> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
806 <height> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
807 <dc:attribute name="factory" value="bedheight"/> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
808 <dc:attribute name="ids" value="bedheight-singlevalues-${bedh_id}-${bedh_year}"/> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
809 <dc:attribute name="description" value="${bedh_descr}"/> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
810 </height> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
811 </dc:elements> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
812 </dc:context> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
813 </soundings_width> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
814 </dc:if> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
815 <dc:comment comment="--- non-recommendations---"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
816 </dc:otherwise> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
817 </dc:choose> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
818 |
1764
87c82499b98f
Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1761
diff
changeset
|
819 |
1728
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
820 <dc:if test="dc:contains($artifact-outs, 'waterlevels')"> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
821 |
1875
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
822 <!-- base data --> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
823 <dc:call-macro name="basedata_0"/> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
824 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
825 <!-- extra-longitudinal-sections --> |
1875
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
826 <dc:call-macro name="basedata_1_additionals"/> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
827 |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
828 <!-- fixations --> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
829 <dc:call-macro name="basedata_2_fixations"/> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
830 |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
831 <!-- flood water marks--> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
832 <dc:call-macro name="basedata_4_heightmarks-points"/> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
833 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
834 <!-- flood protection --> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
835 <dc:call-macro name="basedata_5_flood-protections"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
836 |
1728
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
837 </dc:if> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
838 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve') and (dc:contains($parameters, 'recommended'))"> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
839 <!--dc:call-macro name="basedata_2_fixations_wst"/--> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
840 </dc:if> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
841 |
1773
9be01e2e6897
Prevent recommendation of not yet loadable data.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1764
diff
changeset
|
842 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve') and not (dc:contains($parameters, 'recommended'))"> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
843 <discharge_table_nn> |
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
844 <discharge_table_gauge> |
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
|
845 <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
|
846 <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
|
847 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
|
848 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
|
849 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
|
850 </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
|
851 <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
|
852 <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
|
853 <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
|
854 <dc:attribute name="db-id" value="${gauge_id}"/> |
3051
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
855 <dc:attribute name="factory" value="gaugedischarge"/> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
856 <dc:attribute name="from" value="${g_start}"/> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
857 <dc:attribute name="to" value="${g_stop}"/> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
858 <dc:attribute name="ids" value="${gauge_name}"/> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
859 </gauge> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
860 <!-- |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
861 <gauge> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
862 <dc:attribute name="name" value="${gauge_name}"/> |
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
863 <dc:attribute name="db-id" value="${gauge_id}"/> |
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
|
864 <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
|
865 <dc:statement> |
3219
fa30e6322ef3
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3051
diff
changeset
|
866 SELECT description AS gauge_desc, |
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
|
867 d.id AS discharge_id, |
3219
fa30e6322ef3
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3051
diff
changeset
|
868 ti.start_time AS g_start, |
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
|
869 ti.stop_time AS g_stop |
3219
fa30e6322ef3
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3051
diff
changeset
|
870 FROM discharge_tables d JOIN time_intervals ti |
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
|
871 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
|
872 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
|
873 </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
|
874 <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
|
875 <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
|
876 <dc:attribute name="name" value="${gauge_desc}"/> |
2732
7311d0336600
Adjusted dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2722
diff
changeset
|
877 <dc:attribute name="factory" value="gaugedischarge"/> |
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
|
878 <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
|
879 <dc:attribute name="to" value="${g_stop}"/> |
2732
7311d0336600
Adjusted dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2722
diff
changeset
|
880 <dc:attribute name="ids" value="${discharge_id}-${g_start}-${g_stop}"/> |
7311d0336600
Adjusted dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2722
diff
changeset
|
881 </historical> |
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
|
882 </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
|
883 </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
|
884 </gauge> |
3051
49727e9dcfde
Polished Gauge Discharges in computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2770
diff
changeset
|
885 --> |
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
|
886 </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
|
887 </dc:context> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
888 </discharge_table_gauge> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
889 |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
890 </discharge_table_nn> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
891 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
892 <dc:call-macro name="basedata_2_fixations_wst"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
893 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
894 <dc:call-macro name="basedata_5_flood-protections"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
895 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
896 <!-- former waterlevels --> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
897 <dc:call-macro name="basedata_0"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
898 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
899 <dc:call-macro name="basedata_1_additionals"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
900 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
901 <!-- former flood-water-marks --> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
902 <dc:call-macro name="basedata_4_heightmarks-points"/> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
903 <computed_discharge_curve> |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
904 <dc:call-macro name="mainvalues"/> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
905 </computed_discharge_curve> |
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
|
906 </dc:if> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
907 |
3592
da60327f6d7c
Do not hard-recommend gauge-discharges for fix wq.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3590
diff
changeset
|
908 <dc:if test="dc:contains($artifact-outs, 'fix_wq_curve') and not (dc:contains($parameters, 'recommended'))"> |
3585
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
909 <discharge_table_nn> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
910 <discharge_table_gauge> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
911 <dc:context> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
912 <dc:statement> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
913 SELECT id AS gauge_id, |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
914 name AS gauge_name |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
915 FROM gauges WHERE river_id = ${river_id} |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
916 </dc:statement> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
917 <dc:elements> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
918 <gauge> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
919 <dc:attribute name="name" value="${gauge_name}"/> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
920 <dc:attribute name="db-id" value="${gauge_id}"/> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
921 <dc:attribute name="factory" value="gaugedischarge"/> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
922 <dc:attribute name="from" value="${g_start}"/> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
923 <dc:attribute name="to" value="${g_stop}"/> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
924 <dc:attribute name="ids" value="${gauge_name}"/> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
925 </gauge> |
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
|
926 </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
|
927 </dc:context> |
3585
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
928 </discharge_table_gauge> |
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
929 </discharge_table_nn> |
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
|
930 </dc:if> |
3585
c105b4466b4e
Basedata in FixA WQ DC and diagram.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3583
diff
changeset
|
931 |
2100
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
932 <dc:if test="dc:contains($artifact-outs, 'map')"> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
933 <map> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
934 <dc:choose> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
935 <dc:when test="dc:contains($parameters, 'recommended')"> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
936 </dc:when> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
937 <dc:otherwise> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
938 <dc:call-macro name="flood-map-complete"/> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
939 </dc:otherwise> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
940 </dc:choose> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
941 </map> |
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
|
942 </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
|
943 <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
|
944 <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
|
945 <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
|
946 <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
|
947 <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
|
948 </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
|
949 <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
|
950 <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
|
951 </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
|
952 <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
|
953 <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
|
954 </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
|
955 </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
|
956 </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
|
957 <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
|
958 <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
|
959 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
|
960 </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
|
961 <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
|
962 <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
|
963 <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
|
964 <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
|
965 </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
|
966 </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
|
967 <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
|
968 <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
|
969 <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
|
970 <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
|
971 </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
|
972 </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
|
973 </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
|
974 <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
|
975 <dems> |
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
976 <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
|
977 <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
|
978 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
|
979 lower AS dem_lower, |
3933
608e127fc0f5
Added an 'info' node to DEMs in the datacage.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3899
diff
changeset
|
980 upper AS dem_upper, |
608e127fc0f5
Added an 'info' node to DEMs in the datacage.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3899
diff
changeset
|
981 name AS name, |
608e127fc0f5
Added an 'info' node to DEMs in the datacage.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3899
diff
changeset
|
982 projection || ' | ' || year_from || ' - ' || year_to AS info |
1185
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
983 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
|
984 </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
|
985 <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
|
986 <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
|
987 <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
|
988 <dc:attribute name="ids" value="${dem_id}"/> |
3933
608e127fc0f5
Added an 'info' node to DEMs in the datacage.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3899
diff
changeset
|
989 <dc:attribute name="name" value="${name}"/> |
608e127fc0f5
Added an 'info' node to DEMs in the datacage.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3899
diff
changeset
|
990 <dc:attribute name="info" value="${info}"/> |
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
|
991 </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
|
992 </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
|
993 </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
|
994 </dems> |
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
995 </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
|
996 <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
|
997 <dc:context> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
998 <dc:statement> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
999 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
|
1000 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
|
1001 </dc:statement> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1002 <dc:elements> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1003 <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
|
1004 <km> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1005 <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
|
1006 <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
|
1007 </km> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1008 </dc:if> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1009 </dc:elements> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1010 </dc:context> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1011 </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
|
1012 <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
|
1013 <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
|
1014 <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
|
1015 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
|
1016 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
|
1017 </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
|
1018 <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
|
1019 <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
|
1020 <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
|
1021 <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
|
1022 <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
|
1023 </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
|
1024 </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
|
1025 </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
|
1026 </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
|
1027 </dc:macro> |
1855
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1028 <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
|
1029 <dc:context> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1030 <dc:statement> |
2672
5afccab9aac1
Modified floodmap specific datacage configuration and improved WMS hws layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2671
diff
changeset
|
1031 SELECT count(*) as km_exists, name as name |
5afccab9aac1
Modified floodmap specific datacage configuration and improved WMS hws layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2671
diff
changeset
|
1032 FROM hws WHERE river_id = ${river_id} GROUP BY name |
1855
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1033 </dc:statement> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1034 <dc:elements> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1035 <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
|
1036 <hws> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1037 <dc:attribute name="factory" value="wmshwsfactory"/> |
2672
5afccab9aac1
Modified floodmap specific datacage configuration and improved WMS hws layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2671
diff
changeset
|
1038 <dc:attribute name="ids" value="${river_id};${name}"/> |
5afccab9aac1
Modified floodmap specific datacage configuration and improved WMS hws layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2671
diff
changeset
|
1039 <dc:attribute name="name" value="${name}"/> |
1855
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1040 </hws> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1041 </dc:if> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1042 </dc:elements> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1043 </dc:context> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
1044 </dc:macro> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1045 <dc:macro name="flood-map-hydr-boundaries"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1046 <hydr_boundaries_lines> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1047 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1048 </hydr_boundaries_lines> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1049 <hydr_boundaries_polygons> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1050 <dc:call-macro name="flood-map-hydr-boundaries-poly"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1051 </hydr_boundaries_polygons> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1052 </dc:macro> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1053 <dc:macro name="flood-map-hydr-boundaries-lines"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1054 <bfg> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1055 <dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1056 <dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1057 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1058 FROM hydr_boundaries WHERE river_id = ${river_id} AND kind = 1 GROUP BY name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1059 </dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1060 <dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1061 <dc:if test="$km_exists>0"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1062 <hydrboundary> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1063 <dc:attribute name="factory" value="wmshydrboundariesfactory"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1064 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1065 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1066 </hydrboundary> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1067 </dc:if> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1068 </dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1069 </dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1070 </bfg> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1071 <land> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1072 <dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1073 <dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1074 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1075 FROM hydr_boundaries WHERE river_id = ${river_id} AND kind = 2 GROUP BY name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1076 </dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1077 <dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1078 <dc:if test="$km_exists>0"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1079 <hydrboundary> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1080 <dc:attribute name="factory" value="wmshydrboundariesfactory"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1081 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1082 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1083 </hydrboundary> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1084 </dc:if> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1085 </dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1086 </dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1087 </land> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1088 </dc:macro> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1089 <dc:macro name="flood-map-hydr-boundaries-poly"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1090 <bfg> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1091 <dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1092 <dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1093 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1094 FROM hydr_boundaries_poly WHERE river_id = ${river_id} AND kind = 1 GROUP BY name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1095 </dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1096 <dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1097 <dc:if test="$km_exists>0"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1098 <hws> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1099 <dc:attribute name="factory" value="wmshydrboundariespolyfactory"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1100 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1101 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1102 </hws> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1103 </dc:if> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1104 </dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1105 </dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1106 </bfg> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1107 <land> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1108 <dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1109 <dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1110 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1111 FROM hydr_boundaries_poly WHERE river_id = ${river_id} AND kind = 2 GROUP BY name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1112 </dc:statement> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1113 <dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1114 <dc:if test="$km_exists>0"> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1115 <hws> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1116 <dc:attribute name="factory" value="wmshydrboundariespolyfactory"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1117 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1118 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1119 </hws> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1120 </dc:if> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1121 </dc:elements> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1122 </dc:context> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1123 </land> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1124 </dc:macro> |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1125 <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
|
1126 <dc:context> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1127 <dc:statement> |
2671
055315495f8d
Modified floodmap specific datacage configuration and improved WMS catchment layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2595
diff
changeset
|
1128 SELECT count(*) as km_exists, name as name |
055315495f8d
Modified floodmap specific datacage configuration and improved WMS catchment layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2595
diff
changeset
|
1129 FROM catchment WHERE river_id = ${river_id} GROUP BY name |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1130 </dc:statement> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1131 <dc:elements> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1132 <dc:if test="$km_exists>0"> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1133 <catchment> |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1134 <dc:attribute name="factory" value="wmscatchmentfactory"/> |
2671
055315495f8d
Modified floodmap specific datacage configuration and improved WMS catchment layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2595
diff
changeset
|
1135 <dc:attribute name="ids" value="${river_id};${name}"/> |
055315495f8d
Modified floodmap specific datacage configuration and improved WMS catchment layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2595
diff
changeset
|
1136 <dc:attribute name="name" value="${name}"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1137 </catchment> |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1138 </dc:if> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1139 </dc:elements> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1140 </dc:context> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
1141 </dc:macro> |
1857
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1142 <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
|
1143 <dc:context> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1144 <dc:statement> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1145 SELECT count(*) as km_exists |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1146 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
|
1147 </dc:statement> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1148 <dc:elements> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1149 <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
|
1150 <floodplain> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1151 <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
|
1152 <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
|
1153 </floodplain> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1154 </dc:if> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1155 </dc:elements> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1156 </dc:context> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
1157 </dc:macro> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1158 <dc:macro name="flood-map-lines"> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1159 <dc:context> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1160 <dc:statement> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1161 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1162 FROM lines WHERE river_id = ${river_id} GROUP BY name |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1163 </dc:statement> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1164 <dc:elements> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1165 <dc:if test="$km_exists>0"> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1166 <line> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1167 <dc:attribute name="factory" value="wmslinefactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1168 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1169 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1170 </line> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1171 </dc:if> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1172 </dc:elements> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1173 </dc:context> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1174 </dc:macro> |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1175 <dc:macro name="flood-map-buildings"> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1176 <dc:context> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1177 <dc:statement> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1178 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1179 FROM buildings WHERE river_id = ${river_id} GROUP BY name |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1180 </dc:statement> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1181 <dc:elements> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1182 <dc:if test="$km_exists>0"> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1183 <building> |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1184 <dc:attribute name="factory" value="wmsbuildingsfactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1185 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1186 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1187 </building> |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1188 </dc:if> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1189 </dc:elements> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1190 </dc:context> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
1191 </dc:macro> |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1192 <dc:macro name="flood-map-fixpoints"> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1193 <dc:context> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1194 <dc:statement> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1195 SELECT count(*) as km_exists, name as name |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1196 FROM fixpoints WHERE river_id = ${river_id} GROUP BY name |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1197 </dc:statement> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1198 <dc:elements> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1199 <dc:if test="$km_exists>0"> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1200 <fixpoint> |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1201 <dc:attribute name="factory" value="wmsfixpointsfactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1202 <dc:attribute name="ids" value="${river_id};${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1203 <dc:attribute name="name" value="${name}"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1204 </fixpoint> |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1205 </dc:if> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1206 </dc:elements> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1207 </dc:context> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
1208 </dc:macro> |
2684
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1209 <dc:macro name="flood-map-gaugelocations"> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1210 <dc:context> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1211 <dc:statement> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1212 SELECT count(*) as km_exists, name as name |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1213 FROM gauge_location WHERE river_id = ${river_id} GROUP BY name |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1214 </dc:statement> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1215 <dc:elements> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1216 <dc:if test="$km_exists>0"> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1217 <gaugelocation> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1218 <dc:attribute name="factory" value="wmsgaugelocationfactory"/> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1219 <dc:attribute name="ids" value="${river_id};${name}"/> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1220 <dc:attribute name="name" value="${name}"/> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1221 </gaugelocation> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1222 </dc:if> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1223 </dc:elements> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1224 </dc:context> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1225 </dc:macro> |
2580
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1226 <dc:macro name="flood-map-uesk"> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1227 <uesk> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1228 <calculations> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1229 <current> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1230 <bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1231 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1232 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1233 SELECT count(*) as uesg_exist, name as name |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1234 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1235 WHERE river_id = ${river_id} AND kind = 111 |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1236 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1237 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1238 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1239 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1240 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1241 <dc:attribute name="factory" value="wmsfloodmapsfactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1242 <dc:attribute name="ids" value="${river_id};${name}"/> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1243 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1244 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1245 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1246 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1247 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1248 </bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1249 <land> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1250 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1251 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1252 SELECT count(*) as uesg_exist, name as name |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1253 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1254 WHERE river_id = ${river_id} AND kind = 112 |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1255 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1256 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1257 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1258 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1259 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1260 <dc:attribute name="factory" value="wmsfloodmapsfactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1261 <dc:attribute name="ids" value="${river_id};${name}"/> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1262 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1263 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1264 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1265 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1266 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1267 </land> |
2580
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1268 </current> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1269 <potentiel> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1270 <bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1271 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1272 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1273 SELECT count(*) as uesg_exist, name as name |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1274 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1275 WHERE river_id = ${river_id} AND kind = 121 |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1276 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1277 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1278 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1279 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1280 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1281 <dc:attribute name="factory" value="wmsfloodmapsfactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1282 <dc:attribute name="ids" value="${river_id};${name}"/> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1283 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1284 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1285 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1286 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1287 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1288 </bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1289 <land> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1290 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1291 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1292 SELECT count(*) as uesg_exist, name as name |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1293 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1294 WHERE river_id = ${river_id} AND kind = 122 |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1295 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1296 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1297 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1298 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1299 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1300 <dc:attribute name="factory" value="wmsfloodmapsfactory"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1301 <dc:attribute name="ids" value="${river_id};${name}"/> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1302 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1303 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1304 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1305 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1306 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
1307 </land> |
2580
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1308 </potentiel> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1309 </calculations> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1310 </uesk> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
1311 </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
|
1312 <dc:macro name="flood-map-complete"> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1313 <buildings> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1314 <dc:call-macro name="flood-map-buildings"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1315 </buildings> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1316 <catchments> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1317 <dc:call-macro name="flood-map-catchments"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1318 </catchments> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1319 <fixpoints> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1320 <dc:call-macro name="flood-map-fixpoints"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1321 </fixpoints> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1322 <hws> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1323 <dc:call-macro name="flood-map-hws"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1324 </hws> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1325 <hydrboundaries> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1326 <dc:call-macro name="flood-map-hydr-boundaries"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1327 <dc:call-macro name="flood-map-floodplain"/> |
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1328 </hydrboundaries> |
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
|
1329 <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
|
1330 <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
|
1331 <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
|
1332 <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
|
1333 </riveraxis> |
1805
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
1334 <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
|
1335 <dc:call-macro name="flood-map-qps"/> |
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
|
1336 </kilometrage> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1337 <lines> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
1338 <dc:call-macro name="flood-map-lines"/> |
2683
f5af3adb3b95
Improved datacage configuration for floodmaps and maps and modified the WMS layer artifacts to support names for layers.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2672
diff
changeset
|
1339 </lines> |
2595
b23c956c5aa2
Fixed broken Floodmaps in datacage for floodmap output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2582
diff
changeset
|
1340 <dc:call-macro name="flood-map-uesk"/> |
2684
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1341 <gaugelocations> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1342 <dc:call-macro name="flood-map-gaugelocations"/> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
1343 </gaugelocations> |
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
|
1344 <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
|
1345 <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
|
1346 <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
|
1347 <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
|
1348 </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
|
1349 </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
|
1350 </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
|
1351 </dc:if> |
3614
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1352 <dc:if test="dc:contains($artifact-outs, 'minfo-heights')"> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1353 <dc:call-macro name="minfo-heights"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1354 <dc:macro name="minfo-heights"> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1355 <bedheights> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1356 <dc:call-macro name="bed-heights-single"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1357 <dc:call-macro name="bed-heights-epoch"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1358 </bedheights> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1359 </dc:macro> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1360 </dc:if> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1361 <dc:if test="dc:contains($artifact-outs, 'minfo-heights-epoch')"> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1362 <bedheights> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1363 <dc:call-macro name="bed-heights-epoch"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1364 </bedheights> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1365 </dc:if> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1366 <dc:macro name="bed-heights-single"> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1367 <single> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1368 <dc:context> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1369 <dc:statement> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1370 SELECT id AS bedh_id, |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1371 year AS bedh_year, |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1372 description AS bedh_descr |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1373 FROM bed_height_single WHERE river_id = ${river_id} |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1374 </dc:statement> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1375 <dc:elements> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1376 <height> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1377 <dc:attribute name="factory" value="bedheight"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1378 <dc:attribute name="ids" value="bedheight-single-${bedh_id}-${bedh_year}"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1379 <dc:attribute name="description" value="${bedh_descr}"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1380 </height> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1381 </dc:elements> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1382 </dc:context> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1383 </single> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1384 </dc:macro> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1385 <dc:macro name="bed-heights-epoch"> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1386 <epoch> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1387 <dc:context> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1388 <dc:statement> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1389 SELECT id AS bedh_id, |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1390 time_interval_id AS bedh_interval_id, |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1391 description AS bedh_descr |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1392 FROM bed_height_epoch WHERE river_id = ${river_id} |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1393 </dc:statement> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1394 <dc:elements> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1395 <height> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1396 <dc:attribute name="factory" value="bedheight"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1397 <dc:attribute name="ids" value="bedheight-epoch-${bedh_id}-${bedh_interval_id}"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1398 <dc:attribute name="description" value="${bedh_descr}"/> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1399 </height> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1400 </dc:elements> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1401 </dc:context> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1402 </epoch> |
68beaa827751
MINFO: Implemented UI and facet/artifact stack for bed height differences.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3592
diff
changeset
|
1403 </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
|
1404 </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
|
1405 </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
|
1406 </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
|
1407 </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
|
1408 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1409 <dc:choose> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1410 <dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1411 User specific part |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1412 ------------------ |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1413 </dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1414 <dc:when test="dc:contains($parameters, 'user-id')"> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1415 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1416 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1417 <old_calculations> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1418 <dc:context connection="user"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1419 <dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1420 Get the user and collection-id. |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1421 </dc:comment> |
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
|
1422 <dc:statement> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1423 SELECT u.id AS user_id, c.id AS collection_id, c.name as collection_name |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1424 FROM collections c JOIN users u ON c.user_id = u.id |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1425 WHERE u.gid = CAST(${user-id} AS uuid) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1426 ORDER BY c.creation DESC |
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
|
1427 </dc:statement> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1428 |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1429 <!-- OFFICIAL LINES --> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1430 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1431 <dc:comment comment=".wst -------------------------------"/> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1432 <officiallines> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1433 <dc:elements> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1434 <dc:context> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1435 <dc:statement> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1436 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation, ardg.v as gaugy, arv.v as wqsingle |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1437 FROM master_artifacts m, artifact_data ardg, artifact_data arv |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1438 WHERE m.collection_id = ${collection_id} AND m.gid = CAST(${artifact-id} AS uuid) AND ardg.artifact_id = m.id AND ardg.k = 'ld_gaugename' AND arv.artifact_id = m.id AND arv.k = 'wq_single' |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1439 AND EXISTS ( |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1440 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1441 </dc:statement> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1442 <dc:elements> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1443 <dc:context connection="system"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1444 <dc:statement> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1445 SELECT ol.wst_id AS wstid, ol.wst_column_pos AS wstcolpos, ol.name AS olname, ol.value AS oval |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1446 FROM official_q_values ol |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1447 WHERE ol.value = CAST(${wqsingle} AS NUMERIC(10,2)) AND ol.gauge_name = ${gaugy} |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1448 </dc:statement> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1449 <dc:elements> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1450 <dc:element name="${olname}"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1451 <dc:attribute name="name" value="${olname}"/> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1452 <dc:attribute name="ids" value="additionals-wstv-${wstcolpos}-${wstid}"/> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1453 <dc:attribute name="factory" value="staticwkms"/> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1454 </dc:element> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1455 </dc:elements> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1456 </dc:context> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1457 </dc:elements> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1458 </dc:context> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1459 </dc:elements> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1460 </officiallines> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1461 </dc:if> |
3570
9eba1e2d821d
Set info attribute in datacage, to have tooltips in gui.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3314
diff
changeset
|
1462 <!-- END OFFICIAL LINES --> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1463 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1464 <dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1465 SHOW W-DIFFERENCES |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1466 </dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1467 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1468 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences') or (dc:contains($artifact-outs, 'discharge_longitudinal_section')))"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1469 <differences> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1470 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1471 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1472 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1473 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1474 FROM master_artifacts m |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1475 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1476 AND EXISTS ( |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1477 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1478 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1479 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1480 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1481 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1482 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1483 FROM outs as o, facets as f, artifacts as a |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1484 WHERE f.name = 'w_differences' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1485 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1486 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1487 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1488 <dc:attribute name="description" value="${facet_description}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1489 <dc:attribute name="factory" value="winfo"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1490 <dc:attribute name="artifact-id" value="${aid}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1491 <dc:attribute name="ids" value="${aid}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1492 <dc:attribute name="out" value="w_differences"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1493 </dc:element> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1494 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1495 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1496 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1497 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1498 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1499 </differences> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1500 </dc:if> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1501 |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1502 <dc:comment> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1503 SHOW REFERENCE CURVE |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1504 </dc:comment> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1505 |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1506 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1507 <reference_curves> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1508 <dc:elements> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1509 <dc:context> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1510 <dc:statement> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1511 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1512 FROM master_artifacts m |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1513 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1514 AND EXISTS ( |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1515 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1516 </dc:statement> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1517 <dc:elements> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1518 <dc:context> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1519 <dc:statement> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1520 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1521 FROM outs as o, facets as f, artifacts as a |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1522 WHERE f.name = 'reference_curve' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1523 </dc:statement> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1524 <dc:elements> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1525 <dc:element name="${facet_name}"> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1526 <dc:attribute name="description" value="${facet_description}"/> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1527 <dc:attribute name="factory" value="winfo"/> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1528 <dc:attribute name="artifact-id" value="${aid}"/> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1529 <dc:attribute name="ids" value="${aid}"/> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1530 <dc:attribute name="out" value="reference_curve"/> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1531 </dc:element> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1532 </dc:elements> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1533 </dc:context> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1534 </dc:elements> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1535 </dc:context> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1536 </dc:elements> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1537 </reference_curves> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1538 </dc:if> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1539 |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1540 <dc:comment> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1541 SHOW COMPUTED DISCHARGE CURVES |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1542 </dc:comment> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
1543 |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1544 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1545 <computed_discharge_curves> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1546 <dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1547 <dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1548 <dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1549 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1550 FROM master_artifacts m |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1551 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1552 AND EXISTS ( |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1553 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1554 </dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1555 <dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1556 <dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1557 <dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1558 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1559 FROM outs as o, facets as f, artifacts as a |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1560 WHERE f.name = 'computed_discharge_curve.q' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1561 </dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1562 <dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1563 <dc:element name="${facet_name}"> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1564 <dc:attribute name="description" value="${facet_description}"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1565 <dc:attribute name="factory" value="winfo"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1566 <dc:attribute name="artifact-id" value="${aid}"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1567 <dc:attribute name="ids" value="${aid}"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1568 <dc:attribute name="out" value="computed_discharge_curve"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1569 </dc:element> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1570 </dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1571 </dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1572 </dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1573 </dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1574 </dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1575 </computed_discharge_curves> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1576 </dc:if> |
3219
fa30e6322ef3
Removed trailing whitespace.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3051
diff
changeset
|
1577 |
2736
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1578 <dc:comment> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1579 CROSS SECTION |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1580 </dc:comment> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1581 |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1582 <dc:if test="dc:contains($artifact-outs, 'cross_section')"> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1583 <waterlevels> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1584 <dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1585 <dc:context> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1586 <dc:statement> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1587 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1588 FROM master_artifacts m |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1589 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1590 AND EXISTS ( |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1591 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1592 </dc:statement> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1593 <dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1594 <dc:context> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1595 <dc:statement> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1596 SELECT id AS out_id |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1597 FROM outs |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1598 WHERE artifact_id = ${a_id} AND name = 'cross_section' |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1599 </dc:statement> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1600 <dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1601 <dc:context> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1602 <dc:statement> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1603 SELECT name AS facet_name, num as facet_num, description AS facet_description |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1604 FROM facets |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1605 WHERE out_id = ${out_id} |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1606 ORDER BY num ASC, name DESC |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1607 </dc:statement> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1608 <longitudinal_section_columns> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1609 <dc:attribute name="description" value="${river} ${a_creation}"/> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1610 <dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1611 <dc:element name="${facet_name}"> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1612 <dc:attribute name="description" value="${facet_description}"/> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1613 <dc:attribute name="ids" value="${facet_num}"/> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1614 <dc:attribute name="factory" value="winfo"/> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1615 <dc:attribute name="artifact-id" value="${a_gid}"/> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1616 <dc:attribute name="out" value="cross_section"/> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1617 </dc:element> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1618 </dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1619 </longitudinal_section_columns> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1620 </dc:context> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1621 </dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1622 </dc:context> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1623 </dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1624 </dc:context> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1625 </dc:elements> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1626 </waterlevels> |
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1627 </dc:if> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1628 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1629 |
2736
8839086c4b7b
Modify Cross-Section DC conf to allow loading of waterlevels, fixations and heightmarks.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2732
diff
changeset
|
1630 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')))"> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1631 <waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1632 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1633 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1634 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1635 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1636 FROM master_artifacts m |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1637 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1638 AND EXISTS ( |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1639 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1640 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1641 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1642 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1643 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1644 SELECT id AS out_id |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1645 FROM outs |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1646 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section' |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1647 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1648 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1649 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1650 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1651 SELECT name AS facet_name, num as facet_num, description AS facet_description |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1652 FROM facets |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1653 WHERE out_id = ${out_id} |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1654 ORDER BY num ASC, name DESC |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1655 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1656 <longitudinal_section_columns> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1657 <dc:attribute name="description" value="${river} ${a_creation}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1658 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1659 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1660 <dc:attribute name="description" value="${facet_description}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1661 <dc:attribute name="ids" value="${facet_num}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1662 <dc:attribute name="factory" value="winfo"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1663 <dc:attribute name="artifact-id" value="${a_gid}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1664 <dc:attribute name="out" value="longitudinal_section"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1665 </dc:element> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1666 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1667 </longitudinal_section_columns> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1668 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1669 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1670 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1671 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1672 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1673 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1674 </waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1675 </dc:if> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1676 |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1677 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1678 <waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1679 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1680 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1681 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1682 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1683 FROM master_artifacts m |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1684 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1685 AND EXISTS ( |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1686 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1687 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1688 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1689 |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1690 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1691 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1692 SELECT id AS out_id |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1693 FROM outs |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1694 WHERE artifact_id = ${a_id} AND name = 'fix_longitudinal_section_curve' |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1695 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1696 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1697 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1698 <!-- average und deviation ls_0 . ls_1 ...--> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1699 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1700 SELECT name AS facet_name, num as facet_num, description AS facet_description |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1701 FROM facets |
3589
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1702 WHERE out_id = ${out_id} AND ( name LIKE 'fix_deviation_ls%' OR name LIKE 'fix_sector_average_ls%' OR name LIKE 'fix_analysis_events_ls%' OR name LIKE 'fix_reference_events_ls%' ) |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1703 ORDER BY num ASC, name DESC |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1704 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1705 <waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1706 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1707 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1708 <dc:element name="${facet_name}"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1709 <dc:attribute name="description" value="${facet_description}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1710 <dc:attribute name="ids" value="${facet_num}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1711 <dc:attribute name="factory" value="fixanalysis"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1712 <dc:attribute name="artifact-id" value="${a_gid}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1713 <dc:attribute name="out" value="fix_longitudinal_section_curve"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1714 </dc:element> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1715 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1716 </waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1717 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1718 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1719 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1720 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1721 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1722 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1723 </waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1724 </dc:if> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1725 |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1726 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1727 <waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1728 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1729 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1730 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1731 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1732 FROM master_artifacts m |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1733 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1734 AND EXISTS ( |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1735 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1736 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1737 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1738 |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1739 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1740 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1741 SELECT id AS out_id |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1742 FROM outs |
3582
e08bc99e097f
Show former calculations in Fix/DeltaWT DC, fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3581
diff
changeset
|
1743 WHERE artifact_id = ${a_id} AND name = 'fix_deltawt_curve' |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1744 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1745 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1746 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1747 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1748 SELECT name AS facet_name, num as facet_num, description AS facet_description |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1749 FROM facets |
3590
4f2470cbf72c
More former calculations in fixa dwt dc.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3589
diff
changeset
|
1750 WHERE out_id = ${out_id} and ( name LIKE 'fix_sector_average_dwt%' OR name LIKE 'fix_deviation_dwt%' OR name = 'fix_analysis_events_dwt' OR name = 'fix_reference_events_dwt' OR name = 'fix_analysis_periods_dwt' ) |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1751 ORDER BY num ASC, name DESC |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1752 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1753 <waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1754 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1755 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1756 <dc:element name="${facet_name}"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1757 <dc:attribute name="description" value="${facet_description}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1758 <dc:attribute name="ids" value="${facet_num}"/> |
3582
e08bc99e097f
Show former calculations in Fix/DeltaWT DC, fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3581
diff
changeset
|
1759 <dc:attribute name="factory" value="fixanalysis"/> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1760 <dc:attribute name="artifact-id" value="${a_gid}"/> |
3582
e08bc99e097f
Show former calculations in Fix/DeltaWT DC, fixes.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3581
diff
changeset
|
1761 <dc:attribute name="out" value="fix_deltawt_curve"/> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1762 </dc:element> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1763 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1764 </waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1765 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1766 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1767 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1768 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1769 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1770 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1771 </waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1772 </dc:if> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1773 |
3589
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1774 <dc:if test="dc:contains($artifact-outs, 'fix_derivate_curve')"> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1775 <waterlevels> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1776 <dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1777 <dc:context> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1778 <dc:statement> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1779 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1780 FROM master_artifacts m |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1781 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1782 AND EXISTS ( |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1783 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1784 </dc:statement> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1785 <dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1786 |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1787 <dc:context> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1788 <dc:statement> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1789 SELECT id AS out_id |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1790 FROM outs |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1791 WHERE artifact_id = ${a_id} AND name = 'fix_derivate_curve' |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1792 </dc:statement> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1793 <dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1794 <dc:context> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1795 <dc:statement> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1796 SELECT name AS facet_name, num as facet_num, description AS facet_description |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1797 FROM facets |
4165
f54223644814
Fix loading former derivative curves in fixation analysis artifacts DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4143
diff
changeset
|
1798 WHERE out_id = ${out_id} and name = 'fix_derivate_curve' |
3589
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1799 ORDER BY num ASC, name DESC |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1800 </dc:statement> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1801 <waterlevels> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1802 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1803 <dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1804 <dc:element name="${facet_name}"> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1805 <dc:attribute name="description" value="${facet_description}"/> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1806 <dc:attribute name="ids" value="${facet_num}"/> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1807 <dc:attribute name="factory" value="fixanalysis"/> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1808 <dc:attribute name="artifact-id" value="${a_gid}"/> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1809 <dc:attribute name="out" value="fix_derivate_curve"/> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1810 </dc:element> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1811 </dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1812 </waterlevels> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1813 </dc:context> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1814 </dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1815 </dc:context> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1816 </dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1817 </dc:context> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1818 </dc:elements> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1819 </waterlevels> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1820 </dc:if> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1821 |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1822 <dc:if test="dc:contains($artifact-outs, 'fix_wq_curve')"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1823 <waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1824 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1825 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1826 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1827 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1828 FROM master_artifacts m |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1829 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1830 AND EXISTS ( |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1831 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1832 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1833 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1834 |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1835 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1836 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1837 SELECT id AS out_id |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1838 FROM outs |
3583
18d9b7af3783
Show former calculation in FixA WQ DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3582
diff
changeset
|
1839 WHERE artifact_id = ${a_id} AND name = 'fix_wq_curve' |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1840 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1841 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1842 <dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1843 <dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1844 SELECT name AS facet_name, num as facet_num, description AS facet_description |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1845 FROM facets |
3588
76571c601d06
Add more discharge curve data to DC and W/Q diag.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3587
diff
changeset
|
1846 WHERE out_id = ${out_id} and ( name LIKE 'fix_sector_average_wq%' OR name = 'fix_wq_curve' OR name LIKE 'fix_analysis_events_wq%' OR name LIKE 'fix_reference_events_wq%' ) |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1847 ORDER BY num ASC, name DESC |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1848 </dc:statement> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1849 <waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1850 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1851 <dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1852 <dc:element name="${facet_name}"> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1853 <dc:attribute name="description" value="${facet_description}"/> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1854 <dc:attribute name="ids" value="${facet_num}"/> |
3583
18d9b7af3783
Show former calculation in FixA WQ DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3582
diff
changeset
|
1855 <dc:attribute name="factory" value="fixanalysis"/> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1856 <dc:attribute name="artifact-id" value="${a_gid}"/> |
3583
18d9b7af3783
Show former calculation in FixA WQ DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3582
diff
changeset
|
1857 <dc:attribute name="out" value="fix_wq_curve"/> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1858 </dc:element> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1859 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1860 </waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1861 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1862 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1863 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1864 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1865 </dc:context> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1866 </dc:elements> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1867 </waterlevels> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1868 </dc:if> |
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
1869 |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1870 <dc:if test="dc:contains($artifact-outs, 'duration_curve')"> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1871 <computed_discharge_curves> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1872 <dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1873 <dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1874 <dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1875 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1876 FROM master_artifacts m |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1877 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1878 AND EXISTS ( |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1879 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1880 </dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1881 <dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1882 <dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1883 <dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1884 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1885 FROM outs as o, facets as f, artifacts as a |
2717
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
1886 WHERE (f.name = 'duration_curve.q' or f.name = 'duration_curve.w') and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1887 </dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1888 <dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1889 <dc:element name="${facet_name}"> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1890 <dc:attribute name="description" value="${facet_description}"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1891 <dc:attribute name="factory" value="winfo"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1892 <dc:attribute name="artifact-id" value="${aid}"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1893 <dc:attribute name="ids" value="${aid}"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1894 <dc:attribute name="out" value="duration_curve"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1895 </dc:element> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1896 </dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1897 </dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1898 </dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1899 </dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1900 </dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1901 </computed_discharge_curves> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1902 </dc:if> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1903 <dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1904 WATERLEVELS - ONLY SHOW Ws |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1905 </dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1906 |
3589
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1907 <!-- TODO doesnt work nicely for fix/wq-diags. --> |
ab447cd29b73
More former calculations in FixA DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3588
diff
changeset
|
1908 <dc:if test="dc:contains($artifact-outs, 'waterlevels') or (dc:contains($artifact-outs, 'fix_wq_curve'))"> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1909 <waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1910 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1911 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1912 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1913 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1914 FROM master_artifacts m |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1915 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1916 AND EXISTS ( |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1917 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1918 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1919 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1920 |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1921 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1922 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1923 SELECT id AS out_id |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1924 FROM outs |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1925 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section' |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1926 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1927 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1928 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1929 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1930 SELECT name AS facet_name, num as facet_num, description AS facet_description |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1931 FROM facets |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1932 WHERE out_id = ${out_id} and name = 'longitudinal_section.w' |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1933 ORDER BY num ASC, name DESC |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1934 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1935 <waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1936 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1937 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1938 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1939 <dc:attribute name="description" value="${facet_description}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1940 <dc:attribute name="ids" value="${facet_num}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1941 <dc:attribute name="factory" value="winfo"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1942 <dc:attribute name="artifact-id" value="${a_gid}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1943 <dc:attribute name="out" value="longitudinal_section"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1944 </dc:element> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1945 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1946 </waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1947 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1948 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1949 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1950 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1951 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1952 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1953 </waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1954 </dc:if> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1955 |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1956 <dc:comment> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1957 SHOW FLOODMAPS |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1958 </dc:comment> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1959 |
2114
e84e2fcd0241
Enabled old floodmap calculations for output type 'map'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2106
diff
changeset
|
1960 <dc:if test="dc:contains($artifact-outs, 'floodmap') or dc:contains($artifact-outs, 'map')"> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1961 <floodmap> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1962 <dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1963 <dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1964 <dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1965 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1966 FROM master_artifacts m |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1967 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1968 AND EXISTS ( |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1969 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1970 </dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1971 <dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1972 <dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1973 <dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1974 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1975 FROM outs as o, facets as f, artifacts as a |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1976 WHERE f.name = 'floodmap.wsplgen' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1977 </dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1978 <dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1979 <dc:element name="${facet_name}"> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1980 <dc:attribute name="description" value="${facet_description}"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1981 <dc:attribute name="factory" value="winfo"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1982 <dc:attribute name="artifact-id" value="${aid}"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1983 <dc:attribute name="ids" value="${aid}"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1984 <dc:attribute name="out" value="floodmap"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1985 </dc:element> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1986 </dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1987 </dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1988 </dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1989 </dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1990 </dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1991 </floodmap> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1992 </dc:if> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1993 |
4379
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
1994 <dc:comment> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
1995 MINFO bedheight difference |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
1996 </dc:comment> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
1997 |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
1998 <dc:if test="dc:contains($artifact-outs, 'bed_difference_year') or dc:contains($artifact-outs, 'bed_difference_height_year')"> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
1999 <fix_longitudinal_section_curve> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2000 <dc:elements> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2001 <dc:context> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2002 <dc:statement> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2003 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2004 FROM master_artifacts m |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2005 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2006 AND EXISTS ( |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2007 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2008 </dc:statement> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2009 <dc:elements> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2010 <dc:context> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2011 <dc:statement> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2012 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2013 FROM outs as o, facets as f, artifacts as a |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2014 WHERE (f.name = 'fix_sector_average_ls_0' or f.name = 'fix_sector_average_ls_1' or f.name = 'fix_sector_average_ls_2' |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2015 or f.name = 'fix_sector_average_ls_3' or f.name = 'fix_analysis_events_ls' or f.name = 'fix_reference_events_ls') |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2016 and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2017 </dc:statement> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2018 <fix_longitudinal_section_curve> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2019 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2020 <dc:elements> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2021 <dc:element name="${facet_name}"> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2022 <dc:attribute name="description" value="${facet_description}"/> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2023 <dc:attribute name="factory" value="fixanalysis"/> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2024 <dc:attribute name="artifact-id" value="${aid}"/> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2025 <dc:attribute name="ids" value="${facet_num}"/> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2026 <dc:attribute name="out" value="fix_longitudinal_section_curve"/> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2027 </dc:element> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2028 </dc:elements> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2029 </fix_longitudinal_section_curve> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2030 </dc:context> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2031 </dc:elements> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2032 </dc:context> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2033 </dc:elements> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2034 </fix_longitudinal_section_curve> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2035 </dc:if> |
8c7e76521904
Add datacage logic for MINFO bed differences
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4165
diff
changeset
|
2036 |
4538
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
2037 <dc:comment> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
2038 MINFO bedheight middle |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
2039 </dc:comment> |
8cd4b019f150
Load bedheigt single values via the datacage for a bedheight middle output
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4455
diff
changeset
|
2040 |
4449
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2041 <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')"> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2042 <fix_vollmer_wq_curve> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2043 <dc:elements> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2044 <dc:context> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2045 <dc:statement> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2046 SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2047 FROM master_artifacts m |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2048 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2049 AND EXISTS ( |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2050 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2051 </dc:statement> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2052 <dc:elements> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2053 <dc:context> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2054 <dc:statement> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2055 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2056 FROM outs as o, facets as f, artifacts as a |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2057 WHERE (f.name = 'longitudinal_section.w' or f.name = 'heightmarks_points') |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2058 and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2059 </dc:statement> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2060 <fix_vollmer_wq_curve> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2061 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2062 <dc:elements> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2063 <dc:element name="${facet_name}"> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2064 <dc:attribute name="description" value="${facet_description}"/> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2065 <dc:attribute name="factory" value="fixanalysis"/> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2066 <dc:attribute name="artifact-id" value="${aid}"/> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2067 <dc:attribute name="ids" value="${facet_num}"/> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2068 <dc:attribute name="out" value="longitudinal_section"/> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2069 </dc:element> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2070 </dc:elements> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2071 </fix_vollmer_wq_curve> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2072 </dc:context> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2073 </dc:elements> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2074 </dc:context> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2075 </dc:elements> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2076 </fix_vollmer_wq_curve> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2077 </dc:if> |
f3c4976874f2
Add datacage for minfo and longitudinal_section.w from fixanalysis
Björn Ricks <bjoern.ricks@intevation.de>
parents:
4435
diff
changeset
|
2078 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2079 </dc:context> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2080 </old_calculations> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2081 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2082 |
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
|
2083 <dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2084 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
|
2085 ----------------------------------------------------------------- |
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
|
2086 </dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2087 <dc:choose> |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2088 <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
|
2089 <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
|
2090 </dc:when> |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2091 </dc:choose> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2092 </dc:when> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2093 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2094 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2095 <dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2096 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
|
2097 --------------------------------------------------------- |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2098 </dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2099 <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
|
2100 <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
|
2101 </dc:otherwise> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2102 </dc:choose> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2103 </datacage> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2104 </dc:template> |