Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 1916:efff4305dc05
Extended DC conf to offer w/q kind of data (currently used in computed discharge curve diagr. only).
flys-artifacts/trunk@3276 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 16 Nov 2011 15:53:52 +0000 |
parents | d025009fec73 |
children | 4c10a4cb978f |
comparison
equal
deleted
inserted
replaced
1915:6b7557ffe2f8 | 1916:efff4305dc05 |
---|---|
42 </basedata> | 42 </basedata> |
43 </dc:elements> | 43 </dc:elements> |
44 </dc:context> | 44 </dc:context> |
45 </basedata> | 45 </basedata> |
46 </dc:macro> | 46 </dc:macro> |
47 <dc:macro name="basedata_0_wq"> | |
48 <dc:comment comment=" BASEDATA ---------------------------"/> | |
49 <basedata> | |
50 <dc:context> | |
51 <dc:statement> | |
52 SELECT id AS prot_id, | |
53 description AS prot_description | |
54 FROM wsts WHERE kind = 0 AND river_id = ${river_id} | |
55 </dc:statement> | |
56 <dc:elements> | |
57 <basedata> | |
58 <dc:attribute name="name" value="${prot_description}"/> | |
59 <dc:context> | |
60 <dc:statement> | |
61 SELECT id AS prot_column_id, | |
62 name AS prot_column_name, | |
63 position AS prot_rel_pos | |
64 FROM wst_columns WHERE wst_id = ${prot_id} | |
65 ORDER by position | |
66 </dc:statement> | |
67 <dc:elements> | |
68 <column> | |
69 <dc:attribute name="name" value="${prot_column_name}"/> | |
70 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> | |
71 <dc:attribute name="factory" value="wqinterpol"/> | |
72 </column> | |
73 </dc:elements> | |
74 </dc:context> | |
75 </basedata> | |
76 </dc:elements> | |
77 </dc:context> | |
78 </basedata> | |
79 </dc:macro> | |
80 | |
47 <dc:macro name="basedata_1_additionals"> | 81 <dc:macro name="basedata_1_additionals"> |
48 <dc:comment comment=".ZUS -------------------------------"/> | 82 <dc:comment comment=".ZUS -------------------------------"/> |
49 <addtionals> | 83 <addtionals> |
50 <dc:context> | 84 <dc:context> |
51 <dc:statement> | 85 <dc:statement> |
185 <dc:elements> | 219 <dc:elements> |
186 <column> | 220 <column> |
187 <dc:attribute name="name" value="${prot_column_name}"/> | 221 <dc:attribute name="name" value="${prot_column_name}"/> |
188 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> | 222 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> |
189 <dc:attribute name="factory" value="staticwkms"/> | 223 <dc:attribute name="factory" value="staticwkms"/> |
224 </column> | |
225 </dc:elements> | |
226 </dc:context> | |
227 </heightmark> | |
228 </dc:elements> | |
229 </dc:context> | |
230 </heightmarks> | |
231 </dc:macro> | |
232 <dc:macro name="basedata_4_heightmarks-wq"> | |
233 <heightmarks> | |
234 <dc:context> | |
235 <dc:statement> | |
236 SELECT id AS prot_id, | |
237 description AS prot_description | |
238 FROM wsts WHERE kind = 4 AND river_id = ${river_id} | |
239 </dc:statement> | |
240 <dc:elements> | |
241 <heightmark> | |
242 <dc:attribute name="name" value="${prot_description}"/> | |
243 <dc:context> | |
244 <dc:statement> | |
245 SELECT id AS prot_column_id, | |
246 name AS prot_column_name, | |
247 position AS prot_rel_pos | |
248 FROM wst_columns WHERE wst_id = ${prot_id} | |
249 ORDER by position | |
250 </dc:statement> | |
251 <dc:elements> | |
252 <column> | |
253 <dc:attribute name="name" value="${prot_column_name}"/> | |
254 <dc:attribute name="ids" value="heightmarks_annotations-wstv-${prot_rel_pos}-${prot_id}"/> | |
255 <dc:attribute name="factory" value="wqinterpol"/> | |
190 </column> | 256 </column> |
191 </dc:elements> | 257 </dc:elements> |
192 </dc:context> | 258 </dc:context> |
193 </heightmark> | 259 </heightmark> |
194 </dc:elements> | 260 </dc:elements> |
278 <dc:if test="dc:contains($artifact-outs, 'discharge_longitudinal_section')"> | 344 <dc:if test="dc:contains($artifact-outs, 'discharge_longitudinal_section')"> |
279 <dc:call-macro name="basedata_0"/> | 345 <dc:call-macro name="basedata_0"/> |
280 <dc:call-macro name="basedata_4_heightmarks-points"/> | 346 <dc:call-macro name="basedata_4_heightmarks-points"/> |
281 </dc:if> | 347 </dc:if> |
282 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> | 348 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> |
283 <dc:call-macro name="basedata_0"/> | 349 <dc:call-macro name="basedata_0_wq"/> |
284 <dc:call-macro name="basedata_4_heightmarks-points"/> | 350 <dc:call-macro name="basedata_4_heightmarks-wq"/> |
285 </dc:if> | 351 </dc:if> |
286 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))"> | 352 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'w_differences'))"> |
287 <dc:call-macro name="basedata_0"/> | 353 <dc:call-macro name="basedata_0"/> |
288 <dc:call-macro name="basedata_1_additionals"/> | 354 <dc:call-macro name="basedata_1_additionals"/> |
289 <dc:comment comment=" FIXATIONS ---------------------------"/> | 355 <dc:comment comment=" FIXATIONS ---------------------------"/> |