Mercurial > dive4elements > river
annotate flys-artifacts/doc/conf/meta-data.xml @ 2717:4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
flys-artifacts/trunk@4446 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 21 May 2012 09:02:58 +0000 |
parents | 15c6f79ca3e2 |
children | f1c639493941 |
rev | line source |
---|---|
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2 <dc:template xmlns:dc="http://www.intevation.org/2011/Datacage"> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3 <datacage> |
1181
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
4 <dc:macro name="load-system"> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
5 <dc:context connection="system"> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
6 <dc:statement> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
7 SELECT id AS river_id, name as river_name FROM rivers |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
8 WHERE lower(name) LIKE lower(${river}) |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
9 </dc:statement> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
10 <dc:elements> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
11 <dc:comment> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
12 Base-data macros (mostly data imported from wst-files) |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
13 </dc:comment> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
14 <dc:macro name="basedata_0"> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
15 <dc:comment comment=" BASEDATA ---------------------------"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
16 <basedata> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
17 <dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
18 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
19 SELECT id AS prot_id, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
20 description AS prot_description |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
21 FROM wsts WHERE kind = 0 AND river_id = ${river_id} |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
22 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
23 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
24 <basedata> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
25 <dc:attribute name="name" value="${prot_description}"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
26 <dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
27 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
28 SELECT id AS prot_column_id, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
29 name AS prot_column_name, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
30 position AS prot_rel_pos |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
31 FROM wst_columns WHERE wst_id = ${prot_id} |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
32 ORDER by position |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
33 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
34 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
35 <column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
36 <dc:attribute name="name" value="${prot_column_name}"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
37 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
38 <dc:attribute name="factory" value="staticwkms"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
39 </column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
40 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
41 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
42 </basedata> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
43 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
44 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
45 </basedata> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
46 </dc:macro> |
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
|
47 <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
|
48 <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
|
49 <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
|
50 <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
|
51 <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
|
52 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
|
53 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
|
54 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
|
55 </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
|
56 <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
|
57 <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
|
58 <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
|
59 <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
|
60 <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
|
61 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
|
62 name AS 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
|
63 position AS prot_rel_pos |
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 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
|
65 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
|
66 </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
|
67 <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
|
68 <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
|
69 <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
|
70 <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
|
71 <dc:attribute name="factory" value="wqinterpol"/> |
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 </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
|
73 </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
|
74 </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
|
75 </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
|
76 </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
|
77 </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
|
78 </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
|
79 </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
|
80 |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
81 <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
|
82 <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
|
83 <additionals> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
84 <dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
85 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
86 SELECT id AS prot_id, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
87 description AS prot_description |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
88 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
|
89 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
90 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
91 <additional> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
92 <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
|
93 <dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
94 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
95 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
|
96 name AS prot_column_name, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
97 position AS prot_rel_pos |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
98 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
|
99 ORDER by position |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
100 </dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
101 <dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
102 <column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
103 <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
|
104 <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
|
105 <dc:attribute name="factory" value="staticwkms"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
106 </column> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
107 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
108 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
109 </additional> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
110 </dc:elements> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
111 </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
|
112 </additionals> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
113 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
114 |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
115 <dc:macro name="basedata_2_fixations_wst"> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
116 <fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
117 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
118 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
119 SELECT id AS prot_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
120 description AS prot_description |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
121 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
|
122 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
123 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
124 <fixation> |
2572
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
125 <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
|
126 <!--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
|
127 <dc:context> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
128 <dc:statement> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
129 SELECT id AS prot_column_id, |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
130 name AS prot_column_name, |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
131 position AS prot_rel_pos |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
132 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
|
133 ORDER by position |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
134 </dc:statement> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
135 <dc:elements> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
136 <column> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
137 <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
|
138 <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
|
139 <dc:attribute name="factory" value="wqinterpol"/> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
140 </column> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
141 </dc:elements> |
700f28bfd7ef
Partial fix flys/issue615, adjusted datacage conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2324
diff
changeset
|
142 </dc:context> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
143 </fixation> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
144 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
145 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
146 </fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
147 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
148 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
149 <dc:macro name="basedata_2_fixations_wqkms"> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
150 <fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
151 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
152 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
153 SELECT id AS prot_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
154 description AS prot_description |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
155 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
|
156 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
157 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
158 <fixation> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
159 <dc:attribute name="name" value="${prot_description}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
160 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
161 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
162 SELECT id AS prot_column_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
163 name AS prot_column_name, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
164 position AS prot_rel_pos |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
165 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
|
166 ORDER by position |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
167 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
168 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
169 <column> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
170 <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
|
171 <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
|
172 <dc:attribute name="factory" value="wqinterpol"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
173 </column> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
174 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
175 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
176 </fixation> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
177 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
178 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
179 </fixations> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
180 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
181 |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
182 <dc:macro name="basedata_2_fixations"> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
183 <fixations> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
184 <dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
185 <dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
186 SELECT id AS prot_id, |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
187 description AS prot_description |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
188 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
|
189 </dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
190 <dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
191 <fixation> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
192 <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
|
193 <dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
194 <dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
195 SELECT id AS prot_column_id, |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
196 name AS prot_column_name, |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
197 position AS prot_rel_pos |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
198 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
|
199 ORDER by position |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
200 </dc:statement> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
201 <dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
202 <column> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
203 <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
|
204 <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
|
205 <dc:attribute name="factory" value="staticwkms"/> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
206 </column> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
207 </dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
208 </dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
209 </fixation> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
210 </dc:elements> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
211 </dc:context> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
212 </fixations> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
213 </dc:macro> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
214 |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
215 <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
|
216 <heightmarks> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
217 <dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
218 <dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
219 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
|
220 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
|
221 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
|
222 </dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
223 <dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
224 <heightmark> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
225 <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
|
226 <dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
227 <dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
228 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
|
229 name AS prot_column_name, |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
230 position AS prot_rel_pos |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
231 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
|
232 ORDER by position |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
233 </dc:statement> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
234 <dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
235 <column> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
236 <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
|
237 <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
|
238 <dc:attribute name="factory" value="staticwkms"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
239 </column> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
240 </dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
241 </dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
242 </heightmark> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
243 </dc:elements> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
244 </dc:context> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
245 </heightmarks> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
246 </dc:macro> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
247 |
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
|
248 <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
|
249 <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
|
250 <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
|
251 <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
|
252 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
|
253 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
|
254 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
|
255 </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
|
256 <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
|
257 <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
|
258 <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
|
259 <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
|
260 <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
|
261 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
|
262 name AS 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
|
263 position AS prot_rel_pos |
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
|
264 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
|
265 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
|
266 </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
|
267 <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
|
268 <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
|
269 <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
|
270 <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
|
271 <dc:attribute name="factory" value="wqinterpol"/> |
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
|
272 </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
|
273 </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
|
274 </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
|
275 </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
|
276 </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
|
277 </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
|
278 </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
|
279 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
280 |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
281 <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
|
282 <flood_protections> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
283 <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
|
284 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
285 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
286 SELECT id AS prot_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
287 description AS prot_description |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
288 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
|
289 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
290 <dc:elements> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
291 <flood_protection> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
292 <dc:attribute name="name" value="${prot_description}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
293 <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
|
294 <dc:attribute name="factory" value="staticwkms"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
295 <columns> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
296 <dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
297 <dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
298 SELECT id AS prot_column_id, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
299 name AS prot_column_name, |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
300 position AS prot_rel_pos |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
301 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
|
302 ORDER by position |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
303 </dc:statement> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
304 <dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
305 <column> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
306 <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
|
307 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
308 <dc:attribute name="factory" value="staticwkms"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
309 </column> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
310 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
311 </dc:context> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
312 </columns> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
313 </flood_protection> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
314 </dc:elements> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
315 </dc:context> |
2086
a107b42ab553
flys/issue442 (i18n: Datenkorb: flood-protections)
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2085
diff
changeset
|
316 </flood_protections> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
317 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
318 |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
319 <dc:macro name="mainvalues"> |
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
320 <mainvalue> |
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
321 <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
|
322 <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
|
323 </mainvalue> |
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
324 </dc:macro> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
325 |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
326 <dc:macro name="annotations"> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
327 <annotation> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
328 <dc:attribute name="factory" value="annotations"/> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
329 <dc:attribute name="ids" value="${river_id}"/> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
330 </annotation> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
331 </dc:macro> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
332 |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
333 <dc:macro name="cross_sections"> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
334 <cross_sections> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
335 <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
|
336 <dc:context> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
337 <dc:statement> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
338 SELECT id AS prot_id, |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
339 description AS prot_description |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
340 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
|
341 </dc:statement> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
342 <dc:elements> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
343 <cross_section> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
344 <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
|
345 <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
|
346 <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
|
347 </cross_section> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
348 </dc:elements> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
349 </dc:context> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
350 </cross_sections> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
351 </dc:macro> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
352 |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
353 <dc:macro name="hyks"> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
354 <hyks> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
355 <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
|
356 <dc:context> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
357 <dc:statement> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
358 SELECT id AS hyk_id, |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
359 description AS hyk_description |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
360 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
|
361 </dc:statement> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
362 <dc:elements> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
363 <hyk> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
364 <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
|
365 <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
|
366 <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
|
367 </hyk> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
368 </dc:elements> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
369 </dc:context> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
370 </hyks> |
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
371 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
372 |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
373 <dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
374 |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
375 + River-Node |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
376 |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
377 </dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
378 |
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
|
379 <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
|
380 <dc:attribute name="name" value="${river_name}"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
381 |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
382 <dc:choose> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
383 <dc:when test="dc:contains($parameters, 'recommended')"> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
384 <dc:comment> |
2101
d54518bac974
Fix flys/issue439, made annotations available via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2100
diff
changeset
|
385 Recommendations (client shall load immediately). |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
386 </dc:comment> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
387 <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
|
388 <dc:call-macro name="annotations"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
389 </dc:if> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
390 <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
|
391 <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
|
392 <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
|
393 </dc:if> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
394 </dc:when> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
395 <dc:otherwise> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
396 <dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
397 Non - Recommendations. |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
398 </dc:comment> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
399 <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
|
400 <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
|
401 <dc:call-macro name="basedata_1_additionals"/> |
2153
734d5f5e55c0
'New chart' for cross sections.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2140
diff
changeset
|
402 <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
|
403 <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
|
404 </dc:if> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
405 <dc:if test="dc:contains($artifact-outs, 'discharge_longitudinal_section')"> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
406 <dc:call-macro name="basedata_0"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
407 <dc:call-macro name="basedata_4_heightmarks-points"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
408 </dc:if> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
409 <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
|
410 <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
|
411 <dc:call-macro name="basedata_4_heightmarks-wq"/> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
412 </dc:if> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
413 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))"> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
414 <dc:call-macro name="basedata_0"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
415 <dc:call-macro name="basedata_1_additionals"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
416 <dc:comment comment=" FIXATIONS ---------------------------"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
417 <dc:call-macro name="basedata_2_fixations"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
418 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
419 <dc:call-macro name="basedata_4_heightmarks-points"/> |
2101
d54518bac974
Fix flys/issue439, made annotations available via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2100
diff
changeset
|
420 <dc:call-macro name="annotations"/> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
421 </dc:if> |
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
422 <dc:comment comment="--- non-recommendations---"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
423 </dc:otherwise> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
424 </dc:choose> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
425 |
1764
87c82499b98f
Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1761
diff
changeset
|
426 |
1728
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
427 <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
|
428 |
1875
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
429 <!-- base data --> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
430 <dc:call-macro name="basedata_0"/> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
431 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
432 <!-- extra-longitudinal-sections --> |
1875
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
433 <dc:call-macro name="basedata_1_additionals"/> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
434 |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
435 <!-- fixations --> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
436 <dc:call-macro name="basedata_2_fixations"/> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
437 |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
438 <!-- flood water marks--> |
4fb81eb8b45b
Extended dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1873
diff
changeset
|
439 <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
|
440 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
441 <!-- flood protection --> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
442 <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
|
443 |
1728
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
444 </dc:if> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
445 <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
|
446 <!--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
|
447 </dc:if> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
448 |
1773
9be01e2e6897
Prevent recommendation of not yet loadable data.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1764
diff
changeset
|
449 <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
|
450 <discharge_table_nn> |
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
451 <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
|
452 <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
|
453 <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
|
454 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
|
455 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
|
456 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
|
457 </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
|
458 <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
|
459 <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
|
460 <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
|
461 <dc:attribute name="db-id" value="${gauge_id}"/> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
462 <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
|
463 <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
|
464 SELECT description AS gauge_desc, |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
465 d.id AS discharge_id, |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
466 ti.start_time AS g_start, |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
467 ti.stop_time AS g_stop |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
468 FROM discharge_tables d JOIN time_intervals ti |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
469 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
|
470 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
|
471 </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
|
472 <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
|
473 <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
|
474 <dc:attribute name="name" value="${gauge_desc}"/> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
475 <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
|
476 <dc:attribute name="to" value="${g_stop}"/> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
477 <dc:attribute name="db-id" value="${discharge_id}"/></historical> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
478 </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
|
479 </dc:context> |
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
480 </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
|
481 </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
|
482 </dc:context> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
483 </discharge_table_gauge> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
484 |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
485 </discharge_table_nn> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
486 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
487 <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
|
488 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
489 <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
|
490 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
491 <!-- former waterlevels --> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
492 <dc:call-macro name="basedata_0"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
493 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
494 <dc:call-macro name="basedata_1_additionals"/> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
495 |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
496 <!-- former flood-water-marks --> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
497 <dc:call-macro name="basedata_4_heightmarks-points"/> |
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
|
498 </dc:if> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
499 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"><!-- or (dc:contains($artifact-outs, 'discharge_curve'))"--> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
500 <!-- && parameter contains recommended/ation --> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
501 <computed_discharge_curve> |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
502 <dc:call-macro name="mainvalues"/> |
2324
867ebe191799
Changed dashes in entitie names to underscores.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2153
diff
changeset
|
503 </computed_discharge_curve> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
504 <dc:call-macro name="basedata_2_fixations_wst"/> |
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
|
505 </dc:if> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
506 |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
507 <dc:if test="dc:contains($artifact-outs, 'duration_curve')"> |
2717
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
508 <dc:choose> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
509 <dc:when test="dc:contains($parameters, 'recommended')"> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
510 <dc:call-macro name="mainvalues"/> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
511 </dc:when> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
512 <dc:otherwise> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
513 <dc:call-macro name="mainvalues"/> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
514 <dc:call-macro name="basedata_2_fixations"/> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
515 </dc:otherwise> |
4cd55689e9a9
Allow to load previous DurationCurves and fixations in Dur.C. via DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2690
diff
changeset
|
516 </dc:choose> |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
517 </dc:if> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
518 |
1181
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
519 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> |
2106
d7176cef0aa0
Fix flys/issue450 (i18n: Datenkorb: longitudinal-section).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2101
diff
changeset
|
520 <longitudinal_section> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
521 <dc:call-macro name="annotations"/> |
2106
d7176cef0aa0
Fix flys/issue450 (i18n: Datenkorb: longitudinal-section).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2101
diff
changeset
|
522 </longitudinal_section> |
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
|
523 </dc:if> |
2100
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
524 <dc:if test="dc:contains($artifact-outs, 'map')"> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
525 <map> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
526 <dc:choose> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
527 <dc:when test="dc:contains($parameters, 'recommended')"> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
528 </dc:when> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
529 <dc:otherwise> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
530 <dc:call-macro name="flood-map-complete"/> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
531 </dc:otherwise> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
532 </dc:choose> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
533 </map> |
2f5cb58e662e
Introduced new output type 'map'.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
2096
diff
changeset
|
534 </dc:if> |
1181
dd59431d648f
Repaired datacage configuration. The system specific stuff is also displayed if a user-id is given.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1097
diff
changeset
|
535 <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
|
536 <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
|
537 <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
|
538 <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
|
539 <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
|
540 </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
|
541 <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
|
542 <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
|
543 </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
|
544 <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
|
545 <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
|
546 </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
|
547 </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
|
548 </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
|
549 <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
|
550 <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
|
551 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
|
552 </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
|
553 <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
|
554 <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
|
555 <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
|
556 <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
|
557 </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
|
558 </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
|
559 <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
|
560 <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
|
561 <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
|
562 <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
|
563 </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
|
564 </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
|
565 </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
|
566 <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
|
567 <dems> |
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
568 <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
|
569 <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
|
570 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
|
571 lower AS dem_lower, |
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
572 upper AS dem_upper |
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
573 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
|
574 </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
|
575 <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
|
576 <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
|
577 <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
|
578 <dc:attribute name="ids" value="${dem_id}"/> |
be8b5c06a1f8
Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1185
diff
changeset
|
579 <dc:attribute name="description" value="${dem_lower}-${dem_upper}"/> |
be8b5c06a1f8
Use DGM Id in FLYSArtifact's data pool to query DGMs for floodmaps instead of querying DGMs by given range values.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1185
diff
changeset
|
580 </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
|
581 </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
|
582 </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
|
583 </dems> |
c5f494a9749d
Added a DEM section to the floodmap section in the datacage configuration.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1181
diff
changeset
|
584 </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
|
585 <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
|
586 <dc:context> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
587 <dc:statement> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
588 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
|
589 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
|
590 </dc:statement> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
591 <dc:elements> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
592 <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
|
593 <km> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
594 <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
|
595 <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
|
596 </km> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
597 </dc:if> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
598 </dc:elements> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
599 </dc:context> |
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
600 </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
|
601 <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
|
602 <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
|
603 <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
|
604 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
|
605 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
|
606 </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
|
607 <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
|
608 <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
|
609 <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
|
610 <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
|
611 <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
|
612 </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
|
613 </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
|
614 </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
|
615 </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
|
616 </dc:macro> |
1855
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
617 <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
|
618 <dc:context> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
619 <dc:statement> |
2672
5afccab9aac1
Modified floodmap specific datacage configuration and improved WMS hws layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2671
diff
changeset
|
620 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
|
621 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
|
622 </dc:statement> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
623 <dc:elements> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
624 <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
|
625 <hws> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
626 <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
|
627 <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
|
628 <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
|
629 </hws> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
630 </dc:if> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
631 </dc:elements> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
632 </dc:context> |
b4798f15edc7
Added new WMSHwsArtifact for displaying flood protection works.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1851
diff
changeset
|
633 </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
|
634 <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
|
635 <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
|
636 <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
|
637 </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
|
638 <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
|
639 <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
|
640 </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
|
641 </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
|
642 <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
|
643 <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
|
644 <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
|
645 <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
|
646 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
|
647 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
|
648 </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
|
649 <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
|
650 <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
|
651 <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
|
652 <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
|
653 <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
|
654 <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
|
655 </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
|
656 </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
|
657 </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
|
658 </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
|
659 </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
|
660 <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
|
661 <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
|
662 <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
|
663 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
|
664 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
|
665 </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
|
666 <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
|
667 <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
|
668 <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
|
669 <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
|
670 <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
|
671 <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
|
672 </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
|
673 </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
|
674 </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
|
675 </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
|
676 </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
|
677 </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
|
678 <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
|
679 <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
|
680 <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
|
681 <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
|
682 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
|
683 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
|
684 </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
|
685 <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
|
686 <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
|
687 <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
|
688 <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
|
689 <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
|
690 <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
|
691 </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
|
692 </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
|
693 </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
|
694 </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
|
695 </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
|
696 <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
|
697 <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
|
698 <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
|
699 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
|
700 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
|
701 </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
|
702 <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
|
703 <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
|
704 <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
|
705 <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
|
706 <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
|
707 <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
|
708 </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
|
709 </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
|
710 </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
|
711 </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
|
712 </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
|
713 </dc:macro> |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
714 <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
|
715 <dc:context> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
716 <dc:statement> |
2671
055315495f8d
Modified floodmap specific datacage configuration and improved WMS catchment layer.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2595
diff
changeset
|
717 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
|
718 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
|
719 </dc:statement> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
720 <dc:elements> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
721 <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
|
722 <catchment> |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
723 <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
|
724 <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
|
725 <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
|
726 </catchment> |
1856
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
727 </dc:if> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
728 </dc:elements> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
729 </dc:context> |
410e40b88c7a
Added new WMSCatchmentArtifact for displaying catchments in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1855
diff
changeset
|
730 </dc:macro> |
1857
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
731 <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
|
732 <dc:context> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
733 <dc:statement> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
734 SELECT count(*) as km_exists |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
735 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
|
736 </dc:statement> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
737 <dc:elements> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
738 <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
|
739 <floodplain> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
740 <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
|
741 <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
|
742 </floodplain> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
743 </dc:if> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
744 </dc:elements> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
745 </dc:context> |
7fc87a67e6f7
Added new WMSFloodplainArtifact for displaying floodplains in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1856
diff
changeset
|
746 </dc:macro> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
747 <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
|
748 <dc:context> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
749 <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
|
750 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
|
751 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
|
752 </dc:statement> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
753 <dc:elements> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
754 <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
|
755 <line> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
756 <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
|
757 <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
|
758 <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
|
759 </line> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
760 </dc:if> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
761 </dc:elements> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
762 </dc:context> |
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
763 </dc:macro> |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
764 <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
|
765 <dc:context> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
766 <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
|
767 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
|
768 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
|
769 </dc:statement> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
770 <dc:elements> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
771 <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
|
772 <building> |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
773 <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
|
774 <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
|
775 <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
|
776 </building> |
1871
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
777 </dc:if> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
778 </dc:elements> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
779 </dc:context> |
257f7b54a943
Added new WMSBuildingsArtifact for displaying buildings in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1870
diff
changeset
|
780 </dc:macro> |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
781 <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
|
782 <dc:context> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
783 <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
|
784 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
|
785 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
|
786 </dc:statement> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
787 <dc:elements> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
788 <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
|
789 <fixpoint> |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
790 <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
|
791 <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
|
792 <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
|
793 </fixpoint> |
1873
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
794 </dc:if> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
795 </dc:elements> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
796 </dc:context> |
841af55d5e53
Added new WMSFixpointsArtifact for displaying fixpoints in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1872
diff
changeset
|
797 </dc:macro> |
2684
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
798 <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
|
799 <dc:context> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
800 <dc:statement> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
801 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
|
802 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
|
803 </dc:statement> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
804 <dc:elements> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
805 <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
|
806 <gaugelocation> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
807 <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
|
808 <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
|
809 <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
|
810 </gaugelocation> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
811 </dc:if> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
812 </dc:elements> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
813 </dc:context> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
814 </dc:macro> |
2580
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
815 <dc:macro name="flood-map-uesk"> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
816 <uesk> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
817 <calculations> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
818 <current> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
819 <bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
820 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
821 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
822 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
|
823 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
824 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
|
825 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
826 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
827 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
828 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
829 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
830 <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
|
831 <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
|
832 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
833 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
834 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
835 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
836 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
837 </bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
838 <land> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
839 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
840 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
841 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
|
842 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
843 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
|
844 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
845 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
846 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
847 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
848 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
849 <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
|
850 <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
|
851 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
852 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
853 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
854 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
855 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
856 </land> |
2580
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
857 </current> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
858 <potentiel> |
2582
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
859 <bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
860 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
861 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
862 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
|
863 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
864 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
|
865 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
866 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
867 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
868 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
869 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
870 <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
|
871 <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
|
872 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
873 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
874 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
875 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
876 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
877 </bfg> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
878 <land> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
879 <dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
880 <dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
881 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
|
882 FROM floodmaps |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
883 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
|
884 GROUP BY name, kind |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
885 </dc:statement> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
886 <dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
887 <dc:if test="$uesg_exist>0"> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
888 <floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
889 <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
|
890 <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
|
891 <dc:attribute name="name" value="${name}"/> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
892 </floodmaps> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
893 </dc:if> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
894 </dc:elements> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
895 </dc:context> |
631dabad9b48
Modified the datacage structure of 'floodmaps'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2580
diff
changeset
|
896 </land> |
2580
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
897 </potentiel> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
898 </calculations> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
899 </uesk> |
3d240200364c
Improved the datacage configuration to serve floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2572
diff
changeset
|
900 </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
|
901 <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
|
902 <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
|
903 <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
|
904 </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
|
905 <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
|
906 <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
|
907 </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
|
908 <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
|
909 <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
|
910 </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
|
911 <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
|
912 <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
|
913 </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
|
914 <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
|
915 <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
|
916 <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
|
917 </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
|
918 <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
|
919 <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
|
920 <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
|
921 <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
|
922 </riveraxis> |
1805
5e9696c32f04
Added datacage config and loaders for KM WMS layer in floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1790
diff
changeset
|
923 <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
|
924 <dc:call-macro name="flood-map-qps"/> |
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
|
925 </kilometrage> |
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
|
926 <lines> |
1870
ec458853f560
Added new WMSLineArtifact for displaying lines in maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1869
diff
changeset
|
927 <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
|
928 </lines> |
2595
b23c956c5aa2
Fixed broken Floodmaps in datacage for floodmap output.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2582
diff
changeset
|
929 <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
|
930 <gaugelocations> |
14188f8daefb
Added support for WMS gauges in floodmaps and maps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2683
diff
changeset
|
931 <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
|
932 </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
|
933 <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
|
934 <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
|
935 <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
|
936 <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
|
937 </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
|
938 </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
|
939 </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
|
940 </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
|
941 </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
|
942 </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
|
943 </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
|
944 </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
|
945 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
946 <dc:choose> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
947 <dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
948 User specific part |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
949 ------------------ |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
950 </dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
951 <dc:when test="dc:contains($parameters, 'user-id')"> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
952 |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
953 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
954 <old_calculations> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
955 <dc:context connection="user"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
956 <dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
957 Get the user and collection-id. |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
958 </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
|
959 <dc:statement> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
960 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
|
961 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
|
962 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
|
963 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
|
964 </dc:statement> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
965 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
966 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
967 <dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
968 SHOW W-DIFFERENCES |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
969 </dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
970 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
971 <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
|
972 <differences> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
973 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
974 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
975 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
976 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
|
977 FROM master_artifacts m |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
978 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
|
979 AND EXISTS ( |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
980 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
|
981 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
982 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
983 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
984 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
985 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
|
986 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
|
987 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
|
988 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
989 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
990 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
991 <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
|
992 <dc:attribute name="factory" value="winfo"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
993 <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
|
994 <dc:attribute name="ids" value="${aid}"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
995 <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
|
996 </dc:element> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
997 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
998 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
999 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1000 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1001 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1002 </differences> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1003 </dc:if> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1004 |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1005 <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
|
1006 <computed_discharge_curves> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1007 <dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1008 <dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1009 <dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1010 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
|
1011 FROM master_artifacts m |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1012 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
|
1013 AND EXISTS ( |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1014 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
|
1015 </dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1016 <dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1017 <dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1018 <dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1019 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
|
1020 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
|
1021 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
|
1022 </dc:statement> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1023 <dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1024 <dc:element name="${facet_name}"> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1025 <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
|
1026 <dc:attribute name="factory" value="winfo"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1027 <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
|
1028 <dc:attribute name="ids" value="${aid}"/> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1029 <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
|
1030 </dc:element> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1031 </dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1032 </dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1033 </dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1034 </dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1035 </dc:elements> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1036 </computed_discharge_curves> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1037 </dc:if> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1038 |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
1039 |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1040 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')) or (dc:contains($artifact-outs, 'cross_section')))"> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1041 <waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1042 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1043 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1044 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1045 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
|
1046 FROM master_artifacts m |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1047 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
|
1048 AND EXISTS ( |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1049 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
|
1050 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1051 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1052 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1053 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1054 SELECT id AS out_id |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1055 FROM outs |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1056 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
|
1057 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1058 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1059 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1060 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1061 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
|
1062 FROM facets |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1063 WHERE out_id = ${out_id} |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1064 ORDER BY num ASC, name DESC |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1065 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1066 <longitudinal_section_columns> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1067 <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
|
1068 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1069 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1070 <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
|
1071 <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
|
1072 <dc:attribute name="factory" value="winfo"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1073 <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
|
1074 <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
|
1075 </dc:element> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1076 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1077 </longitudinal_section_columns> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1078 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1079 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1080 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1081 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1082 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1083 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1084 </waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1085 </dc:if> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1086 |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1087 <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
|
1088 <computed_discharge_curves> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1089 <dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1090 <dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1091 <dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1092 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
|
1093 FROM master_artifacts m |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1094 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
|
1095 AND EXISTS ( |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1096 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
|
1097 </dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1098 <dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1099 <dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1100 <dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1101 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
|
1102 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
|
1103 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
|
1104 </dc:statement> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1105 <dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1106 <dc:element name="${facet_name}"> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1107 <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
|
1108 <dc:attribute name="factory" value="winfo"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1109 <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
|
1110 <dc:attribute name="ids" value="${aid}"/> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1111 <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
|
1112 </dc:element> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1113 </dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1114 </dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1115 </dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1116 </dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1117 </dc:elements> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1118 </computed_discharge_curves> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
1119 </dc:if> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1120 <dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1121 WATERLEVELS - ONLY SHOW Ws |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1122 </dc:comment> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1123 |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1124 <dc:if test="dc:contains($artifact-outs, 'waterlevels')"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1125 <waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1126 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1127 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1128 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1129 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
|
1130 FROM master_artifacts m |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1131 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
|
1132 AND EXISTS ( |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1133 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
|
1134 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1135 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1136 |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1137 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1138 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1139 SELECT id AS out_id |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1140 FROM outs |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1141 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
|
1142 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1143 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1144 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1145 <dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1146 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
|
1147 FROM facets |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1148 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
|
1149 ORDER BY num ASC, name DESC |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1150 </dc:statement> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1151 <waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1152 <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
|
1153 <dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1154 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1155 <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
|
1156 <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
|
1157 <dc:attribute name="factory" value="winfo"/> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1158 <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
|
1159 <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
|
1160 </dc:element> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1161 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1162 </waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1163 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1164 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1165 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1166 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1167 </dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1168 </dc:elements> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1169 </waterlevels> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1170 </dc:if> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1171 |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1172 <dc:comment> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1173 SHOW FLOODMAPS |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1174 </dc:comment> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1175 |
2114
e84e2fcd0241
Enabled old floodmap calculations for output type 'map'.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2106
diff
changeset
|
1176 <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
|
1177 <floodmap> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1178 <dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1179 <dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1180 <dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1181 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
|
1182 FROM master_artifacts m |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1183 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
|
1184 AND EXISTS ( |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1185 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
|
1186 </dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1187 <dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1188 <dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1189 <dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1190 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
|
1191 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
|
1192 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
|
1193 </dc:statement> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1194 <dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1195 <dc:element name="${facet_name}"> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1196 <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
|
1197 <dc:attribute name="factory" value="winfo"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1198 <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
|
1199 <dc:attribute name="ids" value="${aid}"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1200 <dc:attribute name="out" value="floodmap"/> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1201 </dc:element> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1202 </dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1203 </dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1204 </dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1205 </dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1206 </dc:elements> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1207 </floodmap> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1208 </dc:if> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
1209 |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1210 </dc:context> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1211 </old_calculations> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1212 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1213 |
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
|
1214 <dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1215 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
|
1216 ----------------------------------------------------------------- |
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
|
1217 </dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1218 <dc:choose> |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1219 <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
|
1220 <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
|
1221 </dc:when> |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1222 </dc:choose> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1223 </dc:when> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1224 |
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1225 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1226 <dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1227 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
|
1228 --------------------------------------------------------- |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1229 </dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1230 <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
|
1231 <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
|
1232 </dc:otherwise> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1233 </dc:choose> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1234 </datacage> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1235 </dc:template> |