Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 4895:065a78d65007
meta-data.xml: Access wst_ranges and provide range is info-element.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 28 Jan 2013 17:31:49 +0100 |
parents | 5741970e2c58 |
children | 137ff80f0a01 86e79fbb8fa3 1ffd36a06065 e37b25628dd4 |
comparison
equal
deleted
inserted
replaced
4894:5741970e2c58 | 4895:065a78d65007 |
---|---|
4 <dc:macro name="SQL-wst_columns_statement"> | 4 <dc:macro name="SQL-wst_columns_statement"> |
5 <dc:statement> | 5 <dc:statement> |
6 SELECT wst_columns.id AS prot_column_id, | 6 SELECT wst_columns.id AS prot_column_id, |
7 wst_columns.name AS prot_column_name, | 7 wst_columns.name AS prot_column_name, |
8 wst_columns.position AS prot_rel_pos, | 8 wst_columns.position AS prot_rel_pos, |
9 wst_columns.description AS info | 9 wst_columns.description AS info, |
10 FROM wst_columns WHERE wst_columns.wst_id = ${prot_id} | 10 wst_ranges.a AS deffrom, |
11 wst_ranges.b AS defto | |
12 FROM wst_columns, wst_ranges | |
13 WHERE wst_columns.wst_id = ${prot_id} AND wst_ranges.wst_column_id = wst_columns.id | |
11 ORDER by wst_columns.position | 14 ORDER by wst_columns.position |
12 </dc:statement> | 15 </dc:statement> |
13 </dc:macro> | 16 </dc:macro> |
14 <dc:macro name="load-system"> | 17 <dc:macro name="load-system"> |
15 <dc:context connection="system"> | 18 <dc:context connection="system"> |
38 <dc:elements> | 41 <dc:elements> |
39 <column> | 42 <column> |
40 <dc:attribute name="name" value="${prot_column_name}"/> | 43 <dc:attribute name="name" value="${prot_column_name}"/> |
41 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> | 44 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> |
42 <dc:attribute name="factory" value="staticwkms"/> | 45 <dc:attribute name="factory" value="staticwkms"/> |
43 <dc:attribute name="info" value="${info}"/> | 46 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
44 </column> | 47 </column> |
45 </dc:elements> | 48 </dc:elements> |
46 </dc:context> | 49 </dc:context> |
47 </basedata> | 50 </basedata> |
48 </dc:elements> | 51 </dc:elements> |
66 <dc:elements> | 69 <dc:elements> |
67 <column> | 70 <column> |
68 <dc:attribute name="name" value="${prot_column_name}"/> | 71 <dc:attribute name="name" value="${prot_column_name}"/> |
69 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> | 72 <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/> |
70 <dc:attribute name="factory" value="wqinterpol"/> | 73 <dc:attribute name="factory" value="wqinterpol"/> |
71 <dc:attribute name="info" value="${info}"/> | 74 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
72 </column> | 75 </column> |
73 </dc:elements> | 76 </dc:elements> |
74 </dc:context> | 77 </dc:context> |
75 </basedata> | 78 </basedata> |
76 </dc:elements> | 79 </dc:elements> |
95 <dc:elements> | 98 <dc:elements> |
96 <column> | 99 <column> |
97 <dc:attribute name="name" value="${prot_column_name}"/> | 100 <dc:attribute name="name" value="${prot_column_name}"/> |
98 <dc:attribute name="ids" value="additionalsmarks-wstv-${prot_rel_pos}-${prot_id}"/> | 101 <dc:attribute name="ids" value="additionalsmarks-wstv-${prot_rel_pos}-${prot_id}"/> |
99 <dc:attribute name="factory" value="staticwkms"/> | 102 <dc:attribute name="factory" value="staticwkms"/> |
100 <dc:attribute name="info" value="${info}"/> | 103 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
101 </column> | 104 </column> |
102 </dc:elements> | 105 </dc:elements> |
103 </dc:context> | 106 </dc:context> |
104 </additional> | 107 </additional> |
105 </dc:elements> | 108 </dc:elements> |
124 <dc:elements> | 127 <dc:elements> |
125 <column> | 128 <column> |
126 <dc:attribute name="name" value="${prot_column_name}"/> | 129 <dc:attribute name="name" value="${prot_column_name}"/> |
127 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> | 130 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> |
128 <dc:attribute name="factory" value="staticwkms"/> | 131 <dc:attribute name="factory" value="staticwkms"/> |
129 <dc:attribute name="info" value="${info}"/> | 132 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
130 </column> | 133 </column> |
131 </dc:elements> | 134 </dc:elements> |
132 </dc:context> | 135 </dc:context> |
133 </additional> | 136 </additional> |
134 </dc:elements> | 137 </dc:elements> |
153 <dc:elements> | 156 <dc:elements> |
154 <column> | 157 <column> |
155 <dc:attribute name="name" value="${prot_column_name}"/> | 158 <dc:attribute name="name" value="${prot_column_name}"/> |
156 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> | 159 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> |
157 <dc:attribute name="factory" value="staticwkms"/> | 160 <dc:attribute name="factory" value="staticwkms"/> |
158 <dc:attribute name="info" value="${info}"/> | 161 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
159 </column> | 162 </column> |
160 </dc:elements> | 163 </dc:elements> |
161 </dc:context> | 164 </dc:context> |
162 </relativepoint> | 165 </relativepoint> |
163 </dc:elements> | 166 </dc:elements> |
182 <dc:elements> | 185 <dc:elements> |
183 <column> | 186 <column> |
184 <dc:attribute name="name" value="${prot_column_name}"/> | 187 <dc:attribute name="name" value="${prot_column_name}"/> |
185 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> | 188 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
186 <dc:attribute name="factory" value="wqinterpol"/> | 189 <dc:attribute name="factory" value="wqinterpol"/> |
187 <dc:attribute name="info" value="${info}"/> | 190 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
188 </column> | 191 </column> |
189 </dc:elements> | 192 </dc:elements> |
190 </dc:context> | 193 </dc:context> |
191 </fixation> | 194 </fixation> |
192 </dc:elements> | 195 </dc:elements> |
210 <dc:elements> | 213 <dc:elements> |
211 <column> | 214 <column> |
212 <dc:attribute name="name" value="${prot_column_name}"/> | 215 <dc:attribute name="name" value="${prot_column_name}"/> |
213 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> | 216 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
214 <dc:attribute name="factory" value="wqinterpol"/> | 217 <dc:attribute name="factory" value="wqinterpol"/> |
215 <dc:attribute name="info" value="${info}"/> | 218 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
216 </column> | 219 </column> |
217 </dc:elements> | 220 </dc:elements> |
218 </dc:context> | 221 </dc:context> |
219 </fixation> | 222 </fixation> |
220 </dc:elements> | 223 </dc:elements> |
238 <dc:elements> | 241 <dc:elements> |
239 <column> | 242 <column> |
240 <dc:attribute name="name" value="${prot_column_name}"/> | 243 <dc:attribute name="name" value="${prot_column_name}"/> |
241 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> | 244 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
242 <dc:attribute name="factory" value="staticwkms"/> | 245 <dc:attribute name="factory" value="staticwkms"/> |
243 <dc:attribute name="info" value="${info}"/> | 246 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
244 </column> | 247 </column> |
245 </dc:elements> | 248 </dc:elements> |
246 </dc:context> | 249 </dc:context> |
247 </fixation> | 250 </fixation> |
248 </dc:elements> | 251 </dc:elements> |
266 <dc:elements> | 269 <dc:elements> |
267 <column> | 270 <column> |
268 <dc:attribute name="name" value="${prot_column_name}"/> | 271 <dc:attribute name="name" value="${prot_column_name}"/> |
269 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> | 272 <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/> |
270 <dc:attribute name="factory" value="staticwkms"/> | 273 <dc:attribute name="factory" value="staticwkms"/> |
271 <dc:attribute name="info" value="${info}"/> | 274 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
272 </column> | 275 </column> |
273 </dc:elements> | 276 </dc:elements> |
274 </dc:context> | 277 </dc:context> |
275 </relativepoint> | 278 </relativepoint> |
276 </dc:elements> | 279 </dc:elements> |
295 <dc:elements> | 298 <dc:elements> |
296 <column> | 299 <column> |
297 <dc:attribute name="name" value="${prot_column_name}"/> | 300 <dc:attribute name="name" value="${prot_column_name}"/> |
298 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> | 301 <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/> |
299 <dc:attribute name="factory" value="staticwqkms"/> | 302 <dc:attribute name="factory" value="staticwqkms"/> |
300 <dc:attribute name="info" value="${info}"/> | 303 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
301 </column> | 304 </column> |
302 </dc:elements> | 305 </dc:elements> |
303 </dc:context> | 306 </dc:context> |
304 </official> | 307 </official> |
305 </dc:elements> | 308 </dc:elements> |
323 <dc:elements> | 326 <dc:elements> |
324 <column> | 327 <column> |
325 <dc:attribute name="name" value="${prot_column_name}"/> | 328 <dc:attribute name="name" value="${prot_column_name}"/> |
326 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> | 329 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> |
327 <dc:attribute name="factory" value="staticwkms"/> | 330 <dc:attribute name="factory" value="staticwkms"/> |
328 <dc:attribute name="info" value="${info}"/> | 331 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
329 </column> | 332 </column> |
330 </dc:elements> | 333 </dc:elements> |
331 </dc:context> | 334 </dc:context> |
332 </relativepoint> | 335 </relativepoint> |
333 </dc:elements> | 336 </dc:elements> |
351 <dc:elements> | 354 <dc:elements> |
352 <column> | 355 <column> |
353 <dc:attribute name="name" value="${prot_column_name}"/> | 356 <dc:attribute name="name" value="${prot_column_name}"/> |
354 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> | 357 <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/> |
355 <dc:attribute name="factory" value="staticwkms"/> | 358 <dc:attribute name="factory" value="staticwkms"/> |
356 <dc:attribute name="info" value="${info}"/> | 359 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
357 </column> | 360 </column> |
358 </dc:elements> | 361 </dc:elements> |
359 </dc:context> | 362 </dc:context> |
360 </heightmark> | 363 </heightmark> |
361 </dc:elements> | 364 </dc:elements> |
379 <dc:elements> | 382 <dc:elements> |
380 <column> | 383 <column> |
381 <dc:attribute name="name" value="${prot_column_name}"/> | 384 <dc:attribute name="name" value="${prot_column_name}"/> |
382 <dc:attribute name="ids" value="heightmarks_annotations-wstv-${prot_rel_pos}-${prot_id}"/> | 385 <dc:attribute name="ids" value="heightmarks_annotations-wstv-${prot_rel_pos}-${prot_id}"/> |
383 <dc:attribute name="factory" value="wqinterpol"/> | 386 <dc:attribute name="factory" value="wqinterpol"/> |
384 <dc:attribute name="info" value="${info}"/> | 387 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
385 </column> | 388 </column> |
386 </dc:elements> | 389 </dc:elements> |
387 </dc:context> | 390 </dc:context> |
388 </heightmark> | 391 </heightmark> |
389 </dc:elements> | 392 </dc:elements> |
411 <dc:elements> | 414 <dc:elements> |
412 <column> | 415 <column> |
413 <dc:attribute name="name" value="${prot_column_name}"/> | 416 <dc:attribute name="name" value="${prot_column_name}"/> |
414 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> | 417 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> |
415 <dc:attribute name="factory" value="staticwkms"/> | 418 <dc:attribute name="factory" value="staticwkms"/> |
416 <dc:attribute name="info" value="${info}"/> | 419 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
417 </column> | 420 </column> |
418 </dc:elements> | 421 </dc:elements> |
419 </dc:context> | 422 </dc:context> |
420 </columns> | 423 </columns> |
421 </relativepoint> | 424 </relativepoint> |
443 <dc:elements> | 446 <dc:elements> |
444 <column> | 447 <column> |
445 <dc:attribute name="name" value="${prot_column_name}"/> | 448 <dc:attribute name="name" value="${prot_column_name}"/> |
446 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> | 449 <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/> |
447 <dc:attribute name="factory" value="staticwkms"/> | 450 <dc:attribute name="factory" value="staticwkms"/> |
448 <dc:attribute name="info" value="${info}"/> | 451 <dc:attribute name="info" value="${info} [km ${deffrom} - ${defto}]"/> |
449 </column> | 452 </column> |
450 </dc:elements> | 453 </dc:elements> |
451 </dc:context> | 454 </dc:context> |
452 </flood_protection> | 455 </flood_protection> |
453 </dc:elements> | 456 </dc:elements> |