Mercurial > dive4elements > river
annotate artifacts/doc/conf/meta-data.xml @ 5978:ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 10 May 2013 15:44:48 +0200 |
parents | 178a873df7a9 |
children | 5159a7d85320 |
rev | line source |
---|---|
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
1046
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> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
4 <dc:comment> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
5 Statement to load data from wsts. |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
6 </dc:comment> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
7 <dc:macro name="SQL-wst_columns_statement"> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
8 <dc:statement> |
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
9 SELECT wst_columns.id AS prot_column_id, |
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
10 wst_columns.name AS prot_column_name, |
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
11 wst_columns.position AS prot_rel_pos, |
4895
065a78d65007
meta-data.xml: Access wst_ranges and provide range is info-element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4894
diff
changeset
|
12 wst_columns.description AS info, |
065a78d65007
meta-data.xml: Access wst_ranges and provide range is info-element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4894
diff
changeset
|
13 wst_ranges.a AS deffrom, |
065a78d65007
meta-data.xml: Access wst_ranges and provide range is info-element.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4894
diff
changeset
|
14 wst_ranges.b AS defto |
5884
11e74ca3229a
datacage: simplified range filtering for wsts.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5881
diff
changeset
|
15 FROM wst_columns JOIN wst_ranges |
11e74ca3229a
datacage: simplified range filtering for wsts.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5881
diff
changeset
|
16 ON wst_columns.id = wst_ranges.wst_column_id |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
17 WHERE wst_columns.wst_id = ${prot_id} |
5884
11e74ca3229a
datacage: simplified range filtering for wsts.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5881
diff
changeset
|
18 AND NOT((${tokm} < wst_ranges.a) OR (${fromkm} > wst_ranges.b)) |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
19 ORDER by wst_columns.position |
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
20 </dc:statement> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
21 </dc:macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
22 |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
23 <dc:comment> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
24 Load user specific distance information from artifact. |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
25 </dc:comment> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
26 <dc:macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
27 <dc:choose> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
28 <dc:when test="dc:contains($parameters, 'user-id')"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
29 <dc:context connection="user"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
30 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
31 SELECT COALESCE(ld_mode, '') AS ldm, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
32 COALESCE(ld_locations, '') AS ldl, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
33 COALESCE(ld_from, '') AS ldf, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
34 COALESCE(ld_to, '') AS ldt |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
35 FROM master_artifacts_range |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
36 WHERE gid = CAST(${artifact-id} AS uuid) |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
37 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
38 <dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
39 <dc:variable name="fromkm" type="number" expr="dc:fromValue($ldm, $ldl, $ldf)"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
40 <dc:variable name="tokm" type="number" expr="dc:toValue($ldm, $ldl, $ldt)"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
41 <dc:macro-body/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
42 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
43 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
44 </dc:when> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
45 <dc:otherwise> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
46 <dc:variable name="fromkm" type="number" expr="dc:fromValue('', '', '')"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
47 <dc:variable name="tokm" type="number" expr="dc:toValue('', '', '')"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
48 <dc:macro-body/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
49 </dc:otherwise> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
50 </dc:choose> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
51 </dc:macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
52 |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
53 <dc:comment> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
54 System part. Load data for the given river. |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
55 </dc:comment> |
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
|
56 <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
|
57 <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
|
58 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
59 SELECT id AS river_id, name AS river_name FROM rivers |
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
|
60 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
|
61 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
62 <dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
63 |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
64 <dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
65 Base-data macros (mostly data imported from wst-files). |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
66 </dc:comment> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
67 <dc:macro name="basedata_0"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
68 <dc:call-macro name="user-range"> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
69 <dc:comment comment=" BASEDATA ---------------------------"/> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
70 <basedata> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
71 <dc:context connection="system"> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
72 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
73 SELECT id AS prot_id, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
74 description AS prot_description |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
75 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
|
76 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
77 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
78 <basedata name="{$prot_description}"> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
79 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
80 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
81 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
82 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
83 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5802
e4d0e80ae404
For base-data from DC, use staticwqkms factory (will spawn w and q facets).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
5796
diff
changeset
|
84 factory="staticwqkms" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
85 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
86 </dc:for-each> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
87 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
88 </basedata> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
89 </dc:for-each> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
90 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
91 </basedata> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
92 </dc:call-macro> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
93 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
94 |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
95 <dc:macro name="basedata_0_wq"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
96 <dc:call-macro name="user-range"> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
97 <dc:comment comment=" BASEDATA ---------------------------"/> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
98 <basedata> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
99 <dc:context connection="system"> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
100 <dc:statement> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
101 SELECT id AS prot_id, |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
102 description AS prot_description |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
103 FROM wsts WHERE kind = 0 AND river_id = ${river_id} |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
104 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
105 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
106 <basedata name="{$prot_description}"> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
107 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
108 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
109 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
110 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
111 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
112 factory="wqinterpol" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
113 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
114 </dc:for-each> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
115 </dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
116 </basedata> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
117 </dc:for-each> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
118 </dc:context> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
119 </basedata> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
120 </dc:call-macro> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
121 </dc:macro> |
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
122 |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
123 <dc:macro name="basedata_1_additionals_marks"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
124 <dc:call-macro name="user-range"> |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
125 <dc:comment comment=".ZUS -------------------------------"/> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
126 <additionals> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
127 <dc:context connection="system"> |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
128 <dc:statement> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
129 SELECT id AS prot_id, |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
130 description AS prot_description |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
131 FROM wsts WHERE kind = 1 AND river_id = ${river_id} |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
132 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
133 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
134 <additional name="{$prot_description}"> |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
135 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
136 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
137 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
138 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
139 ids="additionalsmarks-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
140 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
141 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
142 </dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
143 </dc:context></additional> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
144 </dc:for-each> |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
145 </dc:context> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
146 </additionals> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
147 </dc:call-macro> |
4143
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
148 </dc:macro> |
58864f4f6e3b
Fix issue946 (own style for wkms annotation facets in wq diagrams).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4126
diff
changeset
|
149 |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
150 <dc:macro name="basedata_1_additionals"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
151 <dc:call-macro name="user-range"> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
152 <dc:comment comment=".ZUS -------------------------------"/> |
2085
dd3f5bd174ea
Fix typo in meta data, such that string can be translated in GUI.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1978
diff
changeset
|
153 <additionals> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
154 <dc:context connection="system"> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
155 <dc:statement> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
156 SELECT id AS prot_id, |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
157 description AS prot_description |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
158 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
|
159 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
160 <dc:for-each> |
5746
1dab240f9f55
remove prefixed directory names from descriptions in data cage
Tom Gottfried <tom@intevation.de>
parents:
5682
diff
changeset
|
161 <additional name="{dc:replace($prot_description, 'Zus.Längsschnitte/', '')}"> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
162 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
163 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
164 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
165 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
166 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
167 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
168 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
169 </dc:for-each> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
170 </dc:context> |
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
171 </additional> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
172 </dc:for-each> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
173 </dc:context> |
2085
dd3f5bd174ea
Fix typo in meta data, such that string can be translated in GUI.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1978
diff
changeset
|
174 </additionals> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
175 </dc:call-macro> |
1790
d3a0d55dff63
Add static data conf to w-difference / datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1789
diff
changeset
|
176 </dc:macro> |
1764
87c82499b98f
Added DC configuration to load additional data in longitudinal section.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1761
diff
changeset
|
177 |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
178 <dc:macro name="basedata_1_additionals-relative_point"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
179 <dc:call-macro name="user-range"> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
180 <dc:comment comment=".ZUS -------------------------------"/> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
181 <additionals> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
182 <dc:context connection="system"> |
1728
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
183 <dc:statement> |
6068b6c90a19
Adjusted datacage-configuration to present flood-protections in certain case.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1716
diff
changeset
|
184 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
|
185 description AS prot_description |
1731
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
186 FROM wsts WHERE kind = 1 AND river_id = ${river_id} |
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
187 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
188 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
189 <relativepoint name="{$prot_description}"> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
190 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
191 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
192 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
193 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
194 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
195 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
196 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
197 </dc:for-each> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
198 </dc:context> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
199 </relativepoint> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
200 </dc:for-each> |
1731
37606f0ddc1e
Also display the 'zus' in wdiff-input datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1728
diff
changeset
|
201 </dc:context> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
202 </additionals> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
203 </dc:call-macro> |
2761
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
204 </dc:macro> |
28e7c1637f78
Include thematic heights in dc conf for reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2755
diff
changeset
|
205 |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
206 <dc:macro name="basedata_2_fixations_wqkms"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
207 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
208 <fixations> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
209 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
210 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
211 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
212 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
213 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
5560
ccda0a49a97f
Order Fixations by their description
Andre Heinecke <aheinecke@intevation.de>
parents:
5551
diff
changeset
|
214 ORDER BY prot_description |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
215 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
216 <dc:for-each> |
5562
7be6785ad7b9
Use dc:replace to remove static "Fixierungen/" prefix in fixation description
Andre Heinecke <aheinecke@intevation.de>
parents:
5560
diff
changeset
|
217 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
218 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
219 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
220 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
221 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
222 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
223 factory="wqinterpol" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
224 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
225 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
226 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
227 </fixation> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
228 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
229 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
230 </fixations> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
231 </dc:call-macro> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
232 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
233 |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
234 <dc:macro name="basedata_2_fixations"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
235 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
236 <fixations> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
237 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
238 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
239 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
240 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
241 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
5560
ccda0a49a97f
Order Fixations by their description
Andre Heinecke <aheinecke@intevation.de>
parents:
5551
diff
changeset
|
242 ORDER BY prot_description |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
243 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
244 <dc:for-each> |
5562
7be6785ad7b9
Use dc:replace to remove static "Fixierungen/" prefix in fixation description
Andre Heinecke <aheinecke@intevation.de>
parents:
5560
diff
changeset
|
245 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
246 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
247 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
248 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
249 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
250 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5846
6343a61b62c8
issue949: Have fixations in longitudinal-sections have W and Q facet.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
5838
diff
changeset
|
251 factory="staticwqkms" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
252 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
253 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
254 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
255 </fixation> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
256 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
257 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
258 </fixations> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
259 </dc:call-macro> |
1872
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
260 </dc:macro> |
2e810c50e685
Refactored datacage conf to (re)use macros.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1871
diff
changeset
|
261 |
2749
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
262 <dc:macro name="basedata_2_fixations_relative_point"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
263 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
264 <fixations> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
265 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
266 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
267 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
268 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
269 FROM wsts WHERE kind = 2 AND river_id = ${river_id} |
5560
ccda0a49a97f
Order Fixations by their description
Andre Heinecke <aheinecke@intevation.de>
parents:
5551
diff
changeset
|
270 ORDER BY prot_description |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
271 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
272 <dc:for-each> |
5562
7be6785ad7b9
Use dc:replace to remove static "Fixierungen/" prefix in fixation description
Andre Heinecke <aheinecke@intevation.de>
parents:
5560
diff
changeset
|
273 <relativepoint name="{dc:replace($prot_description, 'Fixierungen/', '')}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
274 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
275 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
276 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
277 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
278 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
279 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
280 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
281 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
282 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
283 </relativepoint> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
284 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
285 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
286 </fixations> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
287 </dc:call-macro> |
2749
5eb3edb4f37b
Add relative-points-fixations for duration curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2736
diff
changeset
|
288 </dc:macro> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
289 |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
290 <dc:macro name="basedata_3_officials"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
291 <dc:call-macro name="user-range"> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
292 <dc:comment comment=".wst -------------------------------"/> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
293 <officiallines> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
294 <dc:context connection="system"> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
295 <dc:statement> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
296 SELECT id AS prot_id, |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
297 description AS prot_description |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
298 FROM wsts WHERE kind = 3 AND river_id = ${river_id} |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
299 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
300 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
301 <official name="{$prot_description}"> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
302 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
303 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
304 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
305 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
306 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
307 factory="staticwqkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
308 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
309 </dc:for-each> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
310 </dc:context> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
311 </official> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
312 </dc:for-each> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
313 </dc:context> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
314 </officiallines> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
315 </dc:call-macro> |
3283
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
316 </dc:macro> |
a8ce3263b0a7
Make official lines loadable from dc (by hand) for longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3219
diff
changeset
|
317 |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
318 <dc:macro name="basedata_4_heightmarks-points-relative_points"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
319 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
320 <heightmarks> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
321 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
322 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
323 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
324 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
325 FROM wsts WHERE kind = 4 AND river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
326 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
327 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
328 <relativepoint name="{$prot_description}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
329 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
330 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
331 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
332 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
333 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
334 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
335 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
336 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
337 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
338 </relativepoint> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
339 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
340 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
341 </heightmarks> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
342 </dc:call-macro> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
343 </dc:macro> |
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
344 |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
345 <dc:macro name="basedata_4_heightmarks-points"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
346 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
347 <heightmarks> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
348 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
349 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
350 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
351 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
352 FROM wsts WHERE kind = 4 AND river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
353 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
354 <dc:for-each> |
5746
1dab240f9f55
remove prefixed directory names from descriptions in data cage
Tom Gottfried <tom@intevation.de>
parents:
5682
diff
changeset
|
355 <heightmark name="{dc:replace($prot_description, 'HW-Marken/', '')}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
356 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
357 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
358 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
359 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
360 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
361 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
362 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
363 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
364 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
365 </heightmark> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
366 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
367 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
368 </heightmarks> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
369 </dc:call-macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
370 </dc:macro> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
371 |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
372 <dc:macro name="basedata_4_heightmarks-wq"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
373 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
374 <heightmarks> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
375 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
376 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
377 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
378 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
379 FROM wsts WHERE kind = 4 AND river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
380 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
381 <dc:for-each> |
5746
1dab240f9f55
remove prefixed directory names from descriptions in data cage
Tom Gottfried <tom@intevation.de>
parents:
5682
diff
changeset
|
382 <heightmark name="{$prot_description}"> |
1dab240f9f55
remove prefixed directory names from descriptions in data cage
Tom Gottfried <tom@intevation.de>
parents:
5682
diff
changeset
|
383 <dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
384 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
385 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
386 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
387 ids="heightmarks_annotations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
388 factory="wqinterpol" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
389 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
390 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
391 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
392 </heightmark> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
393 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
394 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
395 </heightmarks> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
396 </dc:call-macro> |
1916
efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1905
diff
changeset
|
397 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
398 |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
399 <dc:macro name="basedata_5_flood-protections_relative_points"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
400 <dc:call-macro name="user-range"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
401 <flood_protections id="flood-protections-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
402 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
403 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
404 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
405 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
406 FROM wsts WHERE kind = 5 AND river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
407 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
408 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
409 <relativepoint name="{$prot_description}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
410 db-id="{$prot_id}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
411 factory="staticwkms"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
412 <columns> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
413 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
414 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
415 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
416 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
417 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
418 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
419 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
420 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
421 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
422 </columns> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
423 </relativepoint> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
424 </dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
425 </dc:context></flood_protections> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
426 </dc:call-macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
427 </dc:macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
428 |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
429 <dc:macro name="basedata_5_flood-protections"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
430 <dc:call-macro name="user-range"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
431 <flood_protections id="flood-protections-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
432 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
433 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
434 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
435 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
436 FROM wsts WHERE kind = 5 AND river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
437 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
438 <dc:for-each> |
5746
1dab240f9f55
remove prefixed directory names from descriptions in data cage
Tom Gottfried <tom@intevation.de>
parents:
5682
diff
changeset
|
439 <flood_protection name="{dc:replace($prot_description, 'HW-Schutzanlagen/', '')}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
440 db-id="{$prot_id}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
441 factory="staticwkms"> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
442 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
443 <dc:call-macro name="SQL-wst_columns_statement"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
444 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
445 <column name="{$prot_column_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
446 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
447 factory="staticwkms" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
448 info="{$info} [km {$deffrom} - {$defto}]"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
449 </dc:for-each> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
450 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
451 </flood_protection> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
452 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
453 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
454 </flood_protections> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
455 </dc:call-macro> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
456 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
457 |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
458 <dc:macro name="mainvalues"> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
459 <mainvalue factory="mainvalue" ids="{$river_id}:OUT={$OUT}"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
460 <wmainvalue factory="mainvalue" ids="{$river_id}:w:OUT={$OUT}"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
461 <qmainvalue factory="mainvalue" ids="{$river_id}:q:OUT={$OUT}"/> |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
462 </dc:macro> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
463 |
3574
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
464 <dc:macro name="qsectors"> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
465 <qsector factory="qsectors" ids="{$river_id}:OUT={$OUT}"/> |
3574
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
466 </dc:macro> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
467 |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
468 <dc:macro name="annotations"> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
469 <annotation factory="annotations" ids="{$river_id}:OUT={$OUT}"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
470 </dc:macro> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
471 |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
472 <dc:macro name="annotations_per_type"> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
473 <annotations> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
474 <dc:context> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
475 <all_annotations factory="annotations" ids="{$river_id}:OUT={$OUT}"/> |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
476 <dc:statement> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
477 SELECT id AS anno_id, |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
478 name AS anno_description |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
479 FROM annotation_types |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
480 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
481 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
482 <annotation name="{$anno_description}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
483 factory="annotations" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
484 ids="{$river_id}:{$anno_description}:OUT={$OUT}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
485 </dc:for-each> |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
486 </dc:context> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
487 </annotations> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
488 </dc:macro> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
489 |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
490 <dc:macro name="cross_sections"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
491 <dc:call-macro name="user-range"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
492 <cross_sections id="flood-protections-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
493 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
494 <dc:statement> |
5164
8c65acf01adc
Fixed datacage to be oracle compatible.
Raimund Renkert <rrenkert@intevation.de>
parents:
5145
diff
changeset
|
495 SELECT DISTINCT |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
496 cs.id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
497 cs.description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
498 FROM cross_sections cs |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
499 JOIN cross_section_lines csl ON csl.cross_section_id = cs.id |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
500 WHERE cs.river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
501 AND csl.km BETWEEN ${fromkm} AND ${tokm} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
502 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
503 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
504 <cross_section name="{$prot_description}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
505 ids="{$prot_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
506 factory="crosssections"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
507 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
508 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
509 </cross_sections> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
510 </dc:call-macro> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
511 </dc:macro> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
512 |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
513 <dc:macro name="hyks"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
514 <dc:call-macro name="user-range"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
515 <hyks id="hyk-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
516 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
517 <dc:statement> |
5164
8c65acf01adc
Fixed datacage to be oracle compatible.
Raimund Renkert <rrenkert@intevation.de>
parents:
5145
diff
changeset
|
518 SELECT DISTINCT |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
519 h.id AS hyk_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
520 h.description AS hyk_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
521 FROM hyks h |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
522 JOIN hyk_entries he ON he.hyk_id = h.id |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
523 WHERE river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
524 AND he.km BETWEEN ${fromkm} AND ${tokm} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
525 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
526 <dc:for-each> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
527 <hyk name="{$hyk_description}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
528 ids="{$hyk_id}:OUT={$OUT}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
529 factory="hyk"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
530 </dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
531 </dc:context></hyks> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
532 </dc:call-macro> |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
533 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
534 |
4455
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
535 <dc:macro name="flow_velocity_measurements"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
536 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
537 <flowvelocitymeasurement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
538 <dc:context connection="system"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
539 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
540 SELECT id AS fvmid, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
541 description AS fvmd |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
542 FROM flow_velocity_measurements WHERE river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
543 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
544 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
545 <flow_velocity_measurement name="{$fvmd}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
546 ids="{$fvmid}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
547 factory="flowvelocity"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
548 <dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
549 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
550 SELECT id, description, station, datetime, v, w, q |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
551 FROM flow_velocity_measure_values |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
552 WHERE measurements_id = ${fvmid} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
553 AND station BETWEEN ${fromkm} AND ${tokm} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
554 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
555 <dc:for-each> |
5575
bf319ba67212
Put the correct annotations into flowvelocity dc and fix measurement name.
Raimund Renkert <rrenkert@intevation.de>
parents:
5562
diff
changeset
|
556 <measurement_value name="{$description} - {$station} - {$datetime}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
557 ids="{$id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
558 factory="flowvelocity"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
559 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
560 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
561 </flow_velocity_measurement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
562 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
563 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
564 </flowvelocitymeasurement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
565 </dc:call-macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
566 </dc:macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
567 |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
568 <dc:macro name="sounding-width"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
569 <soundings_width> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
570 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
571 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
572 SELECT id AS bedh_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
573 year AS bedh_year, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
574 description AS bedh_descr |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
575 FROM bed_height_single WHERE river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
576 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
577 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
578 <height factory="bedheight" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
579 ids="bedheight-singlevalues-{$bedh_id}-{$bedh_year}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
580 description="{$bedh_descr}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
581 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
582 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
583 </soundings_width> |
4455
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
584 </dc:macro> |
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
585 |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
586 <dc:macro name="morph_width"> |
5766
a6dc4c232da2
Datacage config and out generator for morphologic width.
Raimund Renkert <rrenkert@intevation.de>
parents:
5761
diff
changeset
|
587 <morph_width> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
588 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
589 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
590 SELECT id AS width_id |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
591 FROM morphologic_width |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
592 WHERE river_id = ${river_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
593 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
594 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
595 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
596 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
597 SELECT min(station) AS from, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
598 max(station) AS to |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
599 FROM morphologic_width_values |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
600 WHERE morphologic_width_id = ${width_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
601 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
602 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
603 <morphologic-width name="{$from} - {$to}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
604 ids="{$width_id}:OUT={$OUT}" |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
605 factory="morph-width"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
606 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
607 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
608 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
609 </dc:context> |
5766
a6dc4c232da2
Datacage config and out generator for morphologic width.
Raimund Renkert <rrenkert@intevation.de>
parents:
5761
diff
changeset
|
610 </morph_width> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
611 </dc:macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
612 |
4595
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
613 <dc:macro name="longitudinal-section-prototype"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
614 <dc:call-macro name="basedata_0"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
615 <dc:call-macro name="basedata_1_additionals"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
616 <dc:comment comment=" FIXATIONS ---------------------------"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
617 <dc:call-macro name="basedata_2_fixations"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
618 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
619 <dc:call-macro name="basedata_4_heightmarks-points"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
620 <dc:comment comment=" AMTL LINIEN ---------------------------"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
621 <dc:call-macro name="basedata_3_officials"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
622 <dc:call-macro name="basedata_5_flood-protections"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
623 <dc:call-macro name="annotations_per_type"/> |
4595
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
624 </dc:macro> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
625 |
5978
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
626 <dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
627 + River-Node |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
628 </dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
629 <dc:attribute name="name" value="${river_name}"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
630 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
631 <dc:choose> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
632 <dc:when test="dc:contains($parameters, 'recommended')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
633 <dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
634 Recommendations (client shall load immediately). |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
635 </dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
636 <dc:if test="dc:contains($artifact-outs, 'w_differences') or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
637 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
638 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
639 <dc:if test="dc:contains($artifact-outs, 'historical_discharge_wq')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
640 <dc:call-macro name="mainvalues"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
641 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
642 <dc:if test="dc:contains($artifact-outs, 'cross_section')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
643 <dc:call-macro name="cross_sections"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
644 <dc:call-macro name="hyks"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
645 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
646 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
647 <dc:call-macro name="mainvalues"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
648 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
649 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
650 <dc:if test="dc:contains($artifact-outs, 'duration_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
651 <dc:call-macro name="mainvalues"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
652 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
653 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
654 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
655 <dc:call-macro name="mainvalues"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
656 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
657 <dc:if test="dc:contains($artifact-outs, 'fix_wq_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
658 <dc:call-macro name="qsectors"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
659 <dc:call-macro name="mainvalues"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
660 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
661 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
662 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
663 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
664 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
665 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
666 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
667 <dc:if test="dc:contains($artifact-outs, 'bed_difference_epoch')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
668 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
669 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
670 <dc:if test="dc:contains($artifact-outs, 'bed_difference_year')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
671 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
672 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
673 <dc:if test="dc:contains($artifact-outs, 'bed_difference_height_year')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
674 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
675 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
676 </dc:when> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
677 <dc:otherwise> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
678 <dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
679 Non - Recommendations. |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
680 </dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
681 <dc:if test="dc:contains($artifact-outs, 'cross_section')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
682 <dc:call-macro name="basedata_0"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
683 <dc:call-macro name="basedata_1_additionals"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
684 <dc:call-macro name="basedata_2_fixations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
685 <dc:call-macro name="basedata_3_officials"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
686 <dc:call-macro name="basedata_4_heightmarks-points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
687 <dc:call-macro name="cross_sections"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
688 <dc:call-macro name="hyks"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
689 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
690 <!--dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
691 <dc:call-macro name="basedata_0_wq"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
692 <dc:call-macro name="basedata_4_heightmarks-wq"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
693 </dc:if--> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
694 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')) or (dc:contains($artifact-outs, 'discharge_longitudinal_section'))"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
695 <dc:call-macro name="longitudinal-section-prototype"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
696 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
697 <dc:if test="dc:contains($artifact-outs, 'duration_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
698 <dc:call-macro name="mainvalues"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
699 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
700 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
701 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
702 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
703 <dc:if test="dc:contains($artifact-outs, 'reference_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
704 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
705 <!--dc:call-macro name="basedata_0"/--> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
706 <dc:call-macro name="basedata_1_additionals-relative_point"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
707 <dc:comment comment=" FIXATIONS ---------------------------"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
708 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
709 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
710 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
711 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
712 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
713 <dc:if test="dc:contains($artifact-outs, 'fix_wq_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
714 <dc:call-macro name="basedata_0_wq"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
715 <dc:call-macro name="basedata_1_additionals_marks"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
716 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
717 <dc:call-macro name="basedata_3_officials"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
718 <dc:call-macro name="basedata_4_heightmarks-points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
719 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
720 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
721 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
722 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
723 <dc:if test="dc:contains($artifact-outs, 'fix_longitudinal_section_curve')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
724 <dc:call-macro name="annotations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
725 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
726 <dc:if test="dc:contains($artifact-outs, 'map')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
727 <dc:call-macro name="flood-map-complete"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
728 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
729 <dc:if test="dc:contains($artifact-outs, 'flow_velocity')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
730 <dc:call-macro name="annotations_per_type"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
731 <dc:call-macro name="flow_velocity_measurements"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
732 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
733 <dc:if test="dc:contains($artifact-outs, 'bed_longitudinal_section')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
734 <dc:call-macro name="annotations_per_type"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
735 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
736 <dc:if test="dc:contains($artifact-outs, 'sedimentload_ls')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
737 <dc:call-macro name="annotations_per_type"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
738 <dc:call-macro name="morph_width"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
739 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
740 <dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
741 MINFO bedheight middle |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
742 </dc:comment> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
743 <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
744 <dc:call-macro name="sounding-width"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
745 <dc:call-macro name="basedata_0"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
746 <dc:call-macro name="basedata_1_additionals"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
747 <dc:call-macro name="basedata_2_fixations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
748 <dc:call-macro name="basedata_3_officials"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
749 <dc:call-macro name="annotations_per_type"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
750 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
751 <dc:if test="dc:contains($artifact-outs, 'bed_difference_year') or |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
752 dc:contains($artifact-outs, 'bed_difference_epoch')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
753 <dc:call-macro name="basedata_0"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
754 <dc:call-macro name="basedata_1_additionals"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
755 <dc:call-macro name="basedata_2_fixations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
756 <dc:call-macro name="basedata_3_officials"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
757 <dc:call-macro name="annotations_per_type"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
758 <dc:call-macro name="morph_width"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
759 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
760 <dc:comment comment="--- non-recommendations---"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
761 </dc:otherwise> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
762 </dc:choose> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
763 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
764 <dc:if test="dc:contains($artifact-outs, 'waterlevels')"> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
765 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
766 <!-- base data --> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
767 <dc:call-macro name="basedata_0"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
768 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
769 <!-- extra-longitudinal-sections --> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
770 <dc:call-macro name="basedata_1_additionals"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
771 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
772 <!-- fixations --> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
773 <dc:call-macro name="basedata_2_fixations"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
774 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
775 <!-- flood water marks--> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
776 <dc:call-macro name="basedata_4_heightmarks-points"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
777 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
778 <!-- flood protection --> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
779 <dc:call-macro name="basedata_5_flood-protections"/> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
780 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
781 </dc:if> |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
782 |
ebd6e8e234e0
Added mainvalues to fixanalysis wq curves.
Raimund Renkert <rrenkert@intevation.de>
parents:
5976
diff
changeset
|
783 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve') and not (dc:contains($parameters, 'recommended'))"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
784 <discharge_table_nn> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
785 <discharge_table_gauge> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
786 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
787 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
788 SELECT id AS gauge_id, |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
789 name AS gauge_name |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
790 FROM gauges WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
791 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
792 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
793 <gauge name="{$gauge_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
794 db-id="{$gauge_id}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
795 factory="gaugedischarge" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
796 from="{$g_start}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
797 to="{$g_stop}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
798 ids="{$gauge_name}:OUT={$OUT}"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
799 </dc:for-each> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
800 </dc:context> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
801 </discharge_table_gauge> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
802 </discharge_table_nn> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
803 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
804 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
805 <dc:macro name="discharge_computed"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
806 <discharge_table_nn> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
807 <discharge_table_gauge> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
808 <dc:context> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
809 <dc:statement> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
810 SELECT id AS gauge_id, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
811 name AS gauge_name |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
812 FROM gauges WHERE river_id = ${river_id} |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
813 </dc:statement> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
814 <dc:for-each> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
815 <gauge name="{$gauge_name}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
816 db-id="{$gauge_id}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
817 factory="gaugedischarge" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
818 from="{$g_start}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
819 to="{$g_stop}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
820 ids="{$gauge_name}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
821 <dc:comment> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
822 <!-- |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
823 <gauge> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
824 <dc:attribute name="name" value="${gauge_name}"/> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
825 <dc:attribute name="db-id" value="${gauge_id}"/> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
826 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
827 <dc:statement> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
828 SELECT description AS gauge_desc, |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
829 d.id AS discharge_id, |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
830 ti.start_time AS g_start, |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
831 ti.stop_time AS g_stop |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
832 FROM discharge_tables d JOIN time_intervals ti |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
833 ON d.time_interval_id = ti.id |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
834 WHERE d.gauge_id = ${gauge_id} AND d.kind = 1 |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
835 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
836 <dc:for-each> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
837 <historical> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
838 <dc:attribute name="name" value="${gauge_desc}"/> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
839 <dc:attribute name="factory" value="gaugedischarge"/> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
840 <dc:attribute name="from" value="${g_start}"/> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
841 <dc:attribute name="to" value="${g_stop}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
842 <dc:attribute name="ids" value="${discharge_id}-${g_start}-${g_stop}:OUT=${out}"/> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
843 </historical> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
844 </dc:for-each> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
845 </dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
846 </gauge> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
847 --> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
848 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
849 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
850 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
851 </discharge_table_gauge> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
852 </discharge_table_nn> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
853 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
854 |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
855 <dc:macro name="discharge_fix_wq"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
856 <discharge_table_nn> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
857 <discharge_table_gauge> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
858 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
859 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
860 SELECT id AS gauge_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
861 name AS gauge_name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
862 FROM gauges WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
863 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
864 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
865 <gauge name="{$gauge_name}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
866 db-id="{$gauge_id}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
867 factory="gaugedischarge" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
868 from="{$g_start}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
869 to="{$g_stop}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
870 ids="{$gauge_name}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
871 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
872 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
873 </discharge_table_gauge> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
874 </discharge_table_nn> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
875 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
876 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
877 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
878 <dc:when test="dc:contains($parameters, 'recommended')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
879 <dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
880 Recommendations (client shall load immediately). |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
881 </dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
882 <dc:iterate var="out" container="artifact-outs"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
883 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
884 <dc:when test="$out = 'w_differences'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
885 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
886 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
887 <dc:when test="$out = 'discharge_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
888 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
889 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
890 <dc:when test="$out = 'historical_discharge_wq'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
891 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
892 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
893 <dc:when test="$out = 'cross_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
894 <dc:call-macro name="cross_sections"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
895 <dc:call-macro name="hyks"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
896 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
897 <dc:when test="$out = 'computed_discharge_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
898 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
899 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
900 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
901 <dc:when test="$out = 'duration_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
902 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
903 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
904 <dc:when test="$out = 'reference_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
905 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
906 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
907 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
908 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
909 <dc:call-macro name="qsectors"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
910 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
911 <dc:when test="$out = 'longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
912 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
913 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
914 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
915 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
916 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
917 <dc:when test="$out = 'bed_difference_epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
918 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
919 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
920 <dc:when test="$out = 'bed_difference_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
921 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
922 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
923 <dc:when test="$out = 'bed_difference_height_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
924 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
925 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
926 <dc:when test="$out = 'floodmap'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
927 <dc:call-macro name="flood-map-recommended"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
928 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
929 <dc:when test="$out = 'floodmap-hws'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
930 <dc:call-macro name="flood-map-recommended"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
931 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
932 <dc:when test="$out = 'minfo-heights'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
933 <dc:call-macro name="minfo-heights"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
934 <dc:macro name="minfo-heights"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
935 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
936 <dc:call-macro name="bed-heights-single"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
937 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
938 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
939 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
940 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
941 <dc:when test="$out = 'minfo-heights-epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
942 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
943 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
944 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
945 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
946 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
947 </dc:iterate> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
948 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
949 <dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
950 <dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
951 Non - Recommendations. |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
952 </dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
953 <dc:iterate var="out" container="artifact-outs"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
954 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
955 <dc:when test="$out = 'cross_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
956 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
957 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
958 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
959 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
960 <dc:call-macro name="basedata_4_heightmarks-points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
961 <dc:call-macro name="cross_sections"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
962 <dc:call-macro name="hyks"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
963 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
964 <dc:when test="$out = 'longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
965 <dc:call-macro name="longitudinal-section-prototype"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
966 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
967 <dc:when test="$out = 'w_differences'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
968 <dc:call-macro name="longitudinal-section-prototype"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
969 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
970 <dc:when test="$out = 'discharge_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
971 <dc:call-macro name="longitudinal-section-prototype"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
972 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
973 <dc:when test="$out = 'duration_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
974 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
975 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
976 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
977 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
978 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
979 <dc:when test="$out = 'reference_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
980 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
981 <dc:call-macro name="basedata_1_additionals-relative_point"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
982 <dc:comment comment=" FIXATIONS ---------------------------"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
983 <dc:call-macro name="basedata_2_fixations_relative_point"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
984 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
985 <dc:call-macro name="basedata_4_heightmarks-points-relative_points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
986 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
987 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
988 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
989 <dc:call-macro name="basedata_0_wq"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
990 <dc:call-macro name="basedata_1_additionals_marks"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
991 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
992 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
993 <dc:call-macro name="basedata_4_heightmarks-points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
994 <dc:call-macro name="basedata_5_flood-protections_relative_points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
995 <dc:call-macro name="discharge_table_gauge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
996 <dc:call-macro name="discharge_fix_wq"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
997 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
998 <dc:when test="$out = 'fix_deltawt_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
999 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1000 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1001 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1002 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1003 <dc:when test="$out = 'map'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1004 <dc:call-macro name="flood-map-complete"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1005 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1006 <dc:when test="$out = 'flow_velocity'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1007 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1008 <dc:call-macro name="flow_velocity_measurements"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1009 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1010 <dc:when test="$out = 'bed_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1011 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1012 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1013 <dc:when test="$out = 'sedimentload_ls'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1014 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1015 <dc:call-macro name="morph_width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1016 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1017 <dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1018 MINFO bedheight middle |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1019 </dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1020 <dc:when test="$out = 'bedheight_middle'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1021 <dc:call-macro name="sounding-width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1022 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1023 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1024 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1025 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1026 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1027 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1028 <dc:when test="$out = 'bed_difference_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1029 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1030 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1031 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1032 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1033 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1034 <dc:call-macro name="morph_width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1035 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1036 <dc:when test="$out = 'bed_difference_epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1037 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1038 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1039 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1040 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1041 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1042 <dc:call-macro name="morph_width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1043 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1044 <dc:when test="$out = 'floodmap'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1045 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1046 <dc:when test="dc:contains($parameters, 'dem')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1047 <dc:call-macro name="flood-map-dem"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1048 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1049 <dc:when test="dc:contains($parameters, 'hws')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1050 <hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1051 <dc:call-macro name="flood-map-hws-lines"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1052 <dc:call-macro name="flood-map-hws-points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1053 </hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1054 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1055 <dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1056 <dc:call-macro name="flood-map-complete"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1057 </dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1058 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1059 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1060 <dc:when test="$out = 'floodmap-hws'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1061 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1062 <dc:when test="dc:contains($parameters, 'dem')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1063 <dc:call-macro name="flood-map-dem"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1064 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1065 <dc:when test="dc:contains($parameters, 'hws')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1066 <hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1067 <dc:call-macro name="flood-map-hws-lines"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1068 <dc:call-macro name="flood-map-hws-points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1069 </hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1070 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1071 <dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1072 <dc:call-macro name="flood-map-complete"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1073 </dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1074 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1075 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1076 <dc:when test="$out = 'computed_discharge_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1077 <dc:call-macro name="discharge_computed"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1078 <dc:call-macro name="basedata_2_fixations_wqkms"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1079 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1080 <dc:call-macro name="basedata_5_flood-protections"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1081 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1082 <!-- former waterlevels --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1083 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1084 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1085 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1086 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1087 <!-- former flood-water-marks --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1088 <dc:call-macro name="basedata_4_heightmarks-points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1089 <computed_discharge_curve> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1090 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1091 </computed_discharge_curve> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1092 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1093 <dc:when test="$out = 'minfo-heights'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1094 <dc:call-macro name="minfo-heights"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1095 <dc:macro name="minfo-heights"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1096 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1097 <dc:call-macro name="bed-heights-single"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1098 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1099 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1100 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1101 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1102 <dc:when test="$out = 'minfo-heights-epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1103 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1104 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1105 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1106 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1107 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1108 </dc:iterate> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1109 </dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1110 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1111 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1112 |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1113 <dc:if test="dc:contains($artifact-outs, 'floodmap') or dc:contains($artifact-outs, 'floodmap-hws')"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1114 <dc:macro name="flood-map-recommended"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1115 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1116 FIXME: Following two macros look identical to me. |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1117 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1118 <kilometrage> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1119 <riveraxis factory="riveraxis" ids="{$river_id}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1120 </kilometrage> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1121 <rastermap> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1122 <background factory="wmsbackground" ids="{$river_id}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1123 </rastermap> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1124 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1125 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1126 <dc:macro name="flood-map-dem"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1127 <dems> |
5477
ae60bb7b8085
Add proper handling of multiple river_axes for datacage and rivermapfile
Andre Heinecke <aheinecke@intevation.de>
parents:
5474
diff
changeset
|
1128 <dc:context> |
ae60bb7b8085
Add proper handling of multiple river_axes for datacage and rivermapfile
Andre Heinecke <aheinecke@intevation.de>
parents:
5474
diff
changeset
|
1129 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1130 SELECT d.id AS dem_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1131 r.a AS dem_lower, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1132 r.b AS dem_upper, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1133 d.name AS name, |
5625
a8cc4ebdd0bb
Update dem info string
Andre Heinecke <aheinecke@intevation.de>
parents:
5619
diff
changeset
|
1134 t.start_time AS start_time, |
a8cc4ebdd0bb
Update dem info string
Andre Heinecke <aheinecke@intevation.de>
parents:
5619
diff
changeset
|
1135 t.stop_time AS stop_time, |
5627
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
1136 'Projektion: ' || d.projection || '$' || |
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
1137 'Rasterweite: ' || d.resolution || 'm$' || |
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
1138 'Format: ' || d.format || '$' || |
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
1139 'Zeitraum: ' |
5625
a8cc4ebdd0bb
Update dem info string
Andre Heinecke <aheinecke@intevation.de>
parents:
5619
diff
changeset
|
1140 AS info |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1141 FROM dem d |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1142 JOIN ranges r ON d.range_id = r.id |
5529
52876daf97b0
Use left join on time intervals as they can be NULL
Tom Gottfried <tom@intevation.de>
parents:
5524
diff
changeset
|
1143 LEFT JOIN time_intervals t ON d.time_interval_id = t.id |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1144 WHERE d.river_id = ${river_id} |
5515
87dab419b924
Properly handle hydr_boundaries and hydr_boundaries_poly in datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5496
diff
changeset
|
1145 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1146 <dc:for-each> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1147 <dem factory="demfactory" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1148 ids="{$dem_id}:OUT={$OUT}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1149 name="{$name}" |
5627
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
1150 info="{dc:replace($info, '$', '<BR>')}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1151 </dc:for-each> |
5515
87dab419b924
Properly handle hydr_boundaries and hydr_boundaries_poly in datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5496
diff
changeset
|
1152 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1153 </dems> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1154 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1155 |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1156 <dc:macro name="filter_hws_ddg"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1157 <dc:macro name="durchlass_damm_graben"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1158 <dc:macro name="ddg_factory"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1159 <dc:for-each> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1160 <hws factory="hwsfactory" name="{$hws_name}"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1161 </dc:for-each> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1162 </dc:macro> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1163 |
5605
6372fd8bfb00
It's hws_kind not kws_kind
Andre Heinecke <aheinecke@intevation.de>
parents:
5598
diff
changeset
|
1164 <dc:filter expr="$hws_kind=1"> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1165 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1166 <Durchlass><dc:call-macro name="ddg_factory"/></Durchlass> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1167 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1168 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1169 |
5605
6372fd8bfb00
It's hws_kind not kws_kind
Andre Heinecke <aheinecke@intevation.de>
parents:
5598
diff
changeset
|
1170 <dc:filter expr="$hws_kind=2"> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1171 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1172 <Damm><dc:call-macro name="ddg_factory"/></Damm> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1173 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1174 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1175 |
5605
6372fd8bfb00
It's hws_kind not kws_kind
Andre Heinecke <aheinecke@intevation.de>
parents:
5598
diff
changeset
|
1176 <dc:filter expr="$hws_kind=3"> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1177 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1178 <Graben><dc:call-macro name="ddg_factory"/></Graben> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1179 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1180 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1181 </dc:macro> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1182 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1183 <dc:filter expr="$hws_official=1"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1184 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1185 <official> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1186 <dc:call-macro name="durchlass_damm_graben"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1187 </official> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1188 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1189 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1190 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1191 <dc:filter expr="$hws_official=0"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1192 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1193 <inofficial> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1194 <dc:call-macro name="durchlass_damm_graben"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1195 </inofficial> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1196 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1197 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1198 </dc:macro> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1199 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1200 <dc:macro name="flood-map-hws-lines"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1201 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1202 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1203 SELECT DISTINCT |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1204 name AS hws_name, |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1205 official AS hws_official, |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1206 kind_id AS hws_kind |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1207 FROM hws_lines |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1208 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1209 </dc:statement> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1210 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1211 <lines> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1212 <dc:call-macro name="filter_hws_ddg"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1213 </lines> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1214 </dc:if> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1215 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1216 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1217 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1218 <dc:macro name="flood-map-hws-points"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1219 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1220 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1221 SELECT DISTINCT |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1222 name AS hws_name, |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1223 official AS hws_official, |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1224 kind_id AS hws_kind |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1225 FROM hws_points |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1226 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1227 </dc:statement> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1228 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1229 <points> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1230 <dc:call-macro name="filter_hws_ddg"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1231 </points> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1232 </dc:if> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1233 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1234 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1235 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1236 <dc:macro name="flood-map-km"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1237 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1238 <dc:statement> |
5548
9840c2e65e28
Fix distinction for kilometrage.
Andre Heinecke <aheinecke@intevation.de>
parents:
5547
diff
changeset
|
1239 SELECT DISTINCT 1 FROM river_axes_km WHERE river_id = ${river_id} |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1240 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1241 <dc:for-each> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1242 <kilometrage factory="wmskmfactory" ids="{$river_id}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1243 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1244 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1245 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1246 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1247 <dc:macro name="flood-map-qps"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1248 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1249 <dc:comment>Grab only the actual first</dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1250 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1251 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1252 cs.kind_id AS kind_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1253 ck.name AS kind_name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1254 FROM cross_section_tracks cs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1255 JOIN cross_section_track_kinds ck on cs.kind_id = ck.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1256 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1257 AND kind_id=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1258 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1259 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1260 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1261 <actual description="{$kind_name}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1262 factory="wmsqpsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1263 ids="{$river_id};{$kind_name};{$kind_id}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1264 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1265 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1266 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1267 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1268 <dc:comment>Now the other tracks</dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1269 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1270 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1271 cs.kind_id AS kind_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1272 ck.name AS kind_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1273 cs.name AS layer_name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1274 FROM cross_section_tracks cs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1275 JOIN cross_section_track_kinds ck on cs.kind_id = ck.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1276 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1277 AND kind_id=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1278 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1279 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1280 <other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1281 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1282 <misc-qps description="{$layer_name}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1283 factory="wmsqpsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1284 ids="{$river_id};{$layer_name};{$kind_id}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1285 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1286 </other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1287 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1288 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1289 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1290 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1291 <dc:macro name="flood-map-riveraxis"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1292 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1293 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1294 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1295 ax.kind_id AS kind_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1296 ak.name AS kind_name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1297 FROM river_axes ax |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1298 JOIN axis_kinds ak on ax.kind_id = ak.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1299 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1300 AND kind_id=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1301 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1302 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1303 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1304 <actual description="{$kind_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1305 ids="{$river_id};{$kind_name};{$kind_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1306 factory="riveraxis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1307 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1308 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1309 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1310 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1311 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1312 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1313 ak.name AS kind_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1314 ax.kind_id AS kind_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1315 ax.name AS layer_name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1316 FROM river_axes ax |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1317 JOIN axis_kinds ak on ax.kind_id = ak.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1318 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1319 AND kind_id <> 1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1320 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1321 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1322 <other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1323 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1324 <misc-axis description="{$layer_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1325 ids="{$river_id};{$layer_name};{$kind_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1326 factory="riveraxis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1327 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1328 </other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1329 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1330 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1331 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1332 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1333 <dc:macro name="flood-map-hydr-boundaries-state"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1334 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1335 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1336 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1337 name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1338 FROM hydr_boundaries |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1339 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1340 AND kind = 2 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1341 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1342 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1343 <line factory="wmshydrboundariesfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1344 ids="{$river_id};{$name};2:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1345 name="{$name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1346 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1347 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1348 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1349 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1350 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1351 name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1352 FROM hydr_boundaries_poly |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1353 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1354 AND kind = 2 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1355 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1356 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1357 <line factory="wmshydrboundariespolyfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1358 ids="{$river_id};{$name};2:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1359 name="{$name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1360 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1361 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1362 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1363 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1364 <dc:macro name="flood-map-hydr-boundaries-lines"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1365 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1366 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1367 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1368 name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1369 FROM hydr_boundaries |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1370 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1371 AND kind = 1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1372 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1373 <dc:comment> What about all other line kinds?</dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1374 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1375 <lines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1376 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1377 <line factory="wmshydrboundariesfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1378 ids="{$river_id};{$name};1:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1379 name="{$name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1380 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1381 </lines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1382 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1383 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1384 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1385 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1386 <dc:macro name="flood-map-hydr-boundaries-poly"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1387 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1388 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1389 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1390 b.sectie AS sectie_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1391 sk.name AS sectie |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1392 FROM hydr_boundaries_poly b |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1393 JOIN sectie_kinds sk ON b.sectie = sk.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1394 WHERE b.river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1395 AND b.kind = 1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1396 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1397 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1398 <sobek_areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1399 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1400 <boundary name="{$sectie}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1401 factory="wmshydrboundariespolyfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1402 ids="{$river_id};{$sectie};1;{$sectie_id};-1:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1403 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1404 </sobek_areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1405 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1406 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1407 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1408 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1409 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1410 b.sobek AS sobek_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1411 sk.name AS sobek |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1412 FROM hydr_boundaries_poly b |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1413 JOIN sobek_kinds sk ON b.sobek = sk.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1414 WHERE b.river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1415 AND b.kind = 1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1416 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1417 <dc:if test="dc:has-result()"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1418 <sobek_flooded> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1419 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1420 <boundary name="{$sobek}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1421 factory="wmshydrboundariespolyfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1422 ids="{$river_id};{$sobek};1;-1;{$sobek_id}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1423 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1424 </sobek_flooded> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1425 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1426 </dc:context> |
5760
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1427 <dc:context> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1428 <dc:statement> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1429 SELECT DISTINCT |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1430 b.name AS name |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1431 FROM hydr_boundaries_poly b |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1432 WHERE b.river_id = ${river_id} |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1433 AND b.kind = 1 |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1434 AND b.sobek IS NULL |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1435 AND b.sectie is NULL |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1436 </dc:statement> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1437 <dc:for-each> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1438 <boundary name="{$name}" |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1439 factory="wmshydrboundariespolyfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1440 ids="{$river_id};{$name}:OUT={$OUT}"/> |
5760
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1441 </dc:for-each> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1442 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1443 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1444 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1445 <dc:macro name="flood-map-hydr-boundaries"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1446 <bfg_model> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1447 <areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1448 <dc:call-macro name="flood-map-hydr-boundaries-poly"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1449 </areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1450 <dc:call-macro name="flood-map-hydr-boundaries-lines"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1451 </bfg_model> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1452 <federal> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1453 <dc:call-macro name="flood-map-hydr-boundaries-state"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1454 </federal> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1455 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1456 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1457 <dc:macro name="flood-map-floodplain"> |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1458 <floodplain> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1459 <dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1460 <dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1461 SELECT DISTINCT |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1462 fp.kind_id AS kind_id, |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1463 flk.name AS kind_name |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1464 FROM floodplain fp |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1465 JOIN floodplain_kinds flk on fp.kind_id = flk.id |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1466 WHERE river_id = ${river_id} |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1467 AND kind_id=1 |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1468 </dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1469 <dc:if test="dc:has-result()"> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1470 <dc:for-each> |
5496
23d8f2700b38
Add support for multiple floodplains and add them to the datacage accordingly
Andre Heinecke <aheinecke@intevation.de>
parents:
5477
diff
changeset
|
1471 <floody factory="wmsfloodplainfactory" |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1472 description="{$kind_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1473 ids="{$river_id};{$kind_name};{$kind_id}:OUT={$OUT}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1474 </dc:for-each> |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1475 </dc:if> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1476 </dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1477 <dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1478 <dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1479 SELECT DISTINCT |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1480 flk.name AS kind_name, |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1481 fp.kind_id AS kind_id, |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1482 fp.name AS layer_name |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1483 FROM floodplain fp |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1484 JOIN floodplain_kinds flk on fp.kind_id = flk.id |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1485 WHERE river_id = ${river_id} |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1486 AND kind_id <> 1 |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1487 </dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1488 <dc:if test="dc:has-result()"> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1489 <other> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1490 <dc:for-each> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1491 <floody factory="wmsfloodplainfactory" |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1492 description="{$layer_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1493 ids="{$river_id};{$layer_name};{$kind_id}:OUT={$OUT}"/> |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1494 </dc:for-each> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1495 </other> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1496 </dc:if> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1497 </dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1498 </floodplain> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1499 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1500 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1501 <dc:macro name="hwslines_by_kind"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1502 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1503 Call from a context where fed_name hws_kind hws_name and river_id is |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1504 availble |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1505 </dc:comment> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1506 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1507 <dc:macro name="hwslines_by_kind_factory"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1508 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1509 <hws factory="wmshwslinesfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1510 ids="{$river_id};{$hws_name}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1511 name="{$hws_name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1512 </dc:for-each> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1513 </dc:macro> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1514 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1515 <dc:filter expr="$hws_kind=1"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1516 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1517 <Durchlass> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1518 <dc:call-macro name="hwslines_by_kind_factory"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1519 </Durchlass> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1520 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1521 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1522 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1523 <dc:filter expr="$hws_kind=2"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1524 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1525 <Damm> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1526 <dc:call-macro name="hwslines_by_kind_factory"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1527 </Damm> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1528 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1529 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1530 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1531 <dc:filter expr="$hws_kind=3"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1532 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1533 <Graben> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1534 <dc:call-macro name="hwslines_by_kind_factory"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1535 </Graben> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1536 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1537 </dc:filter> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1538 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1539 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1540 <dc:macro name="hwslines"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1541 <hws_lines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1542 <official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1543 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1544 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1545 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1546 fs.name AS fed_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1547 fs.id AS fed_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1548 FROM hws_lines hws |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1549 JOIN fed_states fs ON hws.fed_state_id = fs.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1550 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1551 AND hws.official=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1552 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1553 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1554 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1555 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1556 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1557 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1558 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1559 FROM hws_lines |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1560 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1561 AND official=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1562 AND fed_state_id = ${fed_id} ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1563 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1564 <fedstate description="{$fed_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1565 <dc:call-macro name="hwslines_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1566 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1567 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1568 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1569 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1570 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1571 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1572 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1573 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1574 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1575 FROM hws_lines |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1576 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1577 AND official=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1578 AND fed_state_id IS NULL |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1579 ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1580 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1581 <hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1582 <dc:call-macro name="hwslines_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1583 </hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1584 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1585 </official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1586 <inofficial> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1587 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1588 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1589 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1590 fs.name AS fed_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1591 fs.id AS fed_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1592 FROM hws_lines hws |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1593 JOIN fed_states fs ON hws.fed_state_id = fs.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1594 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1595 AND hws.official=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1596 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1597 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1598 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1599 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1600 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1601 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1602 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1603 FROM hws_lines |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1604 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1605 AND official=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1606 AND fed_state_id = ${fed_id} ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1607 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1608 <fedstate description="{$fed_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1609 <dc:call-macro name="hwslines_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1610 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1611 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1612 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1613 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1614 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1615 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1616 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1617 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1618 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1619 FROM hws_lines |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1620 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1621 AND official=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1622 AND fed_state_id IS NULL ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1623 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1624 <hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1625 <dc:call-macro name="hwslines_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1626 </hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1627 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1628 </inofficial> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1629 </hws_lines> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1630 </dc:macro> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1631 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1632 <dc:macro name="hwspoints_by_kind"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1633 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1634 Call from a context where fed_name hws_kind hws_name and river_id is |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1635 availble |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1636 </dc:comment> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1637 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1638 <dc:macro name="hwspoints_by_kind_factory"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1639 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1640 <hws factory="wmshwspointsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1641 ids="{$river_id};{$hws_name}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1642 name="{$hws_name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1643 </dc:for-each> |
5524
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1644 </dc:macro> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1645 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1646 <dc:filter expr="$hws_kind=1"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1647 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1648 <Durchlass> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1649 <dc:call-macro name="hwspoints_by_kind_factory"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1650 </Durchlass> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1651 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1652 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1653 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1654 <dc:filter expr="$hws_kind=2"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1655 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1656 <Damm> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1657 <dc:call-macro name="hwspoints_by_kind_factory"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1658 </Damm> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1659 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1660 </dc:filter> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1661 |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1662 <dc:filter expr="$hws_kind=3"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1663 <dc:if test="dc:has-result()"> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1664 <Graben> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1665 <dc:call-macro name="hwspoints_by_kind_factory"/> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1666 </Graben> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1667 </dc:if> |
3badc699af0e
Replaced usage of old <dc:for-each filter="..."/> by <dc:filter expr="..."><dc:if test="dc:has-result()">.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5523
diff
changeset
|
1668 </dc:filter> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1669 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1670 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1671 <dc:macro name="hwspoints"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1672 <hws_points> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1673 <official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1674 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1675 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1676 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1677 fs.name AS fed_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1678 fs.id AS fed_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1679 FROM hws_points hws |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1680 JOIN fed_states fs ON hws.fed_state_id = fs.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1681 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1682 AND hws.official=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1683 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1684 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1685 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1686 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1687 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1688 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1689 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1690 FROM hws_points |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1691 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1692 AND official=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1693 AND fed_state_id = ${fed_id} ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1694 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1695 <fedstate description="{$fed_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1696 <dc:call-macro name="hwspoints_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1697 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1698 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1699 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1700 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1701 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1702 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1703 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1704 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1705 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1706 FROM hws_points |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1707 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1708 AND official=1 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1709 AND fed_state_id IS NULL |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1710 ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1711 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1712 <hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1713 <dc:call-macro name="hwspoints_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1714 </hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1715 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1716 </official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1717 <inofficial> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1718 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1719 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1720 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1721 fs.name AS fed_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1722 fs.id AS fed_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1723 FROM hws_points hws |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1724 JOIN fed_states fs ON hws.fed_state_id = fs.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1725 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1726 AND hws.official=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1727 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1728 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1729 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1730 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1731 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1732 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1733 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1734 FROM hws_points |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1735 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1736 AND official=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1737 AND fed_state_id = ${fed_id} ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1738 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1739 <fedstate description="{$fed_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1740 <dc:call-macro name="hwspoints_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1741 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1742 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1743 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1744 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1745 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1746 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1747 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1748 name AS hws_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1749 kind_id AS hws_kind |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1750 FROM hws_points |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1751 WHERE river_id = ${river_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1752 AND official=0 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1753 AND fed_state_id IS NULL ORDER BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1754 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1755 <hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1756 <dc:call-macro name="hwspoints_by_kind"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1757 </hws_fed_unknown> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1758 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1759 </inofficial> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1760 </hws_points> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1761 </dc:macro> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1762 |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1763 <dc:macro name="flood-map-buildings"> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1764 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1765 <dc:statement> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1766 SELECT DISTINCT |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1767 b.kind_id AS building_kind_id, |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1768 bk.name AS building_kind |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1769 FROM buildings b |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1770 JOIN building_kinds bk ON b.kind_id = bk.id |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1771 WHERE b.river_id = ${river_id} |
5467
6aa04b30f7ff
Do not use != in sql statement
Andre Heinecke <aheinecke@intevation.de>
parents:
5466
diff
changeset
|
1772 AND b.kind_id <> 0 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1773 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1774 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1775 <buildings description="{$building_kind}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1776 factory="wmsbuildingsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1777 ids="{$river_id};{$building_kind};{$building_kind_id}:OUT={$OUT}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1778 </dc:for-each> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1779 </dc:context> |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1780 <dc:context> |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1781 <dc:statement> |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1782 SELECT DISTINCT |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1783 b.name AS building_name, |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1784 bk.name AS building_kind, |
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1785 b.kind_id AS building_kind_id |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1786 FROM buildings b |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1787 JOIN building_kinds bk ON b.kind_id = bk.id |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1788 WHERE river_id = ${river_id} |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1789 AND kind_id = 0 |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1790 </dc:statement> |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1791 <dc:if test="dc:has-result()"> |
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1792 <other> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1793 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1794 <buildings description="{$building_name}" |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1795 factory="wmsbuildingsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1796 ids="{$river_id};{$building_name}:OUT={$OUT}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1797 </dc:for-each> |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1798 </other> |
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1799 </dc:if> |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1800 </dc:context> |
5437
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1801 <dc:context> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1802 <dc:statement> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1803 SELECT DISTINCT |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1804 j.kind_id AS jetty_kind_id, |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1805 jk.name AS jetty_kind |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1806 FROM jetties j |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1807 JOIN jetty_kinds jk ON j.kind_id = jk.id |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1808 WHERE river_id = ${river_id} |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1809 </dc:statement> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1810 <dc:if test="dc:has-result()"> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1811 <jetties> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1812 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1813 <jetty description="{$jetty_kind}" |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1814 factory="wmsjettiesfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1815 ids="{$river_id};{$jetty_kind};{$jetty_kind_id}:OUT={$OUT}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
1816 </dc:for-each> |
5437
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1817 </jetties> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1818 </dc:if> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1819 </dc:context> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1820 </dc:macro> |
5464
f2bcf0fb1efd
Add externalwms for Catchments to datacage config
Andre Heinecke <aheinecke@intevation.de>
parents:
5463
diff
changeset
|
1821 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1822 <dc:macro name="flood-map-fixpoints"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1823 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1824 <dc:statement> |
5533
65fa2b22dc46
Remove useless km_exists statements
Andre Heinecke <aheinecke@intevation.de>
parents:
5529
diff
changeset
|
1825 SELECT name AS name |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1826 FROM fixpoints WHERE river_id = ${river_id} GROUP BY name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1827 </dc:statement> |
5533
65fa2b22dc46
Remove useless km_exists statements
Andre Heinecke <aheinecke@intevation.de>
parents:
5529
diff
changeset
|
1828 <dc:for-each> |
5614
15476d76b6f9
Remove uneccessary complication fixpoints are always fixpoints
Andre Heinecke <aheinecke@intevation.de>
parents:
5613
diff
changeset
|
1829 <fixpoints factory="wmsfixpointsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1830 ids="{$river_id};{$name}:OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1831 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1832 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1833 </dc:macro> |
5466
ba1bf40a9787
Restructure datacage to have a route_data folder
Andre Heinecke <aheinecke@intevation.de>
parents:
5464
diff
changeset
|
1834 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1835 <dc:macro name="flood-map-gaugelocations"> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1836 <gauge_points factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelpunkte (WSV):OUT={$OUT}"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1837 <gauge_names factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelnamen;Pegelnamen (WSV):OUT={$OUT}"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1838 <gauge_level factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelwasserstand;Aktueller Wasserstand (WSV):OUT={$OUT}"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1839 <gauge_tendency factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;TendenzWasserstand;Tendenz des Wasserstands (WSV):OUT={$OUT}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1840 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1841 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1842 <dc:macro name="flood-map-uesk"> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1843 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1844 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1845 SELECT DISTINCT 1 from floodmaps where river_id = ${river_id} |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1846 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1847 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1848 <uesk> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1849 <calculations> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1850 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1851 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1852 SELECT DISTINCT 1 from floodmaps where river_id = ${river_id} |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1853 AND (kind = 112 OR kind = 111) |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1854 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1855 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1856 <current> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1857 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1858 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1859 SELECT DISTINCT name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1860 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1861 WHERE river_id = ${river_id} AND kind = 111 |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1862 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1863 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1864 <bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1865 <dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1866 <floodmaps factory="wmsfloodmapsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1867 ids="{$river_id};{$name}:OUT={$OUT}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1868 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1869 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1870 </bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1871 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1872 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1873 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1874 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1875 SELECT DISTINCT name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1876 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1877 WHERE river_id = ${river_id} AND kind = 112 |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1878 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1879 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1880 <federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1881 <dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1882 <floodmaps factory="wmsfloodmapsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1883 ids="{$river_id};{$name}:OUT={$OUT}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1884 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1885 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1886 </federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1887 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1888 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1889 </current> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1890 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1891 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1892 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1893 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1894 SELECT DISTINCT 1 from floodmaps where river_id = ${river_id} |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1895 AND (kind = 122 OR kind = 121) |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1896 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1897 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1898 <potential> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1899 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1900 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1901 SELECT DISTINCT name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1902 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1903 WHERE river_id = ${river_id} AND kind = 121 |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1904 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1905 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1906 <bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1907 <dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1908 <floodmaps factory="wmsfloodmapsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1909 ids="{$river_id};{$name}:OUT={$OUT}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1910 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1911 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1912 </bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1913 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1914 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1915 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1916 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1917 SELECT DISTINCT |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1918 name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1919 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1920 WHERE river_id = ${river_id} AND kind = 122 |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1921 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1922 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1923 <federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1924 <dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1925 <floodmaps factory="wmsfloodmapsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1926 ids="{$river_id};{$name}:OUT={$OUT}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1927 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1928 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1929 </federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1930 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1931 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1932 </potential> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1933 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1934 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1935 </calculations> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1936 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1937 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1938 SELECT DISTINCT |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1939 source AS source |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1940 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1941 WHERE river_id = ${river_id} AND kind = 200 |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1942 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1943 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1944 <measurements> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1945 <dc:for-each> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1946 <year name="{$source}"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1947 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1948 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1949 SELECT DISTINCT |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1950 name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1951 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1952 WHERE river_id = ${river_id} AND kind = 200 AND source = |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1953 ${source} |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1954 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1955 <dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1956 <floodmaps factory="wmsfloodmapsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1957 ids="{$river_id};{$name}:OUT={$OUT}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1958 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1959 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1960 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1961 </year> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1962 </dc:for-each> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1963 </measurements> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1964 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1965 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1966 </uesk> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1967 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1968 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1969 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1970 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1971 <dc:macro name="flood-map-routing"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1972 <qps> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1973 <dc:call-macro name="flood-map-qps"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1974 </qps> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1975 <dc:call-macro name="flood-map-fixpoints"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1976 <dc:call-macro name="flood-map-km"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1977 <axis> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1978 <dc:call-macro name="flood-map-riveraxis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1979 </axis> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1980 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1981 |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1982 <dc:macro name="floodmarks"> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1983 <dc:context> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1984 <dc:statement> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1985 SELECT DISTINCT |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1986 coalesce(CAST (year AS VARCHAR(64)), 'Unbekanntes Jahr') as year |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1987 FROM flood_marks |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1988 WHERE river_id = ${river_id} |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1989 </dc:statement> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1990 <dc:if test="dc:has-result()"> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1991 <floodmarks> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1992 <dc:for-each> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1993 <floodmark name="{$year}" |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1994 factory="wmsfloodmarkfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1995 ids="{$river_id};{$year};{$year}:OUT={$OUT}"/> |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1996 </dc:for-each> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1997 </floodmarks> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1998 </dc:if> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1999 </dc:context> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2000 </dc:macro> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2001 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2002 <dc:macro name="flood-map-complete"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2003 <buildings> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2004 <dc:call-macro name="flood-map-buildings"/> |
5761
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2005 </buildings> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2006 <catchments> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2007 <catchment_wms factory="externalwmsfactory" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2008 ids="http://geoportal.bafg.de/wmsproxy/INSPIRE/DrainageBasin;HY.PHYSICALWATERS.CATCHMENTS;Einzugsgebiete (WMS):OUT={$OUT}" /> |
5761
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2009 <gaugelocations> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2010 <dc:call-macro name="flood-map-gaugelocations"/> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2011 </gaugelocations> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
2012 </catchments> |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
2013 <dc:call-macro name="floodmarks"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2014 <hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2015 <dc:call-macro name="hwslines"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2016 <dc:call-macro name="hwspoints"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2017 </hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2018 <route_data> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2019 <dc:call-macro name="flood-map-routing"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2020 </route_data> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2021 <hydrboundaries> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2022 <dc:call-macro name="flood-map-floodplain"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2023 <dc:call-macro name="flood-map-hydr-boundaries"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2024 </hydrboundaries> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2025 <dc:call-macro name="flood-map-uesk"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2026 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2027 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2028 </dc:if> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2029 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2030 <dc:macro name="bed-heights-single"> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2031 <single> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2032 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2033 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2034 SELECT id AS bedh_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2035 year AS bedh_year, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2036 description AS bedh_descr |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2037 FROM bed_height_single WHERE river_id = ${river_id} |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2038 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2039 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2040 <height factory="bedheight" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2041 ids="bedheight-single-{$bedh_id}-{$bedh_year}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2042 description="{$bedh_descr}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2043 </dc:for-each> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2044 </dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2045 </single> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2046 </dc:macro> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2047 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2048 <dc:macro name="bed-heights-epoch"> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2049 <epoch> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2050 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2051 <dc:statement> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2052 SELECT id AS bedh_id, |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2053 time_interval_id AS bedh_interval_id, |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2054 description AS bedh_descr |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2055 FROM bed_height_epoch WHERE river_id = ${river_id} |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2056 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2057 <dc:for-each> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2058 <height factory="bedheight" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2059 ids="bedheight-epoch-{$bedh_id}-{$bedh_interval_id}:OUT={$OUT}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2060 description="{$bedh_descr}"/> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2061 </dc:for-each> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2062 </dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2063 </epoch> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
2064 </dc:macro> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2065 |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2066 </dc:for-each> |
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
|
2067 </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
|
2068 </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
|
2069 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2070 <dc:choose> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2071 <dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2072 User specific part |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2073 ------------------ |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
2074 </dc:comment> |
5598
989c0d196bfe
Do not show old calculations in hws datacage selection
Andre Heinecke <aheinecke@intevation.de>
parents:
5597
diff
changeset
|
2075 <dc:when test="dc:contains($parameters, 'user-id') and |
989c0d196bfe
Do not show old calculations in hws datacage selection
Andre Heinecke <aheinecke@intevation.de>
parents:
5597
diff
changeset
|
2076 not(dc:contains($artifact-outs, 'floodmap-hws'))"> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2077 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2078 <old_calculations> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2079 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2080 <dc:comment><!-- <dc:macro name="load-user">--></dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2081 <dc:call-macro name="user-range"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2082 <dc:context connection="user"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2083 <dc:comment> Get the user and collection-id. </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2084 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2085 SELECT u.id AS user_id, c.id AS collection_id, c.name AS collection_name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2086 FROM collections c JOIN users u ON c.user_id = u.id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2087 WHERE u.gid = CAST(${user-id} AS uuid) |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2088 ORDER BY c.creation DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2089 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2090 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2091 <dc:macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2092 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2093 SELECT m.id AS a_id, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2094 m.state AS a_state, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2095 m.gid AS a_gid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2096 m.creation AS a_creation, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2097 COALESCE(ld_mode, '') AS ld_m, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2098 COALESCE(ld_locations, '') AS ld_l, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2099 COALESCE(ld_from, '') AS ld_f, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2100 COALESCE(ld_to, '') AS ld_t |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2101 FROM master_artifacts_range m |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2102 WHERE m.collection_id = ${collection_id} AND m.gid <> CAST(${artifact-id} AS uuid) |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2103 AND EXISTS ( |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2104 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river}) |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2105 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2106 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2107 <dc:variable name="from" type="number" expr="dc:fromValue($ld_m, $ld_l, $ld_f)"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2108 <dc:variable name="to" type="number" expr="dc:toValue($ld_m, $ld_l, $ld_t)"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2109 <dc:if test="($from >= $fromkm and $from <= $tokm) or ($to <= $tokm and $to >= $fromkm) or ($from <= $fromkm and $to >= $tokm)"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2110 <dc:macro-body/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2111 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2112 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2113 </dc:macro> |
5670 | 2114 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2115 <!-- OFFICIAL LINES --> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2116 <dc:macro name="officiallines_user"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2117 <dc:comment comment=".wst -------------------------------"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2118 <officiallines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2119 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2120 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2121 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2122 SELECT m.id AS a_id, |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2123 m.state AS a_state, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2124 m.gid AS a_gid, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2125 m.creation AS a_creation, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2126 ardg.v AS gaugy, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2127 arv.v AS wqsingle |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2128 FROM master_artifacts m, |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2129 artifact_data ardg, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2130 artifact_data arv |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2131 WHERE m.collection_id = ${collection_id} |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2132 AND m.gid = CAST(${artifact-id} AS uuid) |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2133 AND ardg.artifact_id = m.id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2134 AND ardg.k = 'ld_gaugename' |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2135 AND arv.artifact_id = m.id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2136 AND arv.k = 'wq_single' |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2137 AND EXISTS ( |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2138 SELECT id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2139 FROM artifact_data ad |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2140 WHERE ad.artifact_id = m.id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2141 AND k = 'river' |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2142 AND v = ${river}) |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2143 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2144 <dc:for-each> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2145 <dc:context connection="system"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2146 <dc:statement> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2147 SELECT ol.wst_id AS wstid, ol.wst_column_pos AS wstcolpos, ol.name AS olname, ol.value AS oval |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2148 FROM official_q_values ol |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2149 WHERE ol.value = CAST(${wqsingle} AS NUMERIC(10,2)) AND ol.gauge_name = ${gaugy} |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2150 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2151 <dc:for-each> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2152 <dc:element name="${olname}"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2153 <dc:attribute name="name" value="${olname}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2154 <dc:attribute name="ids" value="additionals-wstv-${wstcolpos}-${wstid}:OUT=${out}"/> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2155 <dc:attribute name="factory" value="staticwkms"/> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2156 </dc:element> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2157 </dc:for-each> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
2158 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2159 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2160 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2161 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2162 </officiallines> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2163 </dc:macro> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2164 <!-- END OFFICIAL LINES --> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2165 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2166 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2167 SHOW W-DIFFERENCES |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2168 </dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2169 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2170 <dc:macro name="differences"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2171 <differences> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2172 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2173 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2174 <dc:call-macro name="range-filter"> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2175 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2176 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2177 SELECT a.gid AS aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2178 FROM outs AS o, facets AS f, artifacts AS a |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2179 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
|
2180 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2181 <dc:for-each> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2182 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2183 <dc:attribute name="description" value="${facet_description}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2184 <dc:attribute name="factory" value="winfo"/> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2185 <dc:attribute name="artifact-id" value="${aid}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2186 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2187 <dc:attribute name="out" value="w_differences"/> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2188 </dc:element> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2189 </dc:for-each> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2190 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2191 </dc:call-macro> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2192 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2193 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2194 </differences> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2195 </dc:macro> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2196 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2197 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2198 SHOW REFERENCE CURVE |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2199 </dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2200 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2201 <dc:macro name="reference-curves"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2202 <reference_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2203 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2204 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2205 <dc:call-macro name="user-range"> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2206 <dc:context> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2207 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2208 SELECT a.gid AS aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2209 FROM outs AS o, facets AS f, artifacts AS a |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2210 WHERE f.name = 'reference_curve' and f.out_id = o.id and o.artifact_id = ${a_id} and a.id = ${a_id} |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2211 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2212 <dc:for-each> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2213 <dc:element name="${facet_name}"> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2214 <dc:attribute name="description" value="${facet_description}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2215 <dc:attribute name="factory" value="winfo"/> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2216 <dc:attribute name="artifact-id" value="${aid}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2217 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2218 <dc:attribute name="out" value="reference_curve"/> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2219 </dc:element> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2220 </dc:for-each> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2221 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2222 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2223 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2224 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2225 </reference_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2226 </dc:macro> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2227 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2228 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2229 SHOW COMPUTED DISCHARGE CURVES |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2230 </dc:comment> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2231 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2232 <dc:macro name="computed-discharge-curve"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2233 <computed_discharge_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2234 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2235 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2236 <dc:call-macro name="range-filter"> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2237 <dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2238 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2239 SELECT a.gid AS aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2240 FROM outs AS o, facets AS f, artifacts AS a |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2241 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
|
2242 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2243 <dc:for-each> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2244 <dc:element name="${facet_name}"> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2245 <dc:attribute name="description" value="${facet_description}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2246 <dc:attribute name="factory" value="winfo"/> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2247 <dc:attribute name="artifact-id" value="${aid}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2248 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2249 <dc:attribute name="out" value="computed_discharge_curve"/> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2250 </dc:element> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2251 </dc:for-each> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2252 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2253 </dc:call-macro> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
2254 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2255 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2256 </computed_discharge_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2257 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2258 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2259 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2260 CROSS SECTION |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2261 </dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2262 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2263 <dc:macro name="waterlevels"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2264 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2265 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2266 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2267 <dc:call-macro name="range-filter"> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2268 <dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2269 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2270 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2271 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2272 WHERE artifact_id = ${a_id} AND name = 'cross_section' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2273 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2274 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2275 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2276 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2277 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2278 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2279 WHERE out_id = ${out_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2280 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2281 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2282 <longitudinal_section_columns description="{$river} {$a_creation}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2283 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2284 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2285 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2286 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2287 <dc:attribute name="factory" value="winfo"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2288 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2289 <dc:attribute name="out" value="cross_section"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2290 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2291 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2292 </longitudinal_section_columns> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2293 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2294 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2295 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2296 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2297 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2298 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2299 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2300 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2301 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2302 <dc:macro name="longitudinal"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2303 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2304 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2305 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2306 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2307 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2308 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2309 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2310 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2311 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2312 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2313 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2314 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2315 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2316 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2317 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2318 WHERE out_id = ${out_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2319 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2320 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2321 <longitudinal_section_columns description="{$river} {$a_creation}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2322 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2323 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2324 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2325 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2326 <dc:attribute name="factory" value="winfo"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2327 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2328 <dc:attribute name="out" value="longitudinal_section"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2329 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2330 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2331 </longitudinal_section_columns> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2332 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2333 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2334 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2335 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2336 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2337 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2338 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2339 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2340 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2341 <dc:macro name="longitudinal-section"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2342 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2343 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2344 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2345 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2346 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2347 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2348 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2349 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2350 WHERE artifact_id = ${a_id} AND name = 'fix_longitudinal_section_curve' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2351 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2352 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2353 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2354 <dc:comment><!-- average und deviation ls_0 . ls_1 ...--></dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2355 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2356 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2357 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2358 WHERE out_id = ${out_id} AND ( |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2359 name LIKE 'fix_deviation_ls%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2360 name LIKE 'fix_sector_average_ls%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2361 name LIKE 'fix_analysis_events_ls%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2362 name LIKE 'fix_reference_events_ls%' ) |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2363 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2364 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2365 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2366 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2367 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2368 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2369 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2370 <dc:attribute name="factory" value="fixanalysis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2371 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2372 <dc:attribute name="out" value="fix_longitudinal_section_curve"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2373 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2374 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2375 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2376 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2377 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2378 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2379 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2380 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2381 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2382 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2383 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2384 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2385 <dc:macro name="delta-wt"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2386 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2387 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2388 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2389 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2390 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2391 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2392 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2393 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2394 WHERE artifact_id = ${a_id} AND name = 'fix_deltawt_curve' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2395 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2396 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2397 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2398 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2399 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2400 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2401 WHERE out_id = ${out_id} and ( |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2402 name LIKE 'fix_sector_average_dwt%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2403 name LIKE 'fix_deviation_dwt%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2404 name = 'fix_analysis_events_dwt' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2405 name = 'fix_reference_events_dwt' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2406 name = 'fix_analysis_periods_dwt' ) |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2407 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2408 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2409 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2410 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2411 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2412 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2413 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2414 <dc:attribute name="factory" value="fixanalysis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2415 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2416 <dc:attribute name="out" value="fix_deltawt_curve"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2417 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2418 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2419 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2420 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2421 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2422 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2423 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2424 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2425 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2426 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2427 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2428 |
5758
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2429 <dc:macro name="delta-wt-ls"> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2430 <waterlevels> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2431 <dc:for-each> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2432 <dc:context> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2433 <dc:call-macro name="range-filter"> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2434 <dc:context> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2435 <dc:statement> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2436 SELECT id AS out_id |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2437 FROM outs |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2438 WHERE artifact_id = ${a_id} AND name = 'fix_deltawt_curve' |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2439 </dc:statement> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2440 <dc:for-each> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2441 <dc:context> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2442 <dc:statement> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2443 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2444 FROM facets |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2445 WHERE out_id = ${out_id} and ( |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2446 name LIKE 'fix_sector_average_dwt%' OR |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2447 name LIKE 'fix_deviation_dwt%') |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2448 ORDER BY num ASC, name DESC |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2449 </dc:statement> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2450 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2451 <dc:for-each> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2452 <dc:element name="${facet_name}"> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2453 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2454 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5758
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2455 <dc:attribute name="factory" value="fixanalysis"/> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2456 <dc:attribute name="artifact-id" value="${a_gid}"/> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2457 <dc:attribute name="out" value="fix_deltawt_curve"/> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2458 </dc:element> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2459 </dc:for-each> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2460 </waterlevels> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2461 </dc:context> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2462 </dc:for-each> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2463 </dc:context> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2464 </dc:call-macro> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2465 </dc:context> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2466 </dc:for-each> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2467 </waterlevels> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2468 </dc:macro> |
c59ba0eade8e
Added new macro for deltaW ls and removed the old one. Use the new macro in bed
Raimund Renkert <rrenkert@intevation.de>
parents:
5746
diff
changeset
|
2469 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2470 <dc:macro name="fix-derivate-curve"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2471 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2472 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2473 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2474 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2475 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2476 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2477 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2478 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2479 WHERE artifact_id = ${a_id} AND name = 'fix_derivate_curve' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2480 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2481 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2482 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2483 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2484 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2485 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2486 WHERE out_id = ${out_id} and name = 'fix_derivate_curve' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2487 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2488 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2489 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2490 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2491 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2492 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2493 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2494 <dc:attribute name="factory" value="fixanalysis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2495 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2496 <dc:attribute name="out" value="fix_derivate_curve"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2497 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2498 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2499 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2500 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2501 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2502 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2503 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2504 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2505 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2506 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2507 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2508 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2509 <dc:macro name="fix-wq-curve"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2510 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2511 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2512 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2513 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2514 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2515 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2516 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2517 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2518 WHERE artifact_id = ${a_id} AND name = 'fix_wq_curve' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2519 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2520 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2521 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2522 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2523 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2524 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2525 WHERE out_id = ${out_id} and ( |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2526 name LIKE 'fix_sector_average_wq%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2527 name = 'fix_wq_curve' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2528 name LIKE 'fix_analysis_events_wq%' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2529 name LIKE 'fix_reference_events_wq%' ) |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2530 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2531 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2532 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2533 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2534 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2535 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2536 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2537 <dc:attribute name="factory" value="fixanalysis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2538 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2539 <dc:attribute name="out" value="fix_wq_curve"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2540 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2541 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2542 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2543 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2544 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2545 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2546 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2547 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2548 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2549 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2550 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2551 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2552 <dc:macro name="duration-curve"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2553 <computed_discharge_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2554 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2555 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2556 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2557 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2558 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2559 SELECT a.gid AS aid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2560 f.id AS fid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2561 f.name AS facet_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2562 f.num AS facet_num, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2563 f.description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2564 FROM outs AS o, facets AS f, artifacts AS a |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2565 WHERE |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2566 (f.name = 'duration_curve.q' OR f.name = 'duration_curve.w') AND |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2567 f.out_id = o.id AND |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2568 o.artifact_id = ${a_id} AND |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2569 a.id = ${a_id} |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2570 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2571 <dc:for-each> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2572 <dc:element name="${facet_name}"> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2573 <dc:attribute name="description" value="${facet_description}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2574 <dc:attribute name="factory" value="winfo"/> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2575 <dc:attribute name="artifact-id" value="${aid}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2576 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2577 <dc:attribute name="out" value="duration_curve"/> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2578 </dc:element> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2579 </dc:for-each> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2580 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2581 </dc:call-macro> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2582 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2583 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2584 </computed_discharge_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2585 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2586 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2587 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2588 WATERLEVELS - ONLY SHOW Ws |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2589 </dc:comment> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2590 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2591 <dc:comment><!-- TODO doesnt work nicely for fix/wq-diags. --></dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2592 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2593 <dc:macro name="waterlevels-fix"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2594 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2595 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2596 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2597 <dc:call-macro name="range-filter"> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2598 <dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2599 <dc:statement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2600 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2601 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2602 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2603 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2604 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2605 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2606 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2607 SELECT name AS facet_name, num AS facet_num, description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2608 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2609 WHERE out_id = ${out_id} and name = 'longitudinal_section.w' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2610 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2611 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2612 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2613 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2614 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2615 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2616 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2617 <dc:attribute name="factory" value="winfo"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2618 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2619 <dc:attribute name="out" value="longitudinal_section"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2620 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2621 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2622 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2623 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2624 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2625 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2626 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2627 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2628 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2629 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2630 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2631 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2632 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2633 SHOW FLOODMAPS |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2634 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2635 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2636 <dc:macro name="flood-map"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2637 <floodmap> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2638 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2639 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2640 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2641 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2642 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2643 SELECT a.gid AS aid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2644 f.id AS fid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2645 f.name AS facet_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2646 f.num AS facet_num, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2647 f.description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2648 FROM outs AS o, facets AS f, artifacts AS a |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2649 WHERE f.name = 'floodmap.wsplgen' AND |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2650 f.out_id = o.id AND |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2651 o.artifact_id = ${a_id} AND |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2652 a.id = ${a_id} |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2653 </dc:statement> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2654 <dc:for-each> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2655 <dc:element name="${facet_name}"> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2656 <dc:attribute name="description" value="${facet_description}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2657 <dc:attribute name="factory" value="winfo"/> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2658 <dc:attribute name="artifact-id" value="${aid}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2659 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2660 <dc:attribute name="out" value="floodmap"/> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2661 </dc:element> |
5522
eeac800eb4cd
Datacage: Rename <dc:elements> to <dc:for-each>. We should have done this much earlier.
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5516
diff
changeset
|
2662 </dc:for-each> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2663 </dc:context> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2664 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2665 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2666 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2667 </floodmap> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2668 </dc:macro> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2669 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2670 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2671 MINFO bedheight middle |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2672 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2673 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2674 <dc:macro name="bed-height"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2675 <fix_vollmer_wq_curve> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2676 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2677 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2678 <dc:call-macro name="range-filter"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2679 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2680 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2681 SELECT a.gid AS aid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2682 f.id AS fid, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2683 f.name AS facet_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2684 f.num AS facet_num, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2685 f.description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2686 FROM outs AS o, facets AS f, artifacts AS a |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2687 WHERE ( |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2688 f.name = 'longitudinal_section.w' OR |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2689 f.name = 'heightmarks_points' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2690 ) AND f.out_id = o.id AND o.artifact_id = ${a_id} AND a.id = ${a_id} |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2691 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2692 <fix_vollmer_wq_curve description="{$river} {$a_creation} {$collection_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2693 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2694 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2695 <dc:attribute name="description" value="${facet_description}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2696 <dc:attribute name="factory" value="fixanalysis"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2697 <dc:attribute name="artifact-id" value="${aid}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2698 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2699 <dc:attribute name="out" value="longitudinal_section"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2700 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2701 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2702 </fix_vollmer_wq_curve> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2703 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2704 </dc:call-macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2705 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2706 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2707 </fix_vollmer_wq_curve> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2708 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2709 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2710 <dc:macro name="floodmap-hws-user"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2711 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2712 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2713 SELECT id AS out_id |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2714 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2715 WHERE artifact_id = ${a_id} AND name = 'floodmap' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2716 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2717 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2718 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2719 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2720 SELECT name AS facet_name, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2721 num AS facet_num, |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2722 description AS facet_description |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2723 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2724 WHERE out_id = ${out_id} AND name = 'floodmap.usershape' |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2725 ORDER BY num ASC, name DESC |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2726 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2727 <own-hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2728 <dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2729 <dc:element name="${facet_name}"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2730 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2731 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2732 <dc:attribute name="factory" value="winfo"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2733 <dc:attribute name="artifact-id" value="${a_gid}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2734 <dc:attribute name="out" value="floodmap"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2735 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2736 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2737 </own-hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2738 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2739 </dc:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2740 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2741 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2742 |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2743 <dc:macro name="bedquality-bed"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2744 <bed_quality_bed> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2745 <dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2746 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2747 <dc:call-macro name="range-filter"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2748 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2749 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2750 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2751 FROM outs AS o |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2752 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2753 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2754 o.name='bed_longitudinal_section' |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2755 </dc:statement> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2756 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2757 <quality-bed description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2758 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2759 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2760 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2761 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2762 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2763 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2764 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2765 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2766 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2767 (f.name = 'bed_longitudinal_section.bed_diameter_toplayer' |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2768 OR f.name = 'bed_longitudinal_section.bed_diameter_sublayer') AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2769 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2770 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2771 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2772 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2773 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2774 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2775 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2776 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2777 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2778 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2779 <dc:attribute name="out" value="bed_longitudinal_section"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2780 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2781 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2782 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2783 </quality-bed> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2784 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2785 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2786 </dc:call-macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2787 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2788 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2789 </bed_quality_bed> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2790 </dc:macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2791 |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2792 <dc:macro name="bedquality-load"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2793 <bed_quality_load> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2794 <dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2795 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2796 <dc:call-macro name="range-filter"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2797 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2798 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2799 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2800 FROM outs AS o |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2801 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2802 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2803 o.name='bed_longitudinal_section' |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2804 </dc:statement> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2805 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2806 <quality-load description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2807 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2808 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2809 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2810 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2811 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2812 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2813 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2814 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2815 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2816 f.name = 'bed_longitudinal_section.bedload_diameter' AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2817 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2818 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2819 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2820 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2821 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2822 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2823 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2824 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2825 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2826 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2827 <dc:attribute name="out" value="bed_longitudinal_section"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2828 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2829 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2830 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2831 </quality-load> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2832 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2833 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2834 </dc:call-macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2835 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2836 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2837 </bed_quality_load> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2838 </dc:macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2839 |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2840 <dc:macro name="bedquality-density"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2841 <bed_quality_density> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2842 <dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2843 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2844 <dc:call-macro name="range-filter"> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2845 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2846 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2847 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2848 FROM outs AS o |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2849 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2850 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2851 o.name='bed_longitudinal_section' |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2852 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2853 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2854 <density description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2855 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2856 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2857 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2858 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2859 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2860 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2861 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2862 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2863 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2864 (f.name = 'bed_longitudinal_section.sediment_density_toplayer' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2865 f.name = 'bed_longitudinal_section.sediment_density_sublayer') AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2866 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2867 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2868 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2869 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2870 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2871 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2872 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2873 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2874 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2875 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2876 <dc:attribute name="out" value="bed_longitudinal_section"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2877 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2878 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2879 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2880 </density> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2881 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2882 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2883 </dc:call-macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2884 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2885 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2886 </bed_quality_density> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2887 </dc:macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2888 |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2889 <dc:macro name="bedquality-porosity"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2890 <bed_quality_porosity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2891 <dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2892 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2893 <dc:call-macro name="range-filter"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2894 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2895 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2896 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2897 FROM outs AS o |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2898 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2899 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2900 o.name='bed_longitudinal_section' |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2901 </dc:statement> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2902 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2903 <porosity description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2904 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2905 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2906 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2907 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2908 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2909 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2910 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2911 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2912 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2913 (f.name = 'bed_longitudinal_section.porosity_toplayer' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2914 f.name = 'bed_longitudinal_section.porosity_sublayer') AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2915 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2916 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2917 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2918 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2919 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2920 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2921 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2922 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2923 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2924 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2925 <dc:attribute name="out" value="bed_longitudinal_section"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2926 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2927 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2928 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2929 </porosity> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2930 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2931 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2932 </dc:call-macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2933 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2934 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2935 </bed_quality_porosity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2936 </dc:macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2937 |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2938 <dc:macro name="flow-velocity"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2939 <flow-velocity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2940 <dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2941 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2942 <dc:call-macro name="range-filter"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2943 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2944 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2945 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2946 FROM outs AS o |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2947 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2948 o.artifact_id = ${a_id} and o.name='flow_velocity' |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2949 </dc:statement> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2950 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2951 <flow description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2952 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2953 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2954 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2955 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2956 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2957 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2958 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2959 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2960 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2961 (f.name = 'flow_velocity.totalchannel' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2962 f.name = 'flow_velocity.mainchannel' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2963 f.name = 'flow_velocity.totalchannel.filtered' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2964 f.name = 'flow_velocity.mainchannel.filtered') AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2965 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2966 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2967 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2968 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2969 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2970 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2971 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2972 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2973 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2974 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2975 <dc:attribute name="out" value="flow_velocity"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2976 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2977 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2978 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2979 </flow> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2980 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2981 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2982 </dc:call-macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2983 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2984 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2985 </flow-velocity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2986 </dc:macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2987 |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2988 <dc:macro name="sediment-load"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2989 <sediment-load> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2990 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2991 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2992 <dc:call-macro name="range-filter"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2993 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2994 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2995 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2996 FROM outs AS o |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2997 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2998 o.artifact_id = ${a_id} and o.name='sedimentload_ls' |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2999 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3000 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3001 <load description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3002 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3003 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3004 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3005 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3006 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3007 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3008 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3009 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3010 WHERE f.name LIKE 'sedimentload%' AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3011 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3012 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3013 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3014 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3015 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3016 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3017 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3018 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3019 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3020 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3021 <dc:attribute name="out" value="sedimentload_ls"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3022 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3023 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3024 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3025 </load> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3026 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3027 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3028 </dc:call-macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3029 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3030 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3031 </sediment-load> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3032 </dc:macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3033 |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3034 <dc:macro name="bedheight-differences"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3035 <bedheight-differences> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3036 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3037 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3038 <dc:call-macro name="range-filter"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3039 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3040 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3041 SELECT id AS oid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3042 name AS o_name |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3043 FROM outs AS o |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3044 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3045 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3046 (o.name = 'bed_difference_year' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3047 o.name = 'bed_differnece_epoch') |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3048 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3049 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3050 <difference description="{$river} {$a_creation} {$collection_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3051 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3052 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3053 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3054 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3055 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3056 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3057 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3058 FROM outs AS o, facets AS f, artifacts AS a |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3059 WHERE (f.name LIKE 'bedheight_difference.year%' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3060 f.name LIKE 'bedheight_difference.epoch%') AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3061 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3062 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3063 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3064 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3065 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3066 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3067 <dc:attribute name="factory" value="minfo"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3068 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3069 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3070 <dc:attribute name="artifact-id" value="${aid}"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3071 <dc:choose> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3072 <dc:when test="dc:contains($o_name, 'bed_difference_year')"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3073 <dc:attribute name="out" value="bed_difference_year"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3074 </dc:when> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3075 <dc:otherwise> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3076 <dc:attribute name="out" value="bed_difference_epoch"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3077 </dc:otherwise> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3078 </dc:choose> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3079 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3080 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3081 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3082 </difference> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3083 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3084 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3085 </dc:call-macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3086 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3087 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3088 </bedheight-differences> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3089 </dc:macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
3090 |
5669
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3091 <dc:macro name="fixings-year"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3092 <fixings> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3093 <dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3094 <dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3095 <dc:call-macro name="range-filter"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3096 <dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3097 <dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3098 SELECT ou.id AS oid |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3099 FROM outs AS ou, artifacts AS ar |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3100 WHERE |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3101 ar.state = 'state.fix.vollmer.compute' AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3102 ou.name = 'longitudinal_section' |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3103 </dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3104 <dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3105 <fix description="{$river} {$a_id} {$a_creation} {$collection_name}"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3106 <dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3107 <dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3108 SELECT a.gid AS aid, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3109 f.id AS fid, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3110 f.name AS facet_name, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3111 f.num AS facet_num, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3112 f.description AS facet_description |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3113 FROM outs AS o, facets AS f, artifacts AS a |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3114 WHERE f.name = 'longitudinal_section.w' AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3115 f.out_id = o.id AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3116 o.artifact_id = ${a_id} AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3117 a.id = ${a_id} |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3118 </dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3119 <dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3120 <dc:element name="${facet_name}"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3121 <dc:attribute name="factory" value="fixanalysis"/> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3122 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3123 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5669
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3124 <dc:attribute name="artifact-id" value="${aid}"/> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3125 <dc:attribute name="out" value="longitudinal_section"/> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3126 </dc:element> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3127 </dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3128 </dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3129 </fix> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3130 </dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3131 </dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3132 </dc:call-macro> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3133 </dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3134 </dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3135 </fixings> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3136 </dc:macro> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3137 |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3138 <dc:macro name="waterlevels-discharge"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3139 <waterlevels-discharge> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3140 <dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3141 <dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3142 <dc:call-macro name="range-filter"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3143 <dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3144 <dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3145 SELECT id AS oid |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3146 FROM outs AS o |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3147 WHERE |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3148 o.artifact_id = ${a_id} AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3149 o.name = 'discharge_longitudinal_section' |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3150 </dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3151 <dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3152 <discharge description="{$oid} {$river} {$a_id} {$a_creation} {$collection_name}"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3153 <dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3154 <dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3155 SELECT a.gid AS aid, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3156 f.id AS fid, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3157 f.name AS facet_name, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3158 f.num AS facet_num, |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3159 f.description AS facet_description |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3160 FROM outs AS o, facets AS f, artifacts AS a |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3161 WHERE f.name = 'discharge_longitudinal_section.w' AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3162 f.out_id = o.id AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3163 o.artifact_id = ${a_id} AND |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3164 a.id = ${a_id} |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3165 </dc:statement> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3166 <dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3167 <dc:element name="${facet_name}"> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3168 <dc:attribute name="factory" value="winfo"/> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3169 <dc:attribute name="description" value="${facet_description}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3170 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> |
5669
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3171 <dc:attribute name="artifact-id" value="${aid}"/> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3172 <dc:attribute name="out" value="longitudinal_section"/> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3173 </dc:element> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3174 </dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3175 </dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3176 </discharge> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3177 </dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3178 </dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3179 </dc:call-macro> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3180 </dc:context> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3181 </dc:for-each> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3182 </waterlevels-discharge> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
3183 </dc:macro> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
3184 |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3185 <dc:iterate var="out" container="artifact-outs"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3186 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3187 <dc:when test="$out = 'longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3188 <dc:call-macro name="longitudinal"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3189 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3190 <dc:call-macro name="officiallines_user"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3191 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3192 <dc:when test="$out = 'discharge_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3193 <dc:call-macro name="longitudinal"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3194 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3195 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3196 <dc:when test="$out = 'w_differences'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3197 <dc:call-macro name="longitudinal"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3198 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3199 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3200 <dc:when test="$out = 'fix_deltawt_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3201 <dc:call-macro name="delta-wt"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3202 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3203 <dc:when test="$out = 'reference_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3204 <dc:call-macro name="reference-curves"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3205 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3206 <dc:when test="$out = 'computed_discharge_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3207 <dc:call-macro name="computed-discharge-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3208 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3209 <dc:when test="$out = 'cross_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3210 <dc:call-macro name="waterlevels"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3211 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3212 <dc:when test="$out = 'fix_longitudinal_section_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3213 <dc:call-macro name="longitudinal-section"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3214 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3215 <dc:when test="$out = 'fix_derivate_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3216 <dc:call-macro name="fix-derivate-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3217 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3218 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3219 <dc:call-macro name="fix-wq-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3220 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3221 <dc:when test="$out = 'duration_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3222 <dc:call-macro name="duration-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3223 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3224 <dc:when test="$out = 'waterlevels'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3225 <!-- base data --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3226 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3227 <!-- extra-longitudinal-sections --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3228 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3229 <!-- fixations --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3230 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3231 <!-- flood water marks--> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3232 <dc:call-macro name="basedata_4_heightmarks-points"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3233 <!-- flood protection --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3234 <dc:call-macro name="basedata_5_flood-protections"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3235 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3236 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3237 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3238 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3239 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3240 <dc:when test="$out = 'floodmap'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3241 <dc:call-macro name="flood-map"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3242 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3243 <dc:when test="$out = 'map'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3244 <dc:call-macro name="flood-map"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3245 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3246 <dc:when test="$out = 'bedheight_middle'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3247 <dc:call-macro name="waterlevels-discharge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3248 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3249 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3250 <dc:when test="$out = 'floodmap-hws'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3251 <dc:call-macro name="floodmap-hws-user"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3252 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3253 <dc:when test="$out = 'flow_velocity'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3254 <dc:call-macro name="bedquality-bed"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3255 <dc:call-macro name="bedquality-load"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3256 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3257 <dc:when test="$out = 'bed_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3258 <dc:call-macro name="bedquality-bed"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3259 <dc:call-macro name="bedquality-load"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3260 <dc:call-macro name="bedquality-density"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3261 <dc:call-macro name="bedquality-porosity"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3262 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3263 <dc:when test="$out = 'sedimentload_ls'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3264 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3265 <dc:call-macro name="bedheight-differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3266 <dc:call-macro name="flow-velocity"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3267 <dc:call-macro name="sediment-load"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3268 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3269 <dc:when test="$out = 'bed_difference_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3270 <dc:call-macro name="waterlevels-discharge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3271 <dc:call-macro name="bedheight-differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3272 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3273 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3274 <dc:call-macro name="delta-wt-ls"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3275 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3276 <dc:when test="$out = 'bed_difference_epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3277 <dc:call-macro name="waterlevels-discharge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3278 <dc:call-macro name="bedheight-differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3279 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3280 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3281 <dc:call-macro name="delta-wt-ls"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3282 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3283 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3284 </dc:iterate> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3285 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3286 </dc:call-macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
3287 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3288 </old_calculations> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
3289 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3290 <dc:if test="dc:contains($parameters,'load-system')"> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3291 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3292 Include System specific part when 'load-system' is in parameters. |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3293 ----------------------------------------------------------------- |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3294 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3295 <dc:call-macro name="load-system"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3296 </dc:if> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3297 </dc:when> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
3298 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3299 <dc:otherwise> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3300 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3301 Include System specific part only if no user ID is given. |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3302 --------------------------------------------------------- |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3303 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3304 <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
|
3305 </dc:otherwise> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3306 </dc:choose> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3307 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3308 </datacage> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3309 </dc:template> |