Mercurial > dive4elements > river
annotate artifacts/doc/conf/meta-data.xml @ 6025:725ae04f7cad
issue977/2: supply mainvalues via dc for reference curve.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 14 May 2013 18:01:16 +0200 |
parents | 5f34e4cb8095 |
children | 3e539a0670c7 |
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
83 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
84 factory="staticwqkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
111 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
112 factory="wqinterpol" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
139 ids="additionalsmarks-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
140 factory="staticwkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
166 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
167 factory="staticwqkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
194 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
195 factory="staticwkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
222 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
223 factory="wqinterpol" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
250 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
251 factory="staticwqkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
278 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
279 factory="staticwkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
306 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
307 factory="staticwqkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
333 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
334 factory="staticwkms" 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
|
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}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
360 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
361 factory="staticwkms" 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
|
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 |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
372 <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
|
373 <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
|
374 <flood_protections id="flood-protections-{$river_id}"> |
5015
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 = 5 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> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
382 <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
|
383 db-id="{$prot_id}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
384 factory="staticwkms" 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
|
385 <columns> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
386 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
387 <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
|
388 <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
|
389 <column name="{$prot_column_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
390 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
391 factory="staticwkms" 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
|
392 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
|
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 </columns> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
396 </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
|
397 </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
|
398 </dc:context></flood_protections> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
399 </dc:call-macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
400 </dc:macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
401 |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
402 <dc:macro name="basedata_5_flood-protections"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
403 <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
|
404 <flood_protections id="flood-protections-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
405 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
406 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
407 SELECT id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
408 description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
409 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
|
410 </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
|
411 <dc:for-each> |
5746
1dab240f9f55
remove prefixed directory names from descriptions in data cage
Tom Gottfried <tom@intevation.de>
parents:
5682
diff
changeset
|
412 <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
|
413 db-id="{$prot_id}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
414 factory="staticwkms" out="{$OUT}"> |
2751
e50cc06c6c4c
Serve heightmarks and floodprotection in dc conf for duration curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2749
diff
changeset
|
415 <dc:context> |
4894
5741970e2c58
meta-data.xml: Replace wst_columns queries by macro call.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4892
diff
changeset
|
416 <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
|
417 <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
|
418 <column name="{$prot_column_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
419 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
420 factory="staticwkms" 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
|
421 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
|
422 </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
|
423 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
424 </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
|
425 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
426 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
427 </flood_protections> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
428 </dc:call-macro> |
1905
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
429 </dc:macro> |
d025009fec73
Recommend fixations for computed discharge curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1880
diff
changeset
|
430 |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
431 <dc:macro name="mainvalues"> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
432 <wmainvalue factory="mainvalue" out="{$OUT}" ids="{$river_id}:w"/> |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
433 <qmainvalue factory="mainvalue" out="{$OUT}" ids="{$river_id}:q"/> |
1851
67aa74efc024
Recommend mainvalues for Duration Curve Diagrams, minor refactoring.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1841
diff
changeset
|
434 </dc:macro> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
435 |
3574
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
436 <dc:macro name="qsectors"> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
437 <qsector factory="qsectors" out="{$OUT}" ids="{$river_id}"/> |
3574
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
438 </dc:macro> |
416288f88763
Add more qsectory infrastructure.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3570
diff
changeset
|
439 |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
440 <dc:macro name="annotations"> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
441 <annotation factory="annotations" out="{$OUT}" ids="{$river_id}"/> |
1865
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
442 </dc:macro> |
ba6659083fa0
Revert/apply accidental/corrected commit.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1857
diff
changeset
|
443 |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
444 <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
|
445 <annotations> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
446 <dc:context> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
447 <all_annotations factory="annotations" out="{$OUT}" ids="{$river_id}"/> |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
448 <dc:statement> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
449 SELECT id AS anno_id, |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
450 name AS anno_description |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
451 FROM annotation_types |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
452 </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
|
453 <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
|
454 <annotation name="{$anno_description}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
455 factory="annotations" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
456 ids="{$river_id}:{$anno_description}"/> |
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
|
457 </dc:for-each> |
4014
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
458 </dc:context> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
459 </annotations> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
460 </dc:macro> |
e5e1331d0440
Show 'per-type' annotations in longitudinal-section DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3975
diff
changeset
|
461 |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
462 <dc:macro name="cross_sections"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
463 <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
|
464 <cross_sections id="flood-protections-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
465 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
466 <dc:statement> |
5164
8c65acf01adc
Fixed datacage to be oracle compatible.
Raimund Renkert <rrenkert@intevation.de>
parents:
5145
diff
changeset
|
467 SELECT DISTINCT |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
468 cs.id AS prot_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
469 cs.description AS prot_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
470 FROM cross_sections cs |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
471 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
|
472 WHERE cs.river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
473 AND csl.km BETWEEN ${fromkm} AND ${tokm} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
474 </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
|
475 <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
|
476 <cross_section name="{$prot_description}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
477 ids="{$prot_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
478 factory="crosssections" 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
|
479 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
480 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
481 </cross_sections> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
482 </dc:call-macro> |
1978
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
483 </dc:macro> |
4c10a4cb978f
Recommend cross sections if they can be shown.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1916
diff
changeset
|
484 |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
485 <dc:macro name="hyks"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
486 <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
|
487 <hyks id="hyk-{$river_id}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
488 <dc:context connection="system"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
489 <dc:statement> |
5164
8c65acf01adc
Fixed datacage to be oracle compatible.
Raimund Renkert <rrenkert@intevation.de>
parents:
5145
diff
changeset
|
490 SELECT DISTINCT |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
491 h.id AS hyk_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
492 h.description AS hyk_description |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
493 FROM hyks h |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
494 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
|
495 WHERE river_id = ${river_id} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
496 AND he.km BETWEEN ${fromkm} AND ${tokm} |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
497 </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
|
498 <dc:for-each> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
499 <hyk name="{$hyk_description}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
500 ids="{$hyk_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
501 factory="hyk" 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
|
502 </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
|
503 </dc:context></hyks> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
504 </dc:call-macro> |
2140
3d73109005b8
Recommend hyks if hit by cross section out.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2114
diff
changeset
|
505 </dc:macro> |
1869
8f7bc6acd48d
Adjusted DC for heightmarks (and other) in discharge longitudinal sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1868
diff
changeset
|
506 |
4455
06c07cb478a8
meta-data.xml: Add annotations and flow velocity measurements to the DC.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4449
diff
changeset
|
507 <dc:macro name="flow_velocity_measurements"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
508 <dc:call-macro name="user-range"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
509 <flowvelocitymeasurement> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
510 <dc:context connection="system"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
511 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
512 SELECT id AS fvmid, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
513 description AS fvmd |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
514 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
|
515 </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
|
516 <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
|
517 <flow_velocity_measurement name="{$fvmd}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
518 ids="{$fvmid}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
519 factory="flowvelocity" out="{$OUT}"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
520 <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
|
521 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
522 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
|
523 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
|
524 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
|
525 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
|
526 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
527 <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
|
528 <measurement_value name="{$description} - {$station} - {$datetime}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
529 ids="{$id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
530 factory="flowvelocity" 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
|
531 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
532 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
533 </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
|
534 </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
|
535 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
536 </flowvelocitymeasurement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
537 </dc:call-macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
538 </dc:macro> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
539 |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
540 <dc:macro name="sounding-width"> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
541 <soundings_width> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
542 <dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
543 <dc:statement> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
544 SELECT id AS bedh_id, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
545 year AS bedh_year, |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
546 description AS bedh_descr |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
547 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
|
548 </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
|
549 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
550 <height factory="bedheight" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
551 ids="bedheight-singlevalues-{$bedh_id}-{$bedh_year}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
552 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
|
553 </dc:for-each> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
554 </dc:context> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
555 </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
|
556 </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
|
557 |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
558 <dc:macro name="morph_width"> |
5766
a6dc4c232da2
Datacage config and out generator for morphologic width.
Raimund Renkert <rrenkert@intevation.de>
parents:
5761
diff
changeset
|
559 <morph_width> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
560 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
561 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
562 SELECT id AS width_id |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
563 FROM morphologic_width |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
564 WHERE river_id = ${river_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
565 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
566 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
567 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
568 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
569 SELECT min(station) AS from, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
570 max(station) AS to |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
571 FROM morphologic_width_values |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
572 WHERE morphologic_width_id = ${width_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
573 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
574 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
575 <morphologic-width name="{$from} - {$to}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
576 ids="{$width_id}" |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
577 factory="morph-width"/> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
578 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
579 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
580 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
581 </dc:context> |
5766
a6dc4c232da2
Datacage config and out generator for morphologic width.
Raimund Renkert <rrenkert@intevation.de>
parents:
5761
diff
changeset
|
582 </morph_width> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
583 </dc:macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
584 |
4595
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
585 <dc:macro name="longitudinal-section-prototype"> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
586 <dc:call-macro name="basedata_0"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
587 <dc:call-macro name="basedata_1_additionals"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
588 <dc:comment comment=" FIXATIONS ---------------------------"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
589 <dc:call-macro name="basedata_2_fixations"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
590 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
591 <dc:call-macro name="basedata_4_heightmarks-points"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
592 <dc:comment comment=" AMTL LINIEN ---------------------------"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
593 <dc:call-macro name="basedata_3_officials"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
594 <dc:call-macro name="basedata_5_flood-protections"/> |
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
595 <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
|
596 </dc:macro> |
0b48085f93aa
meta-data.xml: Added 'prototype-macro for longitudinal_sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4538
diff
changeset
|
597 |
5980
f33d717aae5c
Revert changes in metadata.xml from r5978:ebd6e8e234e0.
Raimund Renkert <rrenkert@intevation.de>
parents:
5979
diff
changeset
|
598 <dc:macro name="discharge_table_gauge"> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
599 <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
|
600 <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
|
601 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
602 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
603 SELECT id AS gauge_id, |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
604 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
|
605 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
|
606 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
607 <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
|
608 <gauge name="{$gauge_name}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
609 db-id="{$gauge_id}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
610 factory="gaugedischarge" out="{$OUT}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
611 from="{$g_start}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
612 to="{$g_stop}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
613 ids="{$gauge_name}"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
614 </dc:for-each> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
615 </dc:context> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
616 </discharge_table_gauge> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
617 </discharge_table_nn> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
618 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
619 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
620 <dc:macro name="discharge_computed"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
621 <discharge_table_nn> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
622 <discharge_table_gauge> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
623 <dc:context> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
624 <dc:statement> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
625 SELECT id AS gauge_id, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
626 name AS gauge_name |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
627 FROM gauges WHERE river_id = ${river_id} |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
628 </dc:statement> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
629 <dc:for-each> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
630 <gauge name="{$gauge_name}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
631 db-id="{$gauge_id}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
632 factory="gaugedischarge" out="{$OUT}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
633 from="{$g_start}" |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
634 to="{$g_stop}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
635 ids="{$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
|
636 <dc:comment> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
637 <!-- |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
638 <gauge> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
639 <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
|
640 <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
|
641 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
642 <dc:statement> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
643 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
|
644 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
|
645 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
|
646 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
|
647 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
|
648 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
|
649 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
|
650 </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
|
651 <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
|
652 <historical> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
653 <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
|
654 <dc:attribute name="factory" value="gaugedischarge"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
655 <dc:attribute name="out" value="${out}"/> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
656 <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
|
657 <dc:attribute name="to" value="${g_stop}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
658 <dc:attribute name="ids" value="${discharge_id}-${g_start}-${g_stop}"/> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
659 </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
|
660 </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
|
661 </dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
662 </gauge> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
663 --> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
664 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
665 </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
|
666 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
667 </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
|
668 </discharge_table_nn> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
669 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
670 |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
671 <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
|
672 <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
|
673 <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
|
674 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
675 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
676 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
|
677 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
|
678 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
|
679 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
680 <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
|
681 <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
|
682 db-id="{$gauge_id}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
683 factory="gaugedischarge" 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
|
684 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
|
685 to="{$g_stop}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
686 ids="{$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
|
687 </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
|
688 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
689 </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
|
690 </discharge_table_nn> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
691 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
692 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
693 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
694 <dc:when test="dc:contains($parameters, 'recommended')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
695 <dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
696 Recommendations (client shall load immediately). |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
697 </dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
698 <dc:iterate var="out" container="artifact-outs"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
699 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
700 <dc:when test="$out = 'w_differences'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
701 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
702 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
703 <dc:when test="$out = 'discharge_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
704 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
705 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
706 <dc:when test="$out = 'historical_discharge_wq'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
707 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
708 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
709 <dc:when test="$out = 'cross_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
710 <dc:call-macro name="cross_sections"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
711 <dc:call-macro name="hyks"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
712 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
713 <dc:when test="$out = 'computed_discharge_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
714 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
715 <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
|
716 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
717 <dc:when test="$out = 'duration_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
718 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
719 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
720 <dc:when test="$out = 'reference_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
721 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
722 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
723 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
724 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
725 <dc:call-macro name="qsectors"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
726 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
727 <dc:when test="$out = 'longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
728 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
729 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
730 <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
|
731 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
732 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
733 <dc:when test="$out = 'bed_difference_epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
734 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
735 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
736 <dc:when test="$out = 'bed_difference_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
737 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
738 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
739 <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
|
740 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
741 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
742 <dc:when test="$out = 'floodmap'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
743 <dc:call-macro name="flood-map-recommended"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
744 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
745 <dc:when test="$out = 'floodmap-hws'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
746 <dc:call-macro name="flood-map-recommended"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
747 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
748 <dc:when test="$out = 'minfo-heights'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
749 <dc:call-macro name="minfo-heights"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
750 <dc:macro name="minfo-heights"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
751 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
752 <dc:call-macro name="bed-heights-single"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
753 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
754 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
755 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
756 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
757 <dc:when test="$out = 'minfo-heights-epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
758 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
759 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
760 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
761 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
762 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
763 </dc:iterate> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
764 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
765 <dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
766 <dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
767 Non - Recommendations. |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
768 </dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
769 <dc:iterate var="out" container="artifact-outs"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
770 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
771 <dc:when test="$out = 'cross_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
772 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
773 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
774 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
775 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
776 <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
|
777 <dc:call-macro name="cross_sections"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
778 <dc:call-macro name="hyks"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
779 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
780 <dc:when test="$out = 'longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
781 <dc:call-macro name="longitudinal-section-prototype"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
782 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
783 <dc:when test="$out = 'w_differences'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
784 <dc:call-macro name="longitudinal-section-prototype"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
785 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
786 <dc:when test="$out = 'discharge_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
787 <dc:call-macro name="longitudinal-section-prototype"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
788 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
789 <dc:when test="$out = 'duration_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
790 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
791 <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
|
792 <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
|
793 <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
|
794 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
795 <dc:when test="$out = 'reference_curve'"> |
6025
725ae04f7cad
issue977/2: supply mainvalues via dc for reference curve.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
6021
diff
changeset
|
796 <dc:call-macro name="mainvalues"/> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
797 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
798 <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
|
799 <dc:comment comment=" FIXATIONS ---------------------------"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
800 <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
|
801 <dc:comment comment=" HOEHENMARKEN ---------------------------"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
802 <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
|
803 <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
|
804 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
805 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
806 <dc:call-macro name="basedata_0_wq"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
807 <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
|
808 <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
|
809 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
810 <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
|
811 <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
|
812 <dc:call-macro name="discharge_table_gauge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
813 <dc:call-macro name="discharge_fix_wq"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
814 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
815 <dc:when test="$out = 'fix_deltawt_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
816 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
817 <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
|
818 <dc:call-macro name="annotations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
819 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
820 <dc:when test="$out = 'map'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
821 <dc:call-macro name="flood-map-complete"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
822 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
823 <dc:when test="$out = 'flow_velocity'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
824 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
825 <dc:call-macro name="flow_velocity_measurements"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
826 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
827 <dc:when test="$out = 'bed_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
828 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
829 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
830 <dc:when test="$out = 'sedimentload_ls'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
831 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
832 <dc:call-macro name="morph_width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
833 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
834 <dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
835 MINFO bedheight middle |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
836 </dc:comment> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
837 <dc:when test="$out = 'bedheight_middle'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
838 <dc:call-macro name="sounding-width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
839 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
840 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
841 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
842 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
843 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
844 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
845 <dc:when test="$out = 'bed_difference_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
846 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
847 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
848 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
849 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
850 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
851 <dc:call-macro name="morph_width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
852 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
853 <dc:when test="$out = 'bed_difference_epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
854 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
855 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
856 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
857 <dc:call-macro name="basedata_3_officials"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
858 <dc:call-macro name="annotations_per_type"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
859 <dc:call-macro name="morph_width"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
860 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
861 <dc:when test="$out = 'floodmap'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
862 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
863 <dc:when test="dc:contains($parameters, 'dem')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
864 <dc:call-macro name="flood-map-dem"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
865 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
866 <dc:when test="dc:contains($parameters, 'hws')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
867 <hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
868 <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
|
869 <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
|
870 </hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
871 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
872 <dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
873 <dc:call-macro name="flood-map-complete"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
874 </dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
875 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
876 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
877 <dc:when test="$out = 'floodmap-hws'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
878 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
879 <dc:when test="dc:contains($parameters, 'dem')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
880 <dc:call-macro name="flood-map-dem"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
881 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
882 <dc:when test="dc:contains($parameters, 'hws')"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
883 <hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
884 <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
|
885 <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
|
886 </hws> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
887 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
888 <dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
889 <dc:call-macro name="flood-map-complete"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
890 </dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
891 </dc:choose> |
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 = 'computed_discharge_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
894 <dc:call-macro name="discharge_computed"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
895 <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
|
896 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
897 <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
|
898 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
899 <!-- former waterlevels --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
900 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
901 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
902 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
903 |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
904 <!-- former flood-water-marks --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
905 <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
|
906 <computed_discharge_curve> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
907 <dc:call-macro name="mainvalues"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
908 </computed_discharge_curve> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
909 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
910 <dc:when test="$out = 'minfo-heights'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
911 <dc:call-macro name="minfo-heights"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
912 <dc:macro name="minfo-heights"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
913 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
914 <dc:call-macro name="bed-heights-single"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
915 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
916 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
917 </dc:macro> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
918 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
919 <dc:when test="$out = 'minfo-heights-epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
920 <bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
921 <dc:call-macro name="bed-heights-epoch"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
922 </bedheights> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
923 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
924 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
925 </dc:iterate> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
926 </dc:otherwise> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
927 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
928 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
929 |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
930 <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
|
931 <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
|
932 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
933 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
|
934 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
935 <kilometrage> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
936 <riveraxis factory="riveraxis" out="{$OUT}" ids="{$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
|
937 </kilometrage> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
938 <rastermap> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
939 <background factory="wmsbackground" out="{$OUT}" ids="{$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
|
940 </rastermap> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
941 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
942 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
943 <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
|
944 <dems> |
5477
ae60bb7b8085
Add proper handling of multiple river_axes for datacage and rivermapfile
Andre Heinecke <aheinecke@intevation.de>
parents:
5474
diff
changeset
|
945 <dc:context> |
ae60bb7b8085
Add proper handling of multiple river_axes for datacage and rivermapfile
Andre Heinecke <aheinecke@intevation.de>
parents:
5474
diff
changeset
|
946 <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
|
947 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
|
948 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
|
949 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
|
950 d.name AS name, |
5625
a8cc4ebdd0bb
Update dem info string
Andre Heinecke <aheinecke@intevation.de>
parents:
5619
diff
changeset
|
951 t.start_time AS start_time, |
a8cc4ebdd0bb
Update dem info string
Andre Heinecke <aheinecke@intevation.de>
parents:
5619
diff
changeset
|
952 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
|
953 'Projektion: ' || d.projection || '$' || |
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
954 '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
|
955 'Format: ' || d.format || '$' || |
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
956 'Zeitraum: ' |
5625
a8cc4ebdd0bb
Update dem info string
Andre Heinecke <aheinecke@intevation.de>
parents:
5619
diff
changeset
|
957 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
|
958 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
|
959 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
|
960 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
|
961 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
|
962 </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
|
963 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
964 <dem factory="demfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
965 ids="{$dem_id}" |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
966 name="{$name}" |
5627
2d9eb188fa51
Flys Issue 759 write longer strings and explicitly break the lines
Andre Heinecke <aheinecke@intevation.de>
parents:
5625
diff
changeset
|
967 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
|
968 </dc:for-each> |
5515
87dab419b924
Properly handle hydr_boundaries and hydr_boundaries_poly in datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5496
diff
changeset
|
969 </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
|
970 </dems> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
971 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
972 |
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
|
973 <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
|
974 <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
|
975 <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
|
976 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
977 <hws factory="hwsfactory" out="{$OUT}" name="{$hws_name}"/> |
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
|
978 </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
|
979 </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
|
980 |
5605
6372fd8bfb00
It's hws_kind not kws_kind
Andre Heinecke <aheinecke@intevation.de>
parents:
5598
diff
changeset
|
981 <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
|
982 <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
|
983 <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
|
984 </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
|
985 </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
|
986 |
5605
6372fd8bfb00
It's hws_kind not kws_kind
Andre Heinecke <aheinecke@intevation.de>
parents:
5598
diff
changeset
|
987 <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
|
988 <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
|
989 <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
|
990 </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
|
991 </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
|
992 |
5605
6372fd8bfb00
It's hws_kind not kws_kind
Andre Heinecke <aheinecke@intevation.de>
parents:
5598
diff
changeset
|
993 <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
|
994 <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
|
995 <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
|
996 </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
|
997 </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
|
998 </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
|
999 |
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
|
1000 <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
|
1001 <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
|
1002 <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
|
1003 <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
|
1004 </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
|
1005 </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
|
1006 </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
|
1007 |
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
|
1008 <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
|
1009 <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
|
1010 <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
|
1011 <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
|
1012 </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
|
1013 </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
|
1014 </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
|
1015 </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
|
1016 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1017 <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
|
1018 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1019 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1020 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
|
1021 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
|
1022 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
|
1023 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
|
1024 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
|
1025 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
|
1026 </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
|
1027 <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
|
1028 <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
|
1029 <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
|
1030 </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
|
1031 </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
|
1032 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1033 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1034 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1035 <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
|
1036 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1037 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1038 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
|
1039 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
|
1040 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
|
1041 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
|
1042 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
|
1043 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
|
1044 </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
|
1045 <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
|
1046 <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
|
1047 <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
|
1048 </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
|
1049 </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
|
1050 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1051 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1052 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1053 <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
|
1054 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1055 <dc:statement> |
5548
9840c2e65e28
Fix distinction for kilometrage.
Andre Heinecke <aheinecke@intevation.de>
parents:
5547
diff
changeset
|
1056 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
|
1057 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1058 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1059 <kilometrage factory="wmskmfactory" out="{$OUT}" ids="{$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
|
1060 </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
|
1061 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1062 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1063 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1064 <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
|
1065 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1066 <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
|
1067 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1068 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1069 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
|
1070 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
|
1071 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
|
1072 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
|
1073 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
|
1074 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
|
1075 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1076 <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
|
1077 <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
|
1078 <actual description="{$kind_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1079 factory="wmsqpsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1080 ids="{$river_id};{$kind_name};{$kind_id}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1081 </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
|
1082 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1083 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1084 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1085 <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
|
1086 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1087 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1088 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
|
1089 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
|
1090 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
|
1091 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
|
1092 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
|
1093 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
|
1094 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
|
1095 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1096 <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
|
1097 <other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1098 <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
|
1099 <misc-qps description="{$layer_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1100 factory="wmsqpsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1101 ids="{$river_id};{$layer_name};{$kind_id}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1102 </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
|
1103 </other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1104 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1105 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1106 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1107 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1108 <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
|
1109 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1110 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1111 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1112 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
|
1113 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
|
1114 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
|
1115 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
|
1116 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
|
1117 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
|
1118 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1119 <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
|
1120 <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
|
1121 <actual description="{$kind_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1122 ids="{$river_id};{$kind_name};{$kind_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1123 factory="riveraxis" 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
|
1124 </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
|
1125 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1126 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1127 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1128 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1129 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1130 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
|
1131 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
|
1132 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
|
1133 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
|
1134 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
|
1135 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
|
1136 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
|
1137 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1138 <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
|
1139 <other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1140 <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
|
1141 <misc-axis description="{$layer_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1142 ids="{$river_id};{$layer_name};{$kind_id}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1143 factory="riveraxis" 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
|
1144 </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
|
1145 </other> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1146 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1147 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1148 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1149 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1150 <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
|
1151 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1152 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1153 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1154 name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1155 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
|
1156 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
|
1157 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
|
1158 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1159 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1160 <line factory="wmshydrboundariesfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1161 ids="{$river_id};{$name};2" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1162 name="{$name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1163 </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
|
1164 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1165 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1166 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1167 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1168 name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1169 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
|
1170 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
|
1171 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
|
1172 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1173 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1174 <line factory="wmshydrboundariespolyfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1175 ids="{$river_id};{$name};2" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1176 name="{$name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1177 </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
|
1178 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1179 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1180 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1181 <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
|
1182 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1183 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1184 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1185 name |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1186 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
|
1187 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
|
1188 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
|
1189 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1190 <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
|
1191 <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
|
1192 <lines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1193 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1194 <line factory="wmshydrboundariesfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1195 ids="{$river_id};{$name};1" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1196 name="{$name}"/> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1197 </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
|
1198 </lines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1199 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1200 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1201 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1202 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1203 <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
|
1204 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1205 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1206 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1207 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
|
1208 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
|
1209 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
|
1210 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
|
1211 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
|
1212 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
|
1213 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1214 <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
|
1215 <sobek_areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1216 <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
|
1217 <boundary name="{$sectie}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1218 factory="wmshydrboundariespolyfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1219 ids="{$river_id};{$sectie};1;{$sectie_id};-1"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1220 </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
|
1221 </sobek_areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1222 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1223 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1224 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1225 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1226 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1227 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
|
1228 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
|
1229 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
|
1230 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
|
1231 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
|
1232 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
|
1233 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1234 <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
|
1235 <sobek_flooded> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1236 <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
|
1237 <boundary name="{$sobek}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1238 factory="wmshydrboundariespolyfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1239 ids="{$river_id};{$sobek};1;-1;{$sobek_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:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1241 </sobek_flooded> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1242 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1243 </dc:context> |
5760
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1244 <dc:context> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1245 <dc:statement> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1246 SELECT DISTINCT |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1247 b.name AS name |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1248 FROM hydr_boundaries_poly b |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1249 WHERE b.river_id = ${river_id} |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1250 AND b.kind = 1 |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1251 AND b.sobek IS NULL |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1252 AND b.sectie is NULL |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1253 </dc:statement> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1254 <dc:for-each> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1255 <boundary name="{$name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1256 factory="wmshydrboundariespolyfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1257 ids="{$river_id};{$name}"/> |
5760
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1258 </dc:for-each> |
dc5f81885918
Add hydroboundaries where sectie and sobek is null
Andre Heinecke <aheinecke@intevation.de>
parents:
5758
diff
changeset
|
1259 </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
|
1260 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1261 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1262 <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
|
1263 <bfg_model> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1264 <areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1265 <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
|
1266 </areas> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1267 <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
|
1268 </bfg_model> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1269 <federal> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1270 <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
|
1271 </federal> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1272 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1273 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1274 <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
|
1275 <floodplain> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1276 <dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1277 <dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1278 SELECT DISTINCT |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1279 fp.kind_id AS kind_id, |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1280 flk.name AS kind_name |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1281 FROM floodplain fp |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1282 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
|
1283 WHERE river_id = ${river_id} |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1284 AND kind_id=1 |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1285 </dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1286 <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
|
1287 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1288 <floody factory="wmsfloodplainfactory" out="{$OUT}" |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1289 description="{$kind_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1290 ids="{$river_id};{$kind_name};{$kind_id}"/> |
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
|
1291 </dc:for-each> |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1292 </dc:if> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1293 </dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1294 <dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1295 <dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1296 SELECT DISTINCT |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1297 flk.name AS kind_name, |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1298 fp.kind_id AS kind_id, |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1299 fp.name AS layer_name |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1300 FROM floodplain fp |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1301 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
|
1302 WHERE river_id = ${river_id} |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1303 AND kind_id <> 1 |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1304 </dc:statement> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1305 <dc:if test="dc:has-result()"> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1306 <other> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1307 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1308 <floody factory="wmsfloodplainfactory" out="{$OUT}" |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1309 description="{$layer_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1310 ids="{$river_id};{$layer_name};{$kind_id}"/> |
5619
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1311 </dc:for-each> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1312 </other> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1313 </dc:if> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1314 </dc:context> |
51208225eb41
Move floodplain into its own directory and reindent
Andre Heinecke <aheinecke@intevation.de>
parents:
5614
diff
changeset
|
1315 </floodplain> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1316 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1317 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1318 <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
|
1319 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1320 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
|
1321 availble |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1322 </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
|
1323 |
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
|
1324 <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
|
1325 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1326 <hws factory="wmshwslinesfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1327 ids="{$river_id};{$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
|
1328 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
|
1329 </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
|
1330 </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
|
1331 |
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
|
1332 <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
|
1333 <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
|
1334 <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
|
1335 <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
|
1336 </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
|
1337 </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
|
1338 </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
|
1339 |
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
|
1340 <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
|
1341 <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
|
1342 <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
|
1343 <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
|
1344 </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
|
1345 </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
|
1346 </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
|
1347 |
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
|
1348 <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
|
1349 <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
|
1350 <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
|
1351 <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
|
1352 </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
|
1353 </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
|
1354 </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
|
1355 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1356 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1357 <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
|
1358 <hws_lines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1359 <official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1360 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1361 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1362 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1363 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
|
1364 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
|
1365 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
|
1366 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
|
1367 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
|
1368 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
|
1369 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1370 <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
|
1371 <dc:context> |
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 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1374 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
|
1375 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
|
1376 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
|
1377 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
|
1378 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
|
1379 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
|
1380 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1381 <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
|
1382 <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
|
1383 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1384 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1385 </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
|
1386 </dc:context> |
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 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
|
1391 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
|
1392 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
|
1393 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
|
1394 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
|
1395 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
|
1396 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
|
1397 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1398 <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
|
1399 <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
|
1400 </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
|
1401 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1402 </official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1403 <inofficial> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1404 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1405 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1406 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1407 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
|
1408 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
|
1409 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
|
1410 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
|
1411 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
|
1412 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
|
1413 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1414 <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
|
1415 <dc:context> |
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 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1418 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
|
1419 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
|
1420 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
|
1421 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
|
1422 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
|
1423 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
|
1424 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1425 <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
|
1426 <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
|
1427 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1428 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1429 </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
|
1430 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1431 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1432 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1433 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1434 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
|
1435 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
|
1436 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
|
1437 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
|
1438 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
|
1439 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
|
1440 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1441 <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
|
1442 <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
|
1443 </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
|
1444 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1445 </inofficial> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1446 </hws_lines> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1447 </dc:macro> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1448 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1449 <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
|
1450 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1451 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
|
1452 availble |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1453 </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
|
1454 |
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
|
1455 <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
|
1456 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1457 <hws factory="wmshwspointsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1458 ids="{$river_id};{$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
|
1459 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
|
1460 </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
|
1461 </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
|
1462 |
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
|
1463 <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
|
1464 <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
|
1465 <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
|
1466 <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
|
1467 </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
|
1468 </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
|
1469 </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
|
1470 |
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
|
1471 <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
|
1472 <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
|
1473 <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
|
1474 <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
|
1475 </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
|
1476 </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
|
1477 </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
|
1478 |
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
|
1479 <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
|
1480 <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
|
1481 <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
|
1482 <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
|
1483 </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
|
1484 </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
|
1485 </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
|
1486 </dc:macro> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1487 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1488 <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
|
1489 <hws_points> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1490 <official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1491 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1492 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1493 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1494 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
|
1495 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
|
1496 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
|
1497 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
|
1498 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
|
1499 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
|
1500 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1501 <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
|
1502 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1503 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1504 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1505 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
|
1506 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
|
1507 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
|
1508 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
|
1509 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
|
1510 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
|
1511 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1512 <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
|
1513 <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
|
1514 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1515 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1516 </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
|
1517 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1518 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1519 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1520 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1521 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
|
1522 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
|
1523 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
|
1524 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
|
1525 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
|
1526 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
|
1527 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
|
1528 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1529 <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
|
1530 <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
|
1531 </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
|
1532 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1533 </official> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1534 <inofficial> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1535 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1536 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1537 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1538 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
|
1539 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
|
1540 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
|
1541 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
|
1542 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
|
1543 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
|
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 <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
|
1546 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1547 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1548 SELECT DISTINCT |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1549 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
|
1550 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
|
1551 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
|
1552 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
|
1553 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
|
1554 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
|
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 <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
|
1557 <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
|
1558 </fedstate> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1559 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1560 </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
|
1561 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1562 <dc:context> |
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 SELECT distinct |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1565 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
|
1566 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
|
1567 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
|
1568 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
|
1569 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
|
1570 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
|
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 <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
|
1573 <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
|
1574 </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
|
1575 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1576 </inofficial> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1577 </hws_points> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1578 </dc:macro> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1579 |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1580 <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
|
1581 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1582 <dc:statement> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1583 SELECT DISTINCT |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1584 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
|
1585 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
|
1586 FROM buildings b |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1587 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
|
1588 WHERE b.river_id = ${river_id} |
5467
6aa04b30f7ff
Do not use != in sql statement
Andre Heinecke <aheinecke@intevation.de>
parents:
5466
diff
changeset
|
1589 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
|
1590 </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
|
1591 <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
|
1592 <buildings description="{$building_kind}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1593 factory="wmsbuildingsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1594 ids="{$river_id};{$building_kind};{$building_kind_id}"/> |
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
|
1595 </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
|
1596 </dc:context> |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1597 <dc:context> |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1598 <dc:statement> |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1599 SELECT DISTINCT |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1600 b.name AS building_name, |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1601 bk.name AS building_kind, |
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1602 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
|
1603 FROM buildings b |
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1604 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
|
1605 WHERE river_id = ${river_id} |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1606 AND kind_id = 0 |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1607 </dc:statement> |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1608 <dc:if test="dc:has-result()"> |
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1609 <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
|
1610 <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
|
1611 <buildings description="{$building_name}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1612 factory="wmsbuildingsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1613 ids="{$river_id};{$building_name}"/> |
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
|
1614 </dc:for-each> |
5796
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1615 </other> |
53cff50918b1
Fix other buildings.
Andre Heinecke <aheinecke@intevation.de>
parents:
5772
diff
changeset
|
1616 </dc:if> |
5435
70026e3b6af3
Add buildings of kind 0 to data cage
Andre Heinecke <aheinecke@intevation.de>
parents:
5405
diff
changeset
|
1617 </dc:context> |
5437
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1618 <dc:context> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1619 <dc:statement> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1620 SELECT DISTINCT |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1621 j.kind_id AS jetty_kind_id, |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1622 jk.name AS jetty_kind |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1623 FROM jetties j |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1624 JOIN jetty_kinds jk ON j.kind_id = jk.id |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1625 WHERE river_id = ${river_id} |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1626 </dc:statement> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1627 <dc:if test="dc:has-result()"> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1628 <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
|
1629 <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
|
1630 <jetty description="{$jetty_kind}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1631 factory="wmsjettiesfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1632 ids="{$river_id};{$jetty_kind};{$jetty_kind_id}"/> |
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
|
1633 </dc:for-each> |
5437
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1634 </jetties> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1635 </dc:if> |
b582df0c7b00
Add Jetties to floodmap
Andre Heinecke <aheinecke@intevation.de>
parents:
5435
diff
changeset
|
1636 </dc:context> |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1637 </dc:macro> |
5464
f2bcf0fb1efd
Add externalwms for Catchments to datacage config
Andre Heinecke <aheinecke@intevation.de>
parents:
5463
diff
changeset
|
1638 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1639 <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
|
1640 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1641 <dc:statement> |
5533
65fa2b22dc46
Remove useless km_exists statements
Andre Heinecke <aheinecke@intevation.de>
parents:
5529
diff
changeset
|
1642 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
|
1643 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
|
1644 </dc:statement> |
5533
65fa2b22dc46
Remove useless km_exists statements
Andre Heinecke <aheinecke@intevation.de>
parents:
5529
diff
changeset
|
1645 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1646 <fixpoints factory="wmsfixpointsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1647 ids="{$river_id};{$name}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1648 </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
|
1649 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1650 </dc:macro> |
5466
ba1bf40a9787
Restructure datacage to have a route_data folder
Andre Heinecke <aheinecke@intevation.de>
parents:
5464
diff
changeset
|
1651 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1652 <dc:macro name="flood-map-gaugelocations"> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1653 <gauge_points factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelpunkte (WSV)"/> |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1654 <gauge_names factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelnamen;Pegelnamen (WSV)"/> |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1655 <gauge_level factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelwasserstand;Aktueller Wasserstand (WSV)"/> |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1656 <gauge_tendency factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;TendenzWasserstand;Tendenz des Wasserstands (WSV)"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1657 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1658 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1659 <dc:macro name="flood-map-uesk"> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1660 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1661 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1662 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
|
1663 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1664 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1665 <uesk> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1666 <calculations> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1667 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1668 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1669 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
|
1670 AND (kind = 112 OR kind = 111) |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1671 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1672 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1673 <current> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1674 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1675 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1676 SELECT DISTINCT name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1677 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1678 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
|
1679 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1680 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1681 <bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1682 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1683 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1684 ids="{$river_id};{$name}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1685 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1686 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1687 </bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1688 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1689 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1690 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1691 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1692 SELECT DISTINCT name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1693 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1694 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
|
1695 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1696 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1697 <federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1698 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1699 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1700 ids="{$river_id};{$name}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1701 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1702 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1703 </federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1704 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1705 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1706 </current> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1707 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1708 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1709 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1710 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1711 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
|
1712 AND (kind = 122 OR kind = 121) |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1713 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1714 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1715 <potential> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1716 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1717 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1718 SELECT DISTINCT name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1719 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1720 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
|
1721 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1722 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1723 <bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1724 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1725 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1726 ids="{$river_id};{$name}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1727 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1728 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1729 </bfg> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1730 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1731 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1732 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1733 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1734 SELECT DISTINCT |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1735 name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1736 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1737 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
|
1738 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1739 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1740 <federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1741 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1742 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1743 ids="{$river_id};{$name}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1744 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1745 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1746 </federal> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1747 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1748 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1749 </potential> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1750 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1751 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1752 </calculations> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1753 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1754 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1755 SELECT DISTINCT |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1756 source AS source |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1757 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1758 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
|
1759 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1760 <dc:if test="dc:has-result()"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1761 <measurements> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1762 <dc:for-each> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1763 <year name="{$source}"> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1764 <dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1765 <dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1766 SELECT DISTINCT |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1767 name AS name |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1768 FROM floodmaps |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1769 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
|
1770 ${source} |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1771 </dc:statement> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1772 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1773 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1774 ids="{$river_id};{$name}" |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1775 name="{$name}"/> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1776 </dc:for-each> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1777 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1778 </year> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1779 </dc:for-each> |
5534
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1780 </measurements> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1781 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1782 </dc:context> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1783 </uesk> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1784 </dc:if> |
a11c6f680487
Add uesg as specified to the datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5533
diff
changeset
|
1785 </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
|
1786 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1787 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1788 <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
|
1789 <qps> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1790 <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
|
1791 </qps> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1792 <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
|
1793 <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
|
1794 <axis> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1795 <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
|
1796 </axis> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1797 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1798 |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1799 <dc:macro name="floodmarks"> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1800 <dc:context> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1801 <dc:statement> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1802 SELECT DISTINCT |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1803 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
|
1804 FROM flood_marks |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1805 WHERE river_id = ${river_id} |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1806 </dc:statement> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1807 <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
|
1808 <floodmarks> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1809 <dc:for-each> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1810 <floodmark name="{$year}" |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1811 factory="wmsfloodmarkfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1812 ids="{$river_id};{$year};{$year}"/> |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1813 </dc:for-each> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1814 </floodmarks> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1815 </dc:if> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1816 </dc:context> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1817 </dc:macro> |
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1818 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1819 <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
|
1820 <buildings> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1821 <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
|
1822 </buildings> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
1823 <catchments> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1824 <catchment_wms factory="externalwmsfactory" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1825 ids="http://geoportal.bafg.de/wmsproxy/INSPIRE/DrainageBasin;HY.PHYSICALWATERS.CATCHMENTS;Einzugsgebiete (WMS)" /> |
5761
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
1826 <gaugelocations> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
1827 <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
|
1828 </gaugelocations> |
4416dd518103
Remove OSM Intevation.de background layer from datacage :(
Andre Heinecke <aheinecke@intevation.de>
parents:
5760
diff
changeset
|
1829 </catchments> |
5547
38713f32a785
Add Floodmarks and all specified WMS services to datacage
Andre Heinecke <aheinecke@intevation.de>
parents:
5534
diff
changeset
|
1830 <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
|
1831 <hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1832 <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
|
1833 <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
|
1834 </hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1835 <route_data> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1836 <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
|
1837 </route_data> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1838 <hydrboundaries> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1839 <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
|
1840 <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
|
1841 </hydrboundaries> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1842 <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
|
1843 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1844 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1845 </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
|
1846 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1847 <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
|
1848 <single> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1849 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1850 <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
|
1851 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
|
1852 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
|
1853 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
|
1854 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
|
1855 </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
|
1856 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1857 <height factory="bedheight" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1858 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1859 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
|
1860 </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
|
1861 </dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1862 </single> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1863 </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
|
1864 |
5405
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1865 <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
|
1866 <epoch> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1867 <dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1868 <dc:statement> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1869 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
|
1870 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
|
1871 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
|
1872 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
|
1873 </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
|
1874 <dc:for-each> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1875 <height factory="bedheight" out="{$OUT}" |
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1876 ids="bedheight-epoch-{$bedh_id}-{$bedh_interval_id}" |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1877 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
|
1878 </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
|
1879 </dc:context> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1880 </epoch> |
5ca06120b918
Remove river_name and map elements to reduce datacage level depth
Andre Heinecke <aheinecke@intevation.de>
parents:
5404
diff
changeset
|
1881 </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
|
1882 |
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
|
1883 </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
|
1884 </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
|
1885 </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
|
1886 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1887 <dc:choose> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1888 <dc:comment> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1889 User specific part |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1890 ------------------ |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
1891 </dc:comment> |
5598
989c0d196bfe
Do not show old calculations in hws datacage selection
Andre Heinecke <aheinecke@intevation.de>
parents:
5597
diff
changeset
|
1892 <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
|
1893 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
|
1894 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1895 <old_calculations> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
1896 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1897 <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
|
1898 <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
|
1899 <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
|
1900 <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
|
1901 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1902 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
|
1903 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
|
1904 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
|
1905 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
|
1906 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1907 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1908 <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
|
1909 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1910 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
|
1911 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
|
1912 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
|
1913 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
|
1914 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
|
1915 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
|
1916 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
|
1917 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
|
1918 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
|
1919 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
|
1920 AND EXISTS ( |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1921 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
|
1922 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1923 <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
|
1924 <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
|
1925 <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
|
1926 <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
|
1927 <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
|
1928 </dc:if> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1929 </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
|
1930 </dc:macro> |
5670 | 1931 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1932 <!-- OFFICIAL LINES --> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1933 <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
|
1934 <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
|
1935 <officiallines> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1936 <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
|
1937 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1938 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1939 SELECT m.id AS a_id, |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1940 m.state AS a_state, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1941 m.gid AS a_gid, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1942 m.creation AS a_creation, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1943 ardg.v AS gaugy, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1944 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
|
1945 FROM master_artifacts m, |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1946 artifact_data ardg, |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1947 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
|
1948 WHERE m.collection_id = ${collection_id} |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1949 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
|
1950 AND ardg.artifact_id = m.id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1951 AND ardg.k = 'ld_gaugename' |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1952 AND arv.artifact_id = m.id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1953 AND arv.k = 'wq_single' |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1954 AND EXISTS ( |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1955 SELECT id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1956 FROM artifact_data ad |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1957 WHERE ad.artifact_id = m.id |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1958 AND k = 'river' |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1959 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
|
1960 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1961 <dc:for-each> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1962 <dc:context connection="system"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1963 <dc:statement> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1964 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
|
1965 FROM official_q_values ol |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1966 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
|
1967 </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
|
1968 <dc:for-each> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1969 <dc:element name="${olname}"> |
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1970 <dc:attribute name="name" value="${olname}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1971 <dc:attribute name="ids" value="additionals-wstv-${wstcolpos}-${wstid}"/> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1972 <dc:attribute name="factory" value="staticwkms"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
1973 <dc:attribute name="out" value="${out}"/> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1974 </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
|
1975 </dc:for-each> |
3307
81a98f360553
Very basic official lines in dc, malplaced.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3283
diff
changeset
|
1976 </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
|
1977 </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
|
1978 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1979 </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
|
1980 </officiallines> |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
1981 </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
|
1982 <!-- 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
|
1983 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1984 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1985 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
|
1986 </dc:comment> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
1987 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1988 <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
|
1989 <differences> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1990 <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
|
1991 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
1992 <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
|
1993 <dc:context> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
1994 <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
|
1995 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
|
1996 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
|
1997 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
|
1998 </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
|
1999 <dc:for-each> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2000 <dc:element name="${facet_name}"> |
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2001 <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
|
2002 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2003 <!-- <dc:attribute name="out" value="${out}"/>--> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2004 <dc:attribute name="artifact-id" value="${aid}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2005 <dc:attribute name="ids" value="${aid}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2006 <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
|
2007 </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
|
2008 </dc:for-each> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2009 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2010 </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
|
2011 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2012 </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
|
2013 </differences> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2014 </dc:macro> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
2015 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2016 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2017 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
|
2018 </dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2019 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2020 <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
|
2021 <reference_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2022 <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
|
2023 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2024 <dc:call-macro name="user-range"> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2025 <dc:context> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2026 <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
|
2027 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
|
2028 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
|
2029 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
|
2030 </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
|
2031 <dc:for-each> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2032 <dc:element name="${facet_name}"> |
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2033 <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
|
2034 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2035 <!-- <dc:attribute name="out" value="${out}"/>--> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2036 <dc:attribute name="artifact-id" value="${aid}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2037 <dc:attribute name="ids" value="${aid}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2038 <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
|
2039 </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
|
2040 </dc:for-each> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2041 </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
|
2042 </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
|
2043 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2044 </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
|
2045 </reference_curves> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2046 </dc:macro> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2047 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2048 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2049 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
|
2050 </dc:comment> |
2722
36631f23acdf
Allow loading of previous reference curves.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2721
diff
changeset
|
2051 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2052 <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
|
2053 <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
|
2054 <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
|
2055 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2056 <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
|
2057 <dc:context> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2058 <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
|
2059 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
|
2060 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
|
2061 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
|
2062 </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
|
2063 <dc:for-each> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2064 <dc:element name="${facet_name}"> |
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2065 <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
|
2066 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2067 <!-- <dc:attribute name="out" value="${out}"/>--> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2068 <dc:attribute name="artifact-id" value="${aid}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2069 <dc:attribute name="ids" value="${aid}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2070 <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
|
2071 </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
|
2072 </dc:for-each> |
1880
ebd16028efa3
Include computed discharge curves in dc conf.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1879
diff
changeset
|
2073 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2074 </dc:call-macro> |
3579
accb64be866c
Add annotations to fixA longitudinal Sections.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3574
diff
changeset
|
2075 </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
|
2076 </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
|
2077 </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
|
2078 </dc:macro> |
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> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2081 CROSS SECTION |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2082 </dc:comment> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2083 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2084 <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
|
2085 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2086 <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
|
2087 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2088 <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
|
2089 <dc:context> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2090 <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
|
2091 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
|
2092 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2093 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
|
2094 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2095 <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
|
2096 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2097 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2098 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
|
2099 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2100 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
|
2101 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
|
2102 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2103 <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
|
2104 <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
|
2105 <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
|
2106 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2107 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2108 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2109 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2110 <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
|
2111 <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
|
2112 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2113 </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
|
2114 </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
|
2115 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2116 </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
|
2117 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2118 </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
|
2119 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2120 </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
|
2121 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2122 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2123 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2124 <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
|
2125 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2126 <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
|
2127 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2128 <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
|
2129 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2130 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2131 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
|
2132 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2133 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
|
2134 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2135 <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
|
2136 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2137 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2138 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
|
2139 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2140 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
|
2141 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
|
2142 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2143 <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
|
2144 <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
|
2145 <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
|
2146 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2147 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2148 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2149 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2150 <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
|
2151 <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
|
2152 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2153 </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
|
2154 </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
|
2155 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2156 </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
|
2157 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2158 </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
|
2159 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2160 </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
|
2161 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2162 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2163 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2164 <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
|
2165 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2166 <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
|
2167 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2168 <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
|
2169 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2170 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2171 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
|
2172 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2173 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
|
2174 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2175 <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
|
2176 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2177 <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
|
2178 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2179 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
|
2180 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2181 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
|
2182 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
|
2183 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
|
2184 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
|
2185 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
|
2186 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
|
2187 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2188 <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
|
2189 <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
|
2190 <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
|
2191 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2192 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2193 <dc:attribute name="factory" value="fixanalysis"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2194 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2195 <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
|
2196 <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
|
2197 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2198 </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
|
2199 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2200 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2201 </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
|
2202 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2203 </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
|
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:for-each> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2206 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2207 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2208 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2209 <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
|
2210 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2211 <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
|
2212 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2213 <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
|
2214 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2215 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2216 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
|
2217 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2218 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
|
2219 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2220 <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
|
2221 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2222 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2223 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
|
2224 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2225 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
|
2226 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
|
2227 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
|
2228 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
|
2229 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
|
2230 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
|
2231 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
|
2232 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2233 <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
|
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: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
|
2236 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2237 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2238 <dc:attribute name="factory" value="fixanalysis"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2239 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2240 <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
|
2241 <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
|
2242 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2243 </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
|
2244 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2245 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2246 </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
|
2247 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2248 </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
|
2249 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2250 </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
|
2251 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2252 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2253 |
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
|
2254 <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
|
2255 <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
|
2256 <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
|
2257 <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
|
2258 <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
|
2259 <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
|
2260 <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
|
2261 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
|
2262 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
|
2263 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
|
2264 </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
|
2265 <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
|
2266 <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
|
2267 <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
|
2268 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
|
2269 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
|
2270 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
|
2271 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
|
2272 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
|
2273 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
|
2274 </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
|
2275 <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
|
2276 <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
|
2277 <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
|
2278 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2279 <dc:attribute name="ids" value="${facet_num}"/> |
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
|
2280 <dc:attribute name="factory" value="fixanalysis"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2281 <!-- <dc:attribute name="out" value="${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
|
2282 <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
|
2283 <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
|
2284 </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
|
2285 </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
|
2286 </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
|
2287 </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
|
2288 </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
|
2289 </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
|
2290 </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
|
2291 </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
|
2292 </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
|
2293 </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
|
2294 </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
|
2295 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2296 <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
|
2297 <waterlevels> |
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 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2300 <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
|
2301 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2302 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2303 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
|
2304 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2305 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
|
2306 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2307 <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
|
2308 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2309 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2310 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
|
2311 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2312 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
|
2313 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
|
2314 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2315 <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
|
2316 <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
|
2317 <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
|
2318 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2319 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2320 <dc:attribute name="factory" value="fixanalysis"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2321 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2322 <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
|
2323 <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
|
2324 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2325 </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
|
2326 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2327 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2328 </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
|
2329 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2330 </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
|
2331 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2332 </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
|
2333 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2334 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2335 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2336 <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
|
2337 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2338 <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
|
2339 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2340 <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
|
2341 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2342 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2343 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
|
2344 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2345 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
|
2346 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2347 <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
|
2348 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2349 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2350 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
|
2351 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2352 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
|
2353 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
|
2354 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
|
2355 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
|
2356 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
|
2357 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
|
2358 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2359 <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
|
2360 <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
|
2361 <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
|
2362 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2363 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2364 <dc:attribute name="factory" value="fixanalysis"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2365 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2366 <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
|
2367 <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
|
2368 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2369 </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
|
2370 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2371 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2372 </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
|
2373 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2374 </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
|
2375 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2376 </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
|
2377 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2378 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2379 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2380 <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
|
2381 <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
|
2382 <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
|
2383 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2384 <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
|
2385 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2386 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2387 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
|
2388 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
|
2389 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
|
2390 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
|
2391 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
|
2392 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
|
2393 WHERE |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2394 (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
|
2395 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
|
2396 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
|
2397 a.id = ${a_id} |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2398 </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
|
2399 <dc:for-each> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2400 <dc:element name="${facet_name}"> |
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2401 <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
|
2402 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2403 <!-- <dc:attribute name="out" value="${out}"/>--> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2404 <dc:attribute name="artifact-id" value="${aid}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2405 <dc:attribute name="ids" value="${aid}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2406 <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
|
2407 </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
|
2408 </dc:for-each> |
2690
15c6f79ca3e2
Add duration_curve.q loading via datacage.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
2689
diff
changeset
|
2409 </dc:context> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2410 </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
|
2411 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2412 </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
|
2413 </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
|
2414 </dc:macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
2415 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2416 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2417 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
|
2418 </dc:comment> |
1879
d7369f395a80
Somewhat unified user-part of dc config.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
1875
diff
changeset
|
2419 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2420 <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
|
2421 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2422 <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
|
2423 <waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2424 <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
|
2425 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2426 <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
|
2427 <dc:context> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2428 <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
|
2429 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
|
2430 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2431 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
|
2432 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2433 <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
|
2434 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2435 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2436 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
|
2437 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2438 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
|
2439 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
|
2440 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2441 <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
|
2442 <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
|
2443 <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
|
2444 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2445 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2446 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2447 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2448 <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
|
2449 <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
|
2450 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2451 </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
|
2452 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2453 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2454 </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
|
2455 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2456 </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
|
2457 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2458 </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
|
2459 </waterlevels> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2460 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2461 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2462 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2463 SHOW FLOODMAPS |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2464 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2465 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2466 <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
|
2467 <floodmap> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2468 <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
|
2469 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2470 <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
|
2471 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2472 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2473 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
|
2474 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
|
2475 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
|
2476 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
|
2477 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
|
2478 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
|
2479 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
|
2480 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
|
2481 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
|
2482 a.id = ${a_id} |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2483 </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
|
2484 <dc:for-each> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2485 <dc:element name="${facet_name}"> |
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2486 <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
|
2487 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2488 <!-- <dc:attribute name="out" value="${out}"/>--> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2489 <dc:attribute name="artifact-id" value="${aid}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2490 <dc:attribute name="ids" value="${aid}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2491 <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
|
2492 </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
|
2493 </dc:for-each> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2494 </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
|
2495 </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
|
2496 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2497 </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
|
2498 </floodmap> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2499 </dc:macro> |
2096
bf598599782a
Made old calculation results available for floodmaps.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
2086
diff
changeset
|
2500 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2501 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2502 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
|
2503 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2504 |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2505 <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
|
2506 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2507 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2508 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
|
2509 FROM outs |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2510 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
|
2511 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2512 <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
|
2513 <dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2514 <dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2515 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
|
2516 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
|
2517 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
|
2518 FROM facets |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2519 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
|
2520 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
|
2521 </dc:statement> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2522 <own-hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2523 <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
|
2524 <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
|
2525 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2526 <dc:attribute name="ids" value="${facet_num}"/> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2527 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2528 <!-- <dc:attribute name="out" value="${out}"/>--> |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2529 <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
|
2530 <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
|
2531 </dc:element> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2532 </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
|
2533 </own-hws> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2534 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2535 </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
|
2536 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2537 </dc:macro> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
2538 |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2539 <dc:macro name="bedquality-bed"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2540 <bed_quality_bed> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2541 <dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2542 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2543 <dc:call-macro name="range-filter"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2544 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2545 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2546 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2547 FROM outs AS o |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2548 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2549 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2550 o.name='bed_longitudinal_section' |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2551 </dc:statement> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2552 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2553 <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
|
2554 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2555 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2556 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2557 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2558 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2559 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2560 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2561 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
|
2562 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2563 (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
|
2564 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
|
2565 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2566 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2567 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2568 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2569 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2570 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2571 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2572 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2573 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2574 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2575 <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
|
2576 <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
|
2577 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2578 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2579 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2580 </quality-bed> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2581 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2582 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2583 </dc:call-macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2584 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2585 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2586 </bed_quality_bed> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2587 </dc:macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2588 |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2589 <dc:macro name="bedquality-load"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2590 <bed_quality_load> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2591 <dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2592 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2593 <dc:call-macro name="range-filter"> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2594 <dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2595 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2596 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2597 FROM outs AS o |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2598 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2599 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2600 o.name='bed_longitudinal_section' |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2601 </dc:statement> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2602 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2603 <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
|
2604 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2605 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2606 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2607 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2608 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2609 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2610 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2611 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
|
2612 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2613 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
|
2614 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2615 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2616 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2617 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2618 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2619 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2620 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2621 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2622 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2623 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2624 <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
|
2625 <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
|
2626 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2627 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2628 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2629 </quality-load> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2630 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2631 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2632 </dc:call-macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2633 </dc:context> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2634 </dc:for-each> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2635 </bed_quality_load> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2636 </dc:macro> |
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2637 |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2638 <dc:macro name="bedquality-density"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2639 <bed_quality_density> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2640 <dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2641 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2642 <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
|
2643 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2644 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2645 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2646 FROM outs AS o |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2647 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2648 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2649 o.name='bed_longitudinal_section' |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2650 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2651 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2652 <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
|
2653 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2654 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2655 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2656 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2657 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2658 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2659 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2660 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
|
2661 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2662 (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
|
2663 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
|
2664 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2665 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2666 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2667 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2668 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2669 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2670 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2671 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2672 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2673 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2674 <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
|
2675 <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
|
2676 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2677 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2678 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2679 </density> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2680 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2681 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2682 </dc:call-macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2683 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2684 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2685 </bed_quality_density> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2686 </dc:macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2687 |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2688 <dc:macro name="bedquality-porosity"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2689 <bed_quality_porosity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2690 <dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2691 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2692 <dc:call-macro name="range-filter"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2693 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2694 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2695 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2696 FROM outs AS o |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2697 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2698 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2699 o.name='bed_longitudinal_section' |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2700 </dc:statement> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2701 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2702 <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
|
2703 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2704 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2705 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2706 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2707 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2708 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2709 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2710 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
|
2711 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2712 (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
|
2713 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
|
2714 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2715 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2716 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2717 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2718 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2719 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2720 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2721 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2722 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2723 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2724 <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
|
2725 <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
|
2726 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2727 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2728 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2729 </porosity> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2730 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2731 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2732 </dc:call-macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2733 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2734 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2735 </bed_quality_porosity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2736 </dc:macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2737 |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2738 <dc:macro name="flow-velocity"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2739 <flow-velocity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2740 <dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2741 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2742 <dc:call-macro name="range-filter"> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2743 <dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2744 <dc:statement> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2745 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2746 FROM outs AS o |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2747 WHERE |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2748 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
|
2749 </dc:statement> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2750 <dc:for-each> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2751 <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
|
2752 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2753 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2754 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2755 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2756 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2757 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2758 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2759 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
|
2760 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2761 (f.name = 'flow_velocity.totalchannel' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2762 f.name = 'flow_velocity.mainchannel' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2763 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
|
2764 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
|
2765 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2766 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2767 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2768 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2769 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2770 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2771 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2772 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2773 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2774 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2775 <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
|
2776 <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
|
2777 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2778 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2779 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2780 </flow> |
5591
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2781 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2782 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2783 </dc:call-macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2784 </dc:context> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2785 </dc:for-each> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2786 </flow-velocity> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2787 </dc:macro> |
55d6c5cac9d1
Added new elements to M-INFO datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5579
diff
changeset
|
2788 |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2789 <dc:macro name="sediment-load"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2790 <sediment-load> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2791 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2792 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2793 <dc:call-macro name="range-filter"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2794 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2795 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2796 SELECT id AS oid |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2797 FROM outs AS o |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2798 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2799 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
|
2800 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2801 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2802 <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
|
2803 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2804 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2805 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2806 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2807 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2808 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2809 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2810 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
|
2811 WHERE f.name LIKE 'sedimentload%' AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2812 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2813 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2814 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2815 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2816 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2817 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2818 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2819 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2820 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2821 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2822 <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
|
2823 <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
|
2824 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2825 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2826 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2827 </load> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2828 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2829 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2830 </dc:call-macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2831 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2832 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2833 </sediment-load> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2834 </dc:macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2835 |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2836 <dc:macro name="bedheight-differences"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2837 <bedheight-differences> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2838 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2839 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2840 <dc:call-macro name="range-filter"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2841 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2842 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2843 SELECT id AS oid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2844 name AS o_name |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2845 FROM outs AS o |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2846 WHERE |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2847 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2848 (o.name = 'bed_difference_year' OR |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2849 o.name = 'bed_differnece_epoch') |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2850 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2851 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2852 <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
|
2853 <dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2854 <dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2855 SELECT a.gid AS aid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2856 f.id AS fid, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2857 f.name AS facet_name, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2858 f.num AS facet_num, |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2859 f.description AS facet_description |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2860 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
|
2861 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
|
2862 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
|
2863 f.out_id = o.id AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2864 o.artifact_id = ${a_id} AND |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2865 a.id = ${a_id} |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2866 </dc:statement> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2867 <dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2868 <dc:element name="${facet_name}"> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2869 <dc:attribute name="factory" value="minfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2870 <!-- <dc:attribute name="out" value="${out}"/>--> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2871 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2872 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5631
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2873 <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
|
2874 <dc:choose> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2875 <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
|
2876 <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
|
2877 </dc:when> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2878 <dc:otherwise> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2879 <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
|
2880 </dc:otherwise> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2881 </dc:choose> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2882 </dc:element> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2883 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2884 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2885 </difference> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2886 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2887 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2888 </dc:call-macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2889 </dc:context> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2890 </dc:for-each> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2891 </bedheight-differences> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2892 </dc:macro> |
ca4b6263996c
Added old calculations to datacage 'M-INFO Sedimentfracht'.
Raimund Renkert <rrenkert@intevation.de>
parents:
5627
diff
changeset
|
2893 |
5669
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
2894 <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
|
2895 <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
|
2896 <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
|
2897 <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
|
2898 <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
|
2899 <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
|
2900 <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
|
2901 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
|
2902 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
|
2903 WHERE |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
2904 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
|
2905 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
|
2906 </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
|
2907 <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
|
2908 <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
|
2909 <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
|
2910 <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
|
2911 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
|
2912 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
|
2913 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
|
2914 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
|
2915 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
|
2916 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
|
2917 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
|
2918 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
|
2919 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
|
2920 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
|
2921 </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
|
2922 <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
|
2923 <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
|
2924 <dc:attribute name="factory" value="winfo"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2925 <!-- <dc:attribute name="out" value="${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
|
2926 <dc:attribute name="description" value="${facet_description}"/> |
6021
5f34e4cb8095
Use the out attribute everywhere where there is a factory
Andre Heinecke <aheinecke@intevation.de>
parents:
6003
diff
changeset
|
2927 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
5669
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
2928 <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
|
2929 <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
|
2930 </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
|
2931 </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
|
2932 </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
|
2933 </discharge> |
dc731d2937f9
Added basedata and old calculations to middle bedheight dc and added new macros.
Raimund Renkert <rrenkert@intevation.de>
parents:
5631
diff
changeset
|
2934 </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
|
2935 </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
|
2936 </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
|
2937 </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
|
2938 </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
|
2939 </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
|
2940 </dc:macro> |
5549
38acd82feeac
Added bed quality facets to flow velocity datacage.
Raimund Renkert <rrenkert@intevation.de>
parents:
5534
diff
changeset
|
2941 |
5976
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2942 <dc:iterate var="out" container="artifact-outs"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2943 <dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2944 <dc:when test="$out = 'longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2945 <dc:call-macro name="longitudinal"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2946 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2947 <dc:call-macro name="officiallines_user"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2948 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2949 <dc:when test="$out = 'discharge_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2950 <dc:call-macro name="longitudinal"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2951 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2952 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2953 <dc:when test="$out = 'w_differences'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2954 <dc:call-macro name="longitudinal"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2955 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2956 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2957 <dc:when test="$out = 'fix_deltawt_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2958 <dc:call-macro name="delta-wt"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2959 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2960 <dc:when test="$out = 'reference_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2961 <dc:call-macro name="reference-curves"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2962 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2963 <dc:when test="$out = 'computed_discharge_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2964 <dc:call-macro name="computed-discharge-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2965 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2966 <dc:when test="$out = 'cross_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2967 <dc:call-macro name="waterlevels"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2968 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2969 <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
|
2970 <dc:call-macro name="longitudinal-section"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2971 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2972 <dc:when test="$out = 'fix_derivate_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2973 <dc:call-macro name="fix-derivate-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2974 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2975 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2976 <dc:call-macro name="fix-wq-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2977 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2978 <dc:when test="$out = 'duration_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2979 <dc:call-macro name="duration-curve"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2980 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2981 <dc:when test="$out = 'waterlevels'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2982 <!-- base data --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2983 <dc:call-macro name="basedata_0"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2984 <!-- extra-longitudinal-sections --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2985 <dc:call-macro name="basedata_1_additionals"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2986 <!-- fixations --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2987 <dc:call-macro name="basedata_2_fixations"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2988 <!-- flood water marks--> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2989 <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
|
2990 <!-- flood protection --> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2991 <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
|
2992 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2993 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2994 <dc:when test="$out = 'fix_wq_curve'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2995 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2996 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2997 <dc:when test="$out = 'floodmap'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2998 <dc:call-macro name="flood-map"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
2999 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3000 <dc:when test="$out = 'map'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3001 <dc:call-macro name="flood-map"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3002 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3003 <dc:when test="$out = 'bedheight_middle'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3004 <dc:call-macro name="waterlevels-discharge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3005 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3006 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3007 <dc:when test="$out = 'floodmap-hws'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3008 <dc:call-macro name="floodmap-hws-user"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3009 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3010 <dc:when test="$out = 'flow_velocity'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3011 <dc:call-macro name="bedquality-bed"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3012 <dc:call-macro name="bedquality-load"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3013 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3014 <dc:when test="$out = 'bed_longitudinal_section'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3015 <dc:call-macro name="bedquality-bed"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3016 <dc:call-macro name="bedquality-load"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3017 <dc:call-macro name="bedquality-density"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3018 <dc:call-macro name="bedquality-porosity"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3019 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3020 <dc:when test="$out = 'sedimentload_ls'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3021 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3022 <dc:call-macro name="bedheight-differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3023 <dc:call-macro name="flow-velocity"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3024 <dc:call-macro name="sediment-load"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3025 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3026 <dc:when test="$out = 'bed_difference_year'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3027 <dc:call-macro name="waterlevels-discharge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3028 <dc:call-macro name="bedheight-differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3029 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3030 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3031 <dc:call-macro name="delta-wt-ls"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3032 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3033 <dc:when test="$out = 'bed_difference_epoch'"> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3034 <dc:call-macro name="waterlevels-discharge"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3035 <dc:call-macro name="bedheight-differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3036 <dc:call-macro name="differences"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3037 <dc:call-macro name="waterlevels-fix"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3038 <dc:call-macro name="delta-wt-ls"/> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3039 </dc:when> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3040 </dc:choose> |
178a873df7a9
Add OUT parameter to each ids parameter
Andre Heinecke <aheinecke@intevation.de>
parents:
5884
diff
changeset
|
3041 </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
|
3042 </dc:context> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3043 </dc:call-macro> |
5015
86e79fbb8fa3
Added km filter to dc-config.
Raimund Renkert <rrenkert@intevation.de>
parents:
4895
diff
changeset
|
3044 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3045 </old_calculations> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
3046 |
5523
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3047 <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
|
3048 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3049 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
|
3050 ----------------------------------------------------------------- |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3051 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3052 <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
|
3053 </dc:if> |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3054 </dc:when> |
1657
91d038c7aae5
Bugfix: #328 Improved datacage configuration and labels for selected waterlevels.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
1186
diff
changeset
|
3055 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3056 <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
|
3057 <dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3058 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
|
3059 --------------------------------------------------------- |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3060 </dc:comment> |
35dba807966a
Applied contrib/inline-dc-attribute.xsl und fix idention. Need testing
Sascha L. Teichmann <teichmann@intevation.de>
parents:
5522
diff
changeset
|
3061 <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
|
3062 </dc:otherwise> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3063 </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
|
3064 |
1046
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3065 </datacage> |
0a5eff5511b1
Fixed flys/issue262: Unified user and system datacage template
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
diff
changeset
|
3066 </dc:template> |