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