Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 6021:5f34e4cb8095 3.0.4
Use the out attribute everywhere where there is a factory
This removes the ID's hack with outs and resolves problems
created by that.
Where the out was already set previously the dynamic out has
been commented out.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 14 May 2013 18:55:55 +0200 |
parents | f049f9521a51 |
children | 725ae04f7cad |
comparison
equal
deleted
inserted
replaced
6020:bf5dba3f66ac | 6021:5f34e4cb8095 |
---|---|
78 <basedata name="{$prot_description}"> | 78 <basedata name="{$prot_description}"> |
79 <dc:context> | 79 <dc:context> |
80 <dc:call-macro name="SQL-wst_columns_statement"/> | 80 <dc:call-macro name="SQL-wst_columns_statement"/> |
81 <dc:for-each> | 81 <dc:for-each> |
82 <column name="{$prot_column_name}" | 82 <column name="{$prot_column_name}" |
83 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 83 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}" |
84 factory="staticwqkms" | 84 factory="staticwqkms" out="{$OUT}" |
85 info="{$info} [km {$deffrom} - {$defto}]"/> | 85 info="{$info} [km {$deffrom} - {$defto}]"/> |
86 </dc:for-each> | 86 </dc:for-each> |
87 </dc:context> | 87 </dc:context> |
88 </basedata> | 88 </basedata> |
89 </dc:for-each> | 89 </dc:for-each> |
106 <basedata name="{$prot_description}"> | 106 <basedata name="{$prot_description}"> |
107 <dc:context> | 107 <dc:context> |
108 <dc:call-macro name="SQL-wst_columns_statement"/> | 108 <dc:call-macro name="SQL-wst_columns_statement"/> |
109 <dc:for-each> | 109 <dc:for-each> |
110 <column name="{$prot_column_name}" | 110 <column name="{$prot_column_name}" |
111 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 111 ids="base_data-wstv-{$prot_rel_pos}-{$prot_id}" |
112 factory="wqinterpol" | 112 factory="wqinterpol" out="{$OUT}" |
113 info="{$info} [km {$deffrom} - {$defto}]"/> | 113 info="{$info} [km {$deffrom} - {$defto}]"/> |
114 </dc:for-each> | 114 </dc:for-each> |
115 </dc:context> | 115 </dc:context> |
116 </basedata> | 116 </basedata> |
117 </dc:for-each> | 117 </dc:for-each> |
134 <additional name="{$prot_description}"> | 134 <additional name="{$prot_description}"> |
135 <dc:context> | 135 <dc:context> |
136 <dc:call-macro name="SQL-wst_columns_statement"/> | 136 <dc:call-macro name="SQL-wst_columns_statement"/> |
137 <dc:for-each> | 137 <dc:for-each> |
138 <column name="{$prot_column_name}" | 138 <column name="{$prot_column_name}" |
139 ids="additionalsmarks-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 139 ids="additionalsmarks-wstv-{$prot_rel_pos}-{$prot_id}" |
140 factory="staticwkms" | 140 factory="staticwkms" out="{$OUT}" |
141 info="{$info} [km {$deffrom} - {$defto}]"/> | 141 info="{$info} [km {$deffrom} - {$defto}]"/> |
142 </dc:for-each> | 142 </dc:for-each> |
143 </dc:context></additional> | 143 </dc:context></additional> |
144 </dc:for-each> | 144 </dc:for-each> |
145 </dc:context> | 145 </dc:context> |
161 <additional name="{dc:replace($prot_description, 'Zus.Längsschnitte/', '')}"> | 161 <additional name="{dc:replace($prot_description, 'Zus.Längsschnitte/', '')}"> |
162 <dc:context> | 162 <dc:context> |
163 <dc:call-macro name="SQL-wst_columns_statement"/> | 163 <dc:call-macro name="SQL-wst_columns_statement"/> |
164 <dc:for-each> | 164 <dc:for-each> |
165 <column name="{$prot_column_name}" | 165 <column name="{$prot_column_name}" |
166 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 166 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" |
167 factory="staticwqkms" | 167 factory="staticwqkms" out="{$OUT}" |
168 info="{$info} [km {$deffrom} - {$defto}]"/> | 168 info="{$info} [km {$deffrom} - {$defto}]"/> |
169 </dc:for-each> | 169 </dc:for-each> |
170 </dc:context> | 170 </dc:context> |
171 </additional> | 171 </additional> |
172 </dc:for-each> | 172 </dc:for-each> |
189 <relativepoint name="{$prot_description}"> | 189 <relativepoint name="{$prot_description}"> |
190 <dc:context> | 190 <dc:context> |
191 <dc:call-macro name="SQL-wst_columns_statement"/> | 191 <dc:call-macro name="SQL-wst_columns_statement"/> |
192 <dc:for-each> | 192 <dc:for-each> |
193 <column name="{$prot_column_name}" | 193 <column name="{$prot_column_name}" |
194 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 194 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" |
195 factory="staticwkms" | 195 factory="staticwkms" out="{$OUT}" |
196 info="{$info} [km {$deffrom} - {$defto}]"/> | 196 info="{$info} [km {$deffrom} - {$defto}]"/> |
197 </dc:for-each> | 197 </dc:for-each> |
198 </dc:context> | 198 </dc:context> |
199 </relativepoint> | 199 </relativepoint> |
200 </dc:for-each> | 200 </dc:for-each> |
217 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}"> | 217 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}"> |
218 <dc:context> | 218 <dc:context> |
219 <dc:call-macro name="SQL-wst_columns_statement"/> | 219 <dc:call-macro name="SQL-wst_columns_statement"/> |
220 <dc:for-each> | 220 <dc:for-each> |
221 <column name="{$prot_column_name}" | 221 <column name="{$prot_column_name}" |
222 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 222 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" |
223 factory="wqinterpol" | 223 factory="wqinterpol" out="{$OUT}" |
224 info="{$info} [km {$deffrom} - {$defto}]"/> | 224 info="{$info} [km {$deffrom} - {$defto}]"/> |
225 </dc:for-each> | 225 </dc:for-each> |
226 </dc:context> | 226 </dc:context> |
227 </fixation> | 227 </fixation> |
228 </dc:for-each> | 228 </dc:for-each> |
245 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}"> | 245 <fixation name="{dc:replace($prot_description, 'Fixierungen/', '')}"> |
246 <dc:context> | 246 <dc:context> |
247 <dc:call-macro name="SQL-wst_columns_statement"/> | 247 <dc:call-macro name="SQL-wst_columns_statement"/> |
248 <dc:for-each> | 248 <dc:for-each> |
249 <column name="{$prot_column_name}" | 249 <column name="{$prot_column_name}" |
250 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 250 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" |
251 factory="staticwqkms" | 251 factory="staticwqkms" out="{$OUT}" |
252 info="{$info} [km {$deffrom} - {$defto}]"/> | 252 info="{$info} [km {$deffrom} - {$defto}]"/> |
253 </dc:for-each> | 253 </dc:for-each> |
254 </dc:context> | 254 </dc:context> |
255 </fixation> | 255 </fixation> |
256 </dc:for-each> | 256 </dc:for-each> |
273 <relativepoint name="{dc:replace($prot_description, 'Fixierungen/', '')}"> | 273 <relativepoint name="{dc:replace($prot_description, 'Fixierungen/', '')}"> |
274 <dc:context> | 274 <dc:context> |
275 <dc:call-macro name="SQL-wst_columns_statement"/> | 275 <dc:call-macro name="SQL-wst_columns_statement"/> |
276 <dc:for-each> | 276 <dc:for-each> |
277 <column name="{$prot_column_name}" | 277 <column name="{$prot_column_name}" |
278 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 278 ids="fixations-wstv-{$prot_rel_pos}-{$prot_id}" |
279 factory="staticwkms" | 279 factory="staticwkms" out="{$OUT}" |
280 info="{$info} [km {$deffrom} - {$defto}]"/> | 280 info="{$info} [km {$deffrom} - {$defto}]"/> |
281 </dc:for-each> | 281 </dc:for-each> |
282 </dc:context> | 282 </dc:context> |
283 </relativepoint> | 283 </relativepoint> |
284 </dc:for-each> | 284 </dc:for-each> |
301 <official name="{$prot_description}"> | 301 <official name="{$prot_description}"> |
302 <dc:context> | 302 <dc:context> |
303 <dc:call-macro name="SQL-wst_columns_statement"/> | 303 <dc:call-macro name="SQL-wst_columns_statement"/> |
304 <dc:for-each> | 304 <dc:for-each> |
305 <column name="{$prot_column_name}" | 305 <column name="{$prot_column_name}" |
306 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 306 ids="additionals-wstv-{$prot_rel_pos}-{$prot_id}" |
307 factory="staticwqkms" | 307 factory="staticwqkms" out="{$OUT}" |
308 info="{$info} [km {$deffrom} - {$defto}]"/> | 308 info="{$info} [km {$deffrom} - {$defto}]"/> |
309 </dc:for-each> | 309 </dc:for-each> |
310 </dc:context> | 310 </dc:context> |
311 </official> | 311 </official> |
312 </dc:for-each> | 312 </dc:for-each> |
328 <relativepoint name="{$prot_description}"> | 328 <relativepoint name="{$prot_description}"> |
329 <dc:context> | 329 <dc:context> |
330 <dc:call-macro name="SQL-wst_columns_statement"/> | 330 <dc:call-macro name="SQL-wst_columns_statement"/> |
331 <dc:for-each> | 331 <dc:for-each> |
332 <column name="{$prot_column_name}" | 332 <column name="{$prot_column_name}" |
333 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 333 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}" |
334 factory="staticwkms" | 334 factory="staticwkms" out="{$OUT}" |
335 info="{$info} [km {$deffrom} - {$defto}]"/> | 335 info="{$info} [km {$deffrom} - {$defto}]"/> |
336 </dc:for-each> | 336 </dc:for-each> |
337 </dc:context> | 337 </dc:context> |
338 </relativepoint> | 338 </relativepoint> |
339 </dc:for-each> | 339 </dc:for-each> |
355 <heightmark name="{dc:replace($prot_description, 'HW-Marken/', '')}"> | 355 <heightmark name="{dc:replace($prot_description, 'HW-Marken/', '')}"> |
356 <dc:context> | 356 <dc:context> |
357 <dc:call-macro name="SQL-wst_columns_statement"/> | 357 <dc:call-macro name="SQL-wst_columns_statement"/> |
358 <dc:for-each> | 358 <dc:for-each> |
359 <column name="{$prot_column_name}" | 359 <column name="{$prot_column_name}" |
360 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 360 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}" |
361 factory="staticwkms" | 361 factory="staticwkms" out="{$OUT}" |
362 info="{$info} [km {$deffrom} - {$defto}]"/> | 362 info="{$info} [km {$deffrom} - {$defto}]"/> |
363 </dc:for-each> | 363 </dc:for-each> |
364 </dc:context> | 364 </dc:context> |
365 </heightmark> | 365 </heightmark> |
366 </dc:for-each> | 366 </dc:for-each> |
379 FROM wsts WHERE kind = 5 AND river_id = ${river_id} | 379 FROM wsts WHERE kind = 5 AND river_id = ${river_id} |
380 </dc:statement> | 380 </dc:statement> |
381 <dc:for-each> | 381 <dc:for-each> |
382 <relativepoint name="{$prot_description}" | 382 <relativepoint name="{$prot_description}" |
383 db-id="{$prot_id}" | 383 db-id="{$prot_id}" |
384 factory="staticwkms"> | 384 factory="staticwkms" out="{$OUT}"> |
385 <columns> | 385 <columns> |
386 <dc:context> | 386 <dc:context> |
387 <dc:call-macro name="SQL-wst_columns_statement"/> | 387 <dc:call-macro name="SQL-wst_columns_statement"/> |
388 <dc:for-each> | 388 <dc:for-each> |
389 <column name="{$prot_column_name}" | 389 <column name="{$prot_column_name}" |
390 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 390 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}" |
391 factory="staticwkms" | 391 factory="staticwkms" out="{$OUT}" |
392 info="{$info} [km {$deffrom} - {$defto}]"/> | 392 info="{$info} [km {$deffrom} - {$defto}]"/> |
393 </dc:for-each> | 393 </dc:for-each> |
394 </dc:context> | 394 </dc:context> |
395 </columns> | 395 </columns> |
396 </relativepoint> | 396 </relativepoint> |
409 FROM wsts WHERE kind = 5 AND river_id = ${river_id} | 409 FROM wsts WHERE kind = 5 AND river_id = ${river_id} |
410 </dc:statement> | 410 </dc:statement> |
411 <dc:for-each> | 411 <dc:for-each> |
412 <flood_protection name="{dc:replace($prot_description, 'HW-Schutzanlagen/', '')}" | 412 <flood_protection name="{dc:replace($prot_description, 'HW-Schutzanlagen/', '')}" |
413 db-id="{$prot_id}" | 413 db-id="{$prot_id}" |
414 factory="staticwkms"> | 414 factory="staticwkms" out="{$OUT}"> |
415 <dc:context> | 415 <dc:context> |
416 <dc:call-macro name="SQL-wst_columns_statement"/> | 416 <dc:call-macro name="SQL-wst_columns_statement"/> |
417 <dc:for-each> | 417 <dc:for-each> |
418 <column name="{$prot_column_name}" | 418 <column name="{$prot_column_name}" |
419 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" | 419 ids="flood_protection-wstv-{$prot_rel_pos}-{$prot_id}" |
420 factory="staticwkms" | 420 factory="staticwkms" out="{$OUT}" |
421 info="{$info} [km {$deffrom} - {$defto}]"/> | 421 info="{$info} [km {$deffrom} - {$defto}]"/> |
422 </dc:for-each> | 422 </dc:for-each> |
423 </dc:context> | 423 </dc:context> |
424 </flood_protection> | 424 </flood_protection> |
425 </dc:for-each> | 425 </dc:for-each> |
427 </flood_protections> | 427 </flood_protections> |
428 </dc:call-macro> | 428 </dc:call-macro> |
429 </dc:macro> | 429 </dc:macro> |
430 | 430 |
431 <dc:macro name="mainvalues"> | 431 <dc:macro name="mainvalues"> |
432 <wmainvalue factory="mainvalue" ids="{$river_id}:w:OUT={$OUT}"/> | 432 <wmainvalue factory="mainvalue" out="{$OUT}" ids="{$river_id}:w"/> |
433 <qmainvalue factory="mainvalue" ids="{$river_id}:q:OUT={$OUT}"/> | 433 <qmainvalue factory="mainvalue" out="{$OUT}" ids="{$river_id}:q"/> |
434 </dc:macro> | 434 </dc:macro> |
435 | 435 |
436 <dc:macro name="qsectors"> | 436 <dc:macro name="qsectors"> |
437 <qsector factory="qsectors" ids="{$river_id}:OUT={$OUT}"/> | 437 <qsector factory="qsectors" out="{$OUT}" ids="{$river_id}"/> |
438 </dc:macro> | 438 </dc:macro> |
439 | 439 |
440 <dc:macro name="annotations"> | 440 <dc:macro name="annotations"> |
441 <annotation factory="annotations" ids="{$river_id}:OUT={$OUT}"/> | 441 <annotation factory="annotations" out="{$OUT}" ids="{$river_id}"/> |
442 </dc:macro> | 442 </dc:macro> |
443 | 443 |
444 <dc:macro name="annotations_per_type"> | 444 <dc:macro name="annotations_per_type"> |
445 <annotations> | 445 <annotations> |
446 <dc:context> | 446 <dc:context> |
447 <all_annotations factory="annotations" ids="{$river_id}:OUT={$OUT}"/> | 447 <all_annotations factory="annotations" out="{$OUT}" ids="{$river_id}"/> |
448 <dc:statement> | 448 <dc:statement> |
449 SELECT id AS anno_id, | 449 SELECT id AS anno_id, |
450 name AS anno_description | 450 name AS anno_description |
451 FROM annotation_types | 451 FROM annotation_types |
452 </dc:statement> | 452 </dc:statement> |
453 <dc:for-each> | 453 <dc:for-each> |
454 <annotation name="{$anno_description}" | 454 <annotation name="{$anno_description}" |
455 factory="annotations" | 455 factory="annotations" out="{$OUT}" |
456 ids="{$river_id}:{$anno_description}:OUT={$OUT}"/> | 456 ids="{$river_id}:{$anno_description}"/> |
457 </dc:for-each> | 457 </dc:for-each> |
458 </dc:context> | 458 </dc:context> |
459 </annotations> | 459 </annotations> |
460 </dc:macro> | 460 </dc:macro> |
461 | 461 |
472 WHERE cs.river_id = ${river_id} | 472 WHERE cs.river_id = ${river_id} |
473 AND csl.km BETWEEN ${fromkm} AND ${tokm} | 473 AND csl.km BETWEEN ${fromkm} AND ${tokm} |
474 </dc:statement> | 474 </dc:statement> |
475 <dc:for-each> | 475 <dc:for-each> |
476 <cross_section name="{$prot_description}" | 476 <cross_section name="{$prot_description}" |
477 ids="{$prot_id}:OUT={$OUT}" | 477 ids="{$prot_id}" |
478 factory="crosssections"/> | 478 factory="crosssections" out="{$OUT}"/> |
479 </dc:for-each> | 479 </dc:for-each> |
480 </dc:context> | 480 </dc:context> |
481 </cross_sections> | 481 </cross_sections> |
482 </dc:call-macro> | 482 </dc:call-macro> |
483 </dc:macro> | 483 </dc:macro> |
495 WHERE river_id = ${river_id} | 495 WHERE river_id = ${river_id} |
496 AND he.km BETWEEN ${fromkm} AND ${tokm} | 496 AND he.km BETWEEN ${fromkm} AND ${tokm} |
497 </dc:statement> | 497 </dc:statement> |
498 <dc:for-each> | 498 <dc:for-each> |
499 <hyk name="{$hyk_description}" | 499 <hyk name="{$hyk_description}" |
500 ids="{$hyk_id}:OUT={$OUT}" | 500 ids="{$hyk_id}" |
501 factory="hyk"/> | 501 factory="hyk" out="{$OUT}"/> |
502 </dc:for-each> | 502 </dc:for-each> |
503 </dc:context></hyks> | 503 </dc:context></hyks> |
504 </dc:call-macro> | 504 </dc:call-macro> |
505 </dc:macro> | 505 </dc:macro> |
506 | 506 |
513 description AS fvmd | 513 description AS fvmd |
514 FROM flow_velocity_measurements WHERE river_id = ${river_id} | 514 FROM flow_velocity_measurements WHERE river_id = ${river_id} |
515 </dc:statement> | 515 </dc:statement> |
516 <dc:for-each> | 516 <dc:for-each> |
517 <flow_velocity_measurement name="{$fvmd}" | 517 <flow_velocity_measurement name="{$fvmd}" |
518 ids="{$fvmid}:OUT={$OUT}" | 518 ids="{$fvmid}" |
519 factory="flowvelocity"> | 519 factory="flowvelocity" out="{$OUT}"> |
520 <dc:context> | 520 <dc:context> |
521 <dc:statement> | 521 <dc:statement> |
522 SELECT id, description, station, datetime, v, w, q | 522 SELECT id, description, station, datetime, v, w, q |
523 FROM flow_velocity_measure_values | 523 FROM flow_velocity_measure_values |
524 WHERE measurements_id = ${fvmid} | 524 WHERE measurements_id = ${fvmid} |
525 AND station BETWEEN ${fromkm} AND ${tokm} | 525 AND station BETWEEN ${fromkm} AND ${tokm} |
526 </dc:statement> | 526 </dc:statement> |
527 <dc:for-each> | 527 <dc:for-each> |
528 <measurement_value name="{$description} - {$station} - {$datetime}" | 528 <measurement_value name="{$description} - {$station} - {$datetime}" |
529 ids="{$id}:OUT={$OUT}" | 529 ids="{$id}" |
530 factory="flowvelocity"/> | 530 factory="flowvelocity" out="{$OUT}"/> |
531 </dc:for-each> | 531 </dc:for-each> |
532 </dc:context> | 532 </dc:context> |
533 </flow_velocity_measurement> | 533 </flow_velocity_measurement> |
534 </dc:for-each> | 534 </dc:for-each> |
535 </dc:context> | 535 </dc:context> |
545 year AS bedh_year, | 545 year AS bedh_year, |
546 description AS bedh_descr | 546 description AS bedh_descr |
547 FROM bed_height_single WHERE river_id = ${river_id} | 547 FROM bed_height_single WHERE river_id = ${river_id} |
548 </dc:statement> | 548 </dc:statement> |
549 <dc:for-each> | 549 <dc:for-each> |
550 <height factory="bedheight" | 550 <height factory="bedheight" out="{$OUT}" |
551 ids="bedheight-singlevalues-{$bedh_id}-{$bedh_year}:OUT={$OUT}" | 551 ids="bedheight-singlevalues-{$bedh_id}-{$bedh_year}" |
552 description="{$bedh_descr}"/> | 552 description="{$bedh_descr}"/> |
553 </dc:for-each> | 553 </dc:for-each> |
554 </dc:context> | 554 </dc:context> |
555 </soundings_width> | 555 </soundings_width> |
556 </dc:macro> | 556 </dc:macro> |
571 FROM morphologic_width_values | 571 FROM morphologic_width_values |
572 WHERE morphologic_width_id = ${width_id} | 572 WHERE morphologic_width_id = ${width_id} |
573 </dc:statement> | 573 </dc:statement> |
574 <dc:for-each> | 574 <dc:for-each> |
575 <morphologic-width name="{$from} - {$to}" | 575 <morphologic-width name="{$from} - {$to}" |
576 ids="{$width_id}:OUT={$OUT}" | 576 ids="{$width_id}" |
577 factory="morph-width"/> | 577 factory="morph-width"/> |
578 </dc:for-each> | 578 </dc:for-each> |
579 </dc:context> | 579 </dc:context> |
580 </dc:for-each> | 580 </dc:for-each> |
581 </dc:context> | 581 </dc:context> |
605 FROM gauges WHERE river_id = ${river_id} | 605 FROM gauges WHERE river_id = ${river_id} |
606 </dc:statement> | 606 </dc:statement> |
607 <dc:for-each> | 607 <dc:for-each> |
608 <gauge name="{$gauge_name}" | 608 <gauge name="{$gauge_name}" |
609 db-id="{$gauge_id}" | 609 db-id="{$gauge_id}" |
610 factory="gaugedischarge" | 610 factory="gaugedischarge" out="{$OUT}" |
611 from="{$g_start}" | 611 from="{$g_start}" |
612 to="{$g_stop}" | 612 to="{$g_stop}" |
613 ids="{$gauge_name}:OUT={$OUT}"/> | 613 ids="{$gauge_name}"/> |
614 </dc:for-each> | 614 </dc:for-each> |
615 </dc:context> | 615 </dc:context> |
616 </discharge_table_gauge> | 616 </discharge_table_gauge> |
617 </discharge_table_nn> | 617 </discharge_table_nn> |
618 </dc:macro> | 618 </dc:macro> |
627 FROM gauges WHERE river_id = ${river_id} | 627 FROM gauges WHERE river_id = ${river_id} |
628 </dc:statement> | 628 </dc:statement> |
629 <dc:for-each> | 629 <dc:for-each> |
630 <gauge name="{$gauge_name}" | 630 <gauge name="{$gauge_name}" |
631 db-id="{$gauge_id}" | 631 db-id="{$gauge_id}" |
632 factory="gaugedischarge" | 632 factory="gaugedischarge" out="{$OUT}" |
633 from="{$g_start}" | 633 from="{$g_start}" |
634 to="{$g_stop}" | 634 to="{$g_stop}" |
635 ids="{$gauge_name}:OUT={$OUT}"/> | 635 ids="{$gauge_name}"/> |
636 <dc:comment> | 636 <dc:comment> |
637 <!-- | 637 <!-- |
638 <gauge> | 638 <gauge> |
639 <dc:attribute name="name" value="${gauge_name}"/> | 639 <dc:attribute name="name" value="${gauge_name}"/> |
640 <dc:attribute name="db-id" value="${gauge_id}"/> | 640 <dc:attribute name="db-id" value="${gauge_id}"/> |
650 </dc:statement> | 650 </dc:statement> |
651 <dc:for-each> | 651 <dc:for-each> |
652 <historical> | 652 <historical> |
653 <dc:attribute name="name" value="${gauge_desc}"/> | 653 <dc:attribute name="name" value="${gauge_desc}"/> |
654 <dc:attribute name="factory" value="gaugedischarge"/> | 654 <dc:attribute name="factory" value="gaugedischarge"/> |
655 <dc:attribute name="out" value="${out}"/> | |
655 <dc:attribute name="from" value="${g_start}"/> | 656 <dc:attribute name="from" value="${g_start}"/> |
656 <dc:attribute name="to" value="${g_stop}"/> | 657 <dc:attribute name="to" value="${g_stop}"/> |
657 <dc:attribute name="ids" value="${discharge_id}-${g_start}-${g_stop}:OUT=${out}"/> | 658 <dc:attribute name="ids" value="${discharge_id}-${g_start}-${g_stop}"/> |
658 </historical> | 659 </historical> |
659 </dc:for-each> | 660 </dc:for-each> |
660 </dc:context> | 661 </dc:context> |
661 </gauge> | 662 </gauge> |
662 --> | 663 --> |
677 FROM gauges WHERE river_id = ${river_id} | 678 FROM gauges WHERE river_id = ${river_id} |
678 </dc:statement> | 679 </dc:statement> |
679 <dc:for-each> | 680 <dc:for-each> |
680 <gauge name="{$gauge_name}" | 681 <gauge name="{$gauge_name}" |
681 db-id="{$gauge_id}" | 682 db-id="{$gauge_id}" |
682 factory="gaugedischarge" | 683 factory="gaugedischarge" out="{$OUT}" |
683 from="{$g_start}" | 684 from="{$g_start}" |
684 to="{$g_stop}" | 685 to="{$g_stop}" |
685 ids="{$gauge_name}:OUT={$OUT}"/> | 686 ids="{$gauge_name}"/> |
686 </dc:for-each> | 687 </dc:for-each> |
687 </dc:context> | 688 </dc:context> |
688 </discharge_table_gauge> | 689 </discharge_table_gauge> |
689 </discharge_table_nn> | 690 </discharge_table_nn> |
690 </dc:macro> | 691 </dc:macro> |
929 <dc:macro name="flood-map-recommended"> | 930 <dc:macro name="flood-map-recommended"> |
930 <dc:comment> | 931 <dc:comment> |
931 FIXME: Following two macros look identical to me. | 932 FIXME: Following two macros look identical to me. |
932 </dc:comment> | 933 </dc:comment> |
933 <kilometrage> | 934 <kilometrage> |
934 <riveraxis factory="riveraxis" ids="{$river_id}:OUT={$OUT}"/> | 935 <riveraxis factory="riveraxis" out="{$OUT}" ids="{$river_id}"/> |
935 </kilometrage> | 936 </kilometrage> |
936 <rastermap> | 937 <rastermap> |
937 <background factory="wmsbackground" ids="{$river_id}:OUT={$OUT}"/> | 938 <background factory="wmsbackground" out="{$OUT}" ids="{$river_id}"/> |
938 </rastermap> | 939 </rastermap> |
939 </dc:macro> | 940 </dc:macro> |
940 | 941 |
941 <dc:macro name="flood-map-dem"> | 942 <dc:macro name="flood-map-dem"> |
942 <dems> | 943 <dems> |
957 JOIN ranges r ON d.range_id = r.id | 958 JOIN ranges r ON d.range_id = r.id |
958 LEFT JOIN time_intervals t ON d.time_interval_id = t.id | 959 LEFT JOIN time_intervals t ON d.time_interval_id = t.id |
959 WHERE d.river_id = ${river_id} | 960 WHERE d.river_id = ${river_id} |
960 </dc:statement> | 961 </dc:statement> |
961 <dc:for-each> | 962 <dc:for-each> |
962 <dem factory="demfactory" | 963 <dem factory="demfactory" out="{$OUT}" |
963 ids="{$dem_id}:OUT={$OUT}" | 964 ids="{$dem_id}" |
964 name="{$name}" | 965 name="{$name}" |
965 info="{dc:replace($info, '$', '<BR>')}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/> | 966 info="{dc:replace($info, '$', '<BR>')}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/> |
966 </dc:for-each> | 967 </dc:for-each> |
967 </dc:context> | 968 </dc:context> |
968 </dems> | 969 </dems> |
970 | 971 |
971 <dc:macro name="filter_hws_ddg"> | 972 <dc:macro name="filter_hws_ddg"> |
972 <dc:macro name="durchlass_damm_graben"> | 973 <dc:macro name="durchlass_damm_graben"> |
973 <dc:macro name="ddg_factory"> | 974 <dc:macro name="ddg_factory"> |
974 <dc:for-each> | 975 <dc:for-each> |
975 <hws factory="hwsfactory" name="{$hws_name}"/> | 976 <hws factory="hwsfactory" out="{$OUT}" name="{$hws_name}"/> |
976 </dc:for-each> | 977 </dc:for-each> |
977 </dc:macro> | 978 </dc:macro> |
978 | 979 |
979 <dc:filter expr="$hws_kind=1"> | 980 <dc:filter expr="$hws_kind=1"> |
980 <dc:if test="dc:has-result()"> | 981 <dc:if test="dc:has-result()"> |
1052 <dc:context> | 1053 <dc:context> |
1053 <dc:statement> | 1054 <dc:statement> |
1054 SELECT DISTINCT 1 FROM river_axes_km WHERE river_id = ${river_id} | 1055 SELECT DISTINCT 1 FROM river_axes_km WHERE river_id = ${river_id} |
1055 </dc:statement> | 1056 </dc:statement> |
1056 <dc:for-each> | 1057 <dc:for-each> |
1057 <kilometrage factory="wmskmfactory" ids="{$river_id}:OUT={$OUT}"/> | 1058 <kilometrage factory="wmskmfactory" out="{$OUT}" ids="{$river_id}"/> |
1058 </dc:for-each> | 1059 </dc:for-each> |
1059 </dc:context> | 1060 </dc:context> |
1060 </dc:macro> | 1061 </dc:macro> |
1061 | 1062 |
1062 <dc:macro name="flood-map-qps"> | 1063 <dc:macro name="flood-map-qps"> |
1072 AND kind_id=1 | 1073 AND kind_id=1 |
1073 </dc:statement> | 1074 </dc:statement> |
1074 <dc:if test="dc:has-result()"> | 1075 <dc:if test="dc:has-result()"> |
1075 <dc:for-each> | 1076 <dc:for-each> |
1076 <actual description="{$kind_name}" | 1077 <actual description="{$kind_name}" |
1077 factory="wmsqpsfactory" | 1078 factory="wmsqpsfactory" out="{$OUT}" |
1078 ids="{$river_id};{$kind_name};{$kind_id}:OUT={$OUT}"/> | 1079 ids="{$river_id};{$kind_name};{$kind_id}"/> |
1079 </dc:for-each> | 1080 </dc:for-each> |
1080 </dc:if> | 1081 </dc:if> |
1081 </dc:context> | 1082 </dc:context> |
1082 <dc:context> | 1083 <dc:context> |
1083 <dc:comment>Now the other tracks</dc:comment> | 1084 <dc:comment>Now the other tracks</dc:comment> |
1093 </dc:statement> | 1094 </dc:statement> |
1094 <dc:if test="dc:has-result()"> | 1095 <dc:if test="dc:has-result()"> |
1095 <other> | 1096 <other> |
1096 <dc:for-each> | 1097 <dc:for-each> |
1097 <misc-qps description="{$layer_name}" | 1098 <misc-qps description="{$layer_name}" |
1098 factory="wmsqpsfactory" | 1099 factory="wmsqpsfactory" out="{$OUT}" |
1099 ids="{$river_id};{$layer_name};{$kind_id}:OUT={$OUT}"/> | 1100 ids="{$river_id};{$layer_name};{$kind_id}"/> |
1100 </dc:for-each> | 1101 </dc:for-each> |
1101 </other> | 1102 </other> |
1102 </dc:if> | 1103 </dc:if> |
1103 </dc:context> | 1104 </dc:context> |
1104 </dc:macro> | 1105 </dc:macro> |
1115 AND kind_id=1 | 1116 AND kind_id=1 |
1116 </dc:statement> | 1117 </dc:statement> |
1117 <dc:if test="dc:has-result()"> | 1118 <dc:if test="dc:has-result()"> |
1118 <dc:for-each> | 1119 <dc:for-each> |
1119 <actual description="{$kind_name}" | 1120 <actual description="{$kind_name}" |
1120 ids="{$river_id};{$kind_name};{$kind_id}:OUT={$OUT}" | 1121 ids="{$river_id};{$kind_name};{$kind_id}" |
1121 factory="riveraxis"/> | 1122 factory="riveraxis" out="{$OUT}"/> |
1122 </dc:for-each> | 1123 </dc:for-each> |
1123 </dc:if> | 1124 </dc:if> |
1124 </dc:context> | 1125 </dc:context> |
1125 <dc:context> | 1126 <dc:context> |
1126 <dc:statement> | 1127 <dc:statement> |
1135 </dc:statement> | 1136 </dc:statement> |
1136 <dc:if test="dc:has-result()"> | 1137 <dc:if test="dc:has-result()"> |
1137 <other> | 1138 <other> |
1138 <dc:for-each> | 1139 <dc:for-each> |
1139 <misc-axis description="{$layer_name}" | 1140 <misc-axis description="{$layer_name}" |
1140 ids="{$river_id};{$layer_name};{$kind_id}:OUT={$OUT}" | 1141 ids="{$river_id};{$layer_name};{$kind_id}" |
1141 factory="riveraxis"/> | 1142 factory="riveraxis" out="{$OUT}"/> |
1142 </dc:for-each> | 1143 </dc:for-each> |
1143 </other> | 1144 </other> |
1144 </dc:if> | 1145 </dc:if> |
1145 </dc:context> | 1146 </dc:context> |
1146 </dc:macro> | 1147 </dc:macro> |
1153 FROM hydr_boundaries | 1154 FROM hydr_boundaries |
1154 WHERE river_id = ${river_id} | 1155 WHERE river_id = ${river_id} |
1155 AND kind = 2 | 1156 AND kind = 2 |
1156 </dc:statement> | 1157 </dc:statement> |
1157 <dc:for-each> | 1158 <dc:for-each> |
1158 <line factory="wmshydrboundariesfactory" | 1159 <line factory="wmshydrboundariesfactory" out="{$OUT}" |
1159 ids="{$river_id};{$name};2:OUT={$OUT}" | 1160 ids="{$river_id};{$name};2" |
1160 name="{$name}"/> | 1161 name="{$name}"/> |
1161 </dc:for-each> | 1162 </dc:for-each> |
1162 </dc:context> | 1163 </dc:context> |
1163 <dc:context> | 1164 <dc:context> |
1164 <dc:statement> | 1165 <dc:statement> |
1167 FROM hydr_boundaries_poly | 1168 FROM hydr_boundaries_poly |
1168 WHERE river_id = ${river_id} | 1169 WHERE river_id = ${river_id} |
1169 AND kind = 2 | 1170 AND kind = 2 |
1170 </dc:statement> | 1171 </dc:statement> |
1171 <dc:for-each> | 1172 <dc:for-each> |
1172 <line factory="wmshydrboundariespolyfactory" | 1173 <line factory="wmshydrboundariespolyfactory" out="{$OUT}" |
1173 ids="{$river_id};{$name};2:OUT={$OUT}" | 1174 ids="{$river_id};{$name};2" |
1174 name="{$name}"/> | 1175 name="{$name}"/> |
1175 </dc:for-each> | 1176 </dc:for-each> |
1176 </dc:context> | 1177 </dc:context> |
1177 </dc:macro> | 1178 </dc:macro> |
1178 | 1179 |
1187 </dc:statement> | 1188 </dc:statement> |
1188 <dc:comment> What about all other line kinds?</dc:comment> | 1189 <dc:comment> What about all other line kinds?</dc:comment> |
1189 <dc:if test="dc:has-result()"> | 1190 <dc:if test="dc:has-result()"> |
1190 <lines> | 1191 <lines> |
1191 <dc:for-each> | 1192 <dc:for-each> |
1192 <line factory="wmshydrboundariesfactory" | 1193 <line factory="wmshydrboundariesfactory" out="{$OUT}" |
1193 ids="{$river_id};{$name};1:OUT={$OUT}" | 1194 ids="{$river_id};{$name};1" |
1194 name="{$name}"/> | 1195 name="{$name}"/> |
1195 </dc:for-each> | 1196 </dc:for-each> |
1196 </lines> | 1197 </lines> |
1197 </dc:if> | 1198 </dc:if> |
1198 </dc:context> | 1199 </dc:context> |
1211 </dc:statement> | 1212 </dc:statement> |
1212 <dc:if test="dc:has-result()"> | 1213 <dc:if test="dc:has-result()"> |
1213 <sobek_areas> | 1214 <sobek_areas> |
1214 <dc:for-each> | 1215 <dc:for-each> |
1215 <boundary name="{$sectie}" | 1216 <boundary name="{$sectie}" |
1216 factory="wmshydrboundariespolyfactory" | 1217 factory="wmshydrboundariespolyfactory" out="{$OUT}" |
1217 ids="{$river_id};{$sectie};1;{$sectie_id};-1:OUT={$OUT}"/> | 1218 ids="{$river_id};{$sectie};1;{$sectie_id};-1"/> |
1218 </dc:for-each> | 1219 </dc:for-each> |
1219 </sobek_areas> | 1220 </sobek_areas> |
1220 </dc:if> | 1221 </dc:if> |
1221 </dc:context> | 1222 </dc:context> |
1222 <dc:context> | 1223 <dc:context> |
1231 </dc:statement> | 1232 </dc:statement> |
1232 <dc:if test="dc:has-result()"> | 1233 <dc:if test="dc:has-result()"> |
1233 <sobek_flooded> | 1234 <sobek_flooded> |
1234 <dc:for-each> | 1235 <dc:for-each> |
1235 <boundary name="{$sobek}" | 1236 <boundary name="{$sobek}" |
1236 factory="wmshydrboundariespolyfactory" | 1237 factory="wmshydrboundariespolyfactory" out="{$OUT}" |
1237 ids="{$river_id};{$sobek};1;-1;{$sobek_id}:OUT={$OUT}"/> | 1238 ids="{$river_id};{$sobek};1;-1;{$sobek_id}"/> |
1238 </dc:for-each> | 1239 </dc:for-each> |
1239 </sobek_flooded> | 1240 </sobek_flooded> |
1240 </dc:if> | 1241 </dc:if> |
1241 </dc:context> | 1242 </dc:context> |
1242 <dc:context> | 1243 <dc:context> |
1249 AND b.sobek IS NULL | 1250 AND b.sobek IS NULL |
1250 AND b.sectie is NULL | 1251 AND b.sectie is NULL |
1251 </dc:statement> | 1252 </dc:statement> |
1252 <dc:for-each> | 1253 <dc:for-each> |
1253 <boundary name="{$name}" | 1254 <boundary name="{$name}" |
1254 factory="wmshydrboundariespolyfactory" | 1255 factory="wmshydrboundariespolyfactory" out="{$OUT}" |
1255 ids="{$river_id};{$name}:OUT={$OUT}"/> | 1256 ids="{$river_id};{$name}"/> |
1256 </dc:for-each> | 1257 </dc:for-each> |
1257 </dc:context> | 1258 </dc:context> |
1258 </dc:macro> | 1259 </dc:macro> |
1259 | 1260 |
1260 <dc:macro name="flood-map-hydr-boundaries"> | 1261 <dc:macro name="flood-map-hydr-boundaries"> |
1281 WHERE river_id = ${river_id} | 1282 WHERE river_id = ${river_id} |
1282 AND kind_id=1 | 1283 AND kind_id=1 |
1283 </dc:statement> | 1284 </dc:statement> |
1284 <dc:if test="dc:has-result()"> | 1285 <dc:if test="dc:has-result()"> |
1285 <dc:for-each> | 1286 <dc:for-each> |
1286 <floody factory="wmsfloodplainfactory" | 1287 <floody factory="wmsfloodplainfactory" out="{$OUT}" |
1287 description="{$kind_name}" | 1288 description="{$kind_name}" |
1288 ids="{$river_id};{$kind_name};{$kind_id}:OUT={$OUT}"/> | 1289 ids="{$river_id};{$kind_name};{$kind_id}"/> |
1289 </dc:for-each> | 1290 </dc:for-each> |
1290 </dc:if> | 1291 </dc:if> |
1291 </dc:context> | 1292 </dc:context> |
1292 <dc:context> | 1293 <dc:context> |
1293 <dc:statement> | 1294 <dc:statement> |
1301 AND kind_id <> 1 | 1302 AND kind_id <> 1 |
1302 </dc:statement> | 1303 </dc:statement> |
1303 <dc:if test="dc:has-result()"> | 1304 <dc:if test="dc:has-result()"> |
1304 <other> | 1305 <other> |
1305 <dc:for-each> | 1306 <dc:for-each> |
1306 <floody factory="wmsfloodplainfactory" | 1307 <floody factory="wmsfloodplainfactory" out="{$OUT}" |
1307 description="{$layer_name}" | 1308 description="{$layer_name}" |
1308 ids="{$river_id};{$layer_name};{$kind_id}:OUT={$OUT}"/> | 1309 ids="{$river_id};{$layer_name};{$kind_id}"/> |
1309 </dc:for-each> | 1310 </dc:for-each> |
1310 </other> | 1311 </other> |
1311 </dc:if> | 1312 </dc:if> |
1312 </dc:context> | 1313 </dc:context> |
1313 </floodplain> | 1314 </floodplain> |
1319 availble | 1320 availble |
1320 </dc:comment> | 1321 </dc:comment> |
1321 | 1322 |
1322 <dc:macro name="hwslines_by_kind_factory"> | 1323 <dc:macro name="hwslines_by_kind_factory"> |
1323 <dc:for-each> | 1324 <dc:for-each> |
1324 <hws factory="wmshwslinesfactory" | 1325 <hws factory="wmshwslinesfactory" out="{$OUT}" |
1325 ids="{$river_id};{$hws_name}:OUT={$OUT}" | 1326 ids="{$river_id};{$hws_name}" |
1326 name="{$hws_name}"/> | 1327 name="{$hws_name}"/> |
1327 </dc:for-each> | 1328 </dc:for-each> |
1328 </dc:macro> | 1329 </dc:macro> |
1329 | 1330 |
1330 <dc:filter expr="$hws_kind=1"> | 1331 <dc:filter expr="$hws_kind=1"> |
1450 availble | 1451 availble |
1451 </dc:comment> | 1452 </dc:comment> |
1452 | 1453 |
1453 <dc:macro name="hwspoints_by_kind_factory"> | 1454 <dc:macro name="hwspoints_by_kind_factory"> |
1454 <dc:for-each> | 1455 <dc:for-each> |
1455 <hws factory="wmshwspointsfactory" | 1456 <hws factory="wmshwspointsfactory" out="{$OUT}" |
1456 ids="{$river_id};{$hws_name}:OUT={$OUT}" | 1457 ids="{$river_id};{$hws_name}" |
1457 name="{$hws_name}"/> | 1458 name="{$hws_name}"/> |
1458 </dc:for-each> | 1459 </dc:for-each> |
1459 </dc:macro> | 1460 </dc:macro> |
1460 | 1461 |
1461 <dc:filter expr="$hws_kind=1"> | 1462 <dc:filter expr="$hws_kind=1"> |
1586 WHERE b.river_id = ${river_id} | 1587 WHERE b.river_id = ${river_id} |
1587 AND b.kind_id <> 0 | 1588 AND b.kind_id <> 0 |
1588 </dc:statement> | 1589 </dc:statement> |
1589 <dc:for-each> | 1590 <dc:for-each> |
1590 <buildings description="{$building_kind}" | 1591 <buildings description="{$building_kind}" |
1591 factory="wmsbuildingsfactory" | 1592 factory="wmsbuildingsfactory" out="{$OUT}" |
1592 ids="{$river_id};{$building_kind};{$building_kind_id}:OUT={$OUT}"/> | 1593 ids="{$river_id};{$building_kind};{$building_kind_id}"/> |
1593 </dc:for-each> | 1594 </dc:for-each> |
1594 </dc:context> | 1595 </dc:context> |
1595 <dc:context> | 1596 <dc:context> |
1596 <dc:statement> | 1597 <dc:statement> |
1597 SELECT DISTINCT | 1598 SELECT DISTINCT |
1605 </dc:statement> | 1606 </dc:statement> |
1606 <dc:if test="dc:has-result()"> | 1607 <dc:if test="dc:has-result()"> |
1607 <other> | 1608 <other> |
1608 <dc:for-each> | 1609 <dc:for-each> |
1609 <buildings description="{$building_name}" | 1610 <buildings description="{$building_name}" |
1610 factory="wmsbuildingsfactory" | 1611 factory="wmsbuildingsfactory" out="{$OUT}" |
1611 ids="{$river_id};{$building_name}:OUT={$OUT}"/> | 1612 ids="{$river_id};{$building_name}"/> |
1612 </dc:for-each> | 1613 </dc:for-each> |
1613 </other> | 1614 </other> |
1614 </dc:if> | 1615 </dc:if> |
1615 </dc:context> | 1616 </dc:context> |
1616 <dc:context> | 1617 <dc:context> |
1624 </dc:statement> | 1625 </dc:statement> |
1625 <dc:if test="dc:has-result()"> | 1626 <dc:if test="dc:has-result()"> |
1626 <jetties> | 1627 <jetties> |
1627 <dc:for-each> | 1628 <dc:for-each> |
1628 <jetty description="{$jetty_kind}" | 1629 <jetty description="{$jetty_kind}" |
1629 factory="wmsjettiesfactory" | 1630 factory="wmsjettiesfactory" out="{$OUT}" |
1630 ids="{$river_id};{$jetty_kind};{$jetty_kind_id}:OUT={$OUT}"/> | 1631 ids="{$river_id};{$jetty_kind};{$jetty_kind_id}"/> |
1631 </dc:for-each> | 1632 </dc:for-each> |
1632 </jetties> | 1633 </jetties> |
1633 </dc:if> | 1634 </dc:if> |
1634 </dc:context> | 1635 </dc:context> |
1635 </dc:macro> | 1636 </dc:macro> |
1639 <dc:statement> | 1640 <dc:statement> |
1640 SELECT name AS name | 1641 SELECT name AS name |
1641 FROM fixpoints WHERE river_id = ${river_id} GROUP BY name | 1642 FROM fixpoints WHERE river_id = ${river_id} GROUP BY name |
1642 </dc:statement> | 1643 </dc:statement> |
1643 <dc:for-each> | 1644 <dc:for-each> |
1644 <fixpoints factory="wmsfixpointsfactory" | 1645 <fixpoints factory="wmsfixpointsfactory" out="{$OUT}" |
1645 ids="{$river_id};{$name}:OUT={$OUT}"/> | 1646 ids="{$river_id};{$name}"/> |
1646 </dc:for-each> | 1647 </dc:for-each> |
1647 </dc:context> | 1648 </dc:context> |
1648 </dc:macro> | 1649 </dc:macro> |
1649 | 1650 |
1650 <dc:macro name="flood-map-gaugelocations"> | 1651 <dc:macro name="flood-map-gaugelocations"> |
1651 <gauge_points factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelpunkte (WSV):OUT={$OUT}"/> | 1652 <gauge_points factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelpunkte;Pegelpunkte (WSV)"/> |
1652 <gauge_names factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelnamen;Pegelnamen (WSV):OUT={$OUT}"/> | 1653 <gauge_names factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelnamen;Pegelnamen (WSV)"/> |
1653 <gauge_level factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelwasserstand;Aktueller Wasserstand (WSV):OUT={$OUT}"/> | 1654 <gauge_level factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;Pegelwasserstand;Aktueller Wasserstand (WSV)"/> |
1654 <gauge_tendency factory="externalwmsfactory" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;TendenzWasserstand;Tendenz des Wasserstands (WSV):OUT={$OUT}"/> | 1655 <gauge_tendency factory="externalwmsfactory" out="{$OUT}" ids="http://www.pegelonline.wsv.de/webservices/gis/wms;TendenzWasserstand;Tendenz des Wasserstands (WSV)"/> |
1655 </dc:macro> | 1656 </dc:macro> |
1656 | 1657 |
1657 <dc:macro name="flood-map-uesk"> | 1658 <dc:macro name="flood-map-uesk"> |
1658 <dc:context> | 1659 <dc:context> |
1659 <dc:statement> | 1660 <dc:statement> |
1676 WHERE river_id = ${river_id} AND kind = 111 | 1677 WHERE river_id = ${river_id} AND kind = 111 |
1677 </dc:statement> | 1678 </dc:statement> |
1678 <dc:if test="dc:has-result()"> | 1679 <dc:if test="dc:has-result()"> |
1679 <bfg> | 1680 <bfg> |
1680 <dc:for-each> | 1681 <dc:for-each> |
1681 <floodmaps factory="wmsfloodmapsfactory" | 1682 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
1682 ids="{$river_id};{$name}:OUT={$OUT}" | 1683 ids="{$river_id};{$name}" |
1683 name="{$name}"/> | 1684 name="{$name}"/> |
1684 </dc:for-each> | 1685 </dc:for-each> |
1685 </bfg> | 1686 </bfg> |
1686 </dc:if> | 1687 </dc:if> |
1687 </dc:context> | 1688 </dc:context> |
1692 WHERE river_id = ${river_id} AND kind = 112 | 1693 WHERE river_id = ${river_id} AND kind = 112 |
1693 </dc:statement> | 1694 </dc:statement> |
1694 <dc:if test="dc:has-result()"> | 1695 <dc:if test="dc:has-result()"> |
1695 <federal> | 1696 <federal> |
1696 <dc:for-each> | 1697 <dc:for-each> |
1697 <floodmaps factory="wmsfloodmapsfactory" | 1698 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
1698 ids="{$river_id};{$name}:OUT={$OUT}" | 1699 ids="{$river_id};{$name}" |
1699 name="{$name}"/> | 1700 name="{$name}"/> |
1700 </dc:for-each> | 1701 </dc:for-each> |
1701 </federal> | 1702 </federal> |
1702 </dc:if> | 1703 </dc:if> |
1703 </dc:context> | 1704 </dc:context> |
1718 WHERE river_id = ${river_id} AND kind = 121 | 1719 WHERE river_id = ${river_id} AND kind = 121 |
1719 </dc:statement> | 1720 </dc:statement> |
1720 <dc:if test="dc:has-result()"> | 1721 <dc:if test="dc:has-result()"> |
1721 <bfg> | 1722 <bfg> |
1722 <dc:for-each> | 1723 <dc:for-each> |
1723 <floodmaps factory="wmsfloodmapsfactory" | 1724 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
1724 ids="{$river_id};{$name}:OUT={$OUT}" | 1725 ids="{$river_id};{$name}" |
1725 name="{$name}"/> | 1726 name="{$name}"/> |
1726 </dc:for-each> | 1727 </dc:for-each> |
1727 </bfg> | 1728 </bfg> |
1728 </dc:if> | 1729 </dc:if> |
1729 </dc:context> | 1730 </dc:context> |
1735 WHERE river_id = ${river_id} AND kind = 122 | 1736 WHERE river_id = ${river_id} AND kind = 122 |
1736 </dc:statement> | 1737 </dc:statement> |
1737 <dc:if test="dc:has-result()"> | 1738 <dc:if test="dc:has-result()"> |
1738 <federal> | 1739 <federal> |
1739 <dc:for-each> | 1740 <dc:for-each> |
1740 <floodmaps factory="wmsfloodmapsfactory" | 1741 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
1741 ids="{$river_id};{$name}:OUT={$OUT}" | 1742 ids="{$river_id};{$name}" |
1742 name="{$name}"/> | 1743 name="{$name}"/> |
1743 </dc:for-each> | 1744 </dc:for-each> |
1744 </federal> | 1745 </federal> |
1745 </dc:if> | 1746 </dc:if> |
1746 </dc:context> | 1747 </dc:context> |
1766 FROM floodmaps | 1767 FROM floodmaps |
1767 WHERE river_id = ${river_id} AND kind = 200 AND source = | 1768 WHERE river_id = ${river_id} AND kind = 200 AND source = |
1768 ${source} | 1769 ${source} |
1769 </dc:statement> | 1770 </dc:statement> |
1770 <dc:for-each> | 1771 <dc:for-each> |
1771 <floodmaps factory="wmsfloodmapsfactory" | 1772 <floodmaps factory="wmsfloodmapsfactory" out="{$OUT}" |
1772 ids="{$river_id};{$name}:OUT={$OUT}" | 1773 ids="{$river_id};{$name}" |
1773 name="{$name}"/> | 1774 name="{$name}"/> |
1774 </dc:for-each> | 1775 </dc:for-each> |
1775 </dc:context> | 1776 </dc:context> |
1776 </year> | 1777 </year> |
1777 </dc:for-each> | 1778 </dc:for-each> |
1804 </dc:statement> | 1805 </dc:statement> |
1805 <dc:if test="dc:has-result()"> | 1806 <dc:if test="dc:has-result()"> |
1806 <floodmarks> | 1807 <floodmarks> |
1807 <dc:for-each> | 1808 <dc:for-each> |
1808 <floodmark name="{$year}" | 1809 <floodmark name="{$year}" |
1809 factory="wmsfloodmarkfactory" | 1810 factory="wmsfloodmarkfactory" out="{$OUT}" |
1810 ids="{$river_id};{$year};{$year}:OUT={$OUT}"/> | 1811 ids="{$river_id};{$year};{$year}"/> |
1811 </dc:for-each> | 1812 </dc:for-each> |
1812 </floodmarks> | 1813 </floodmarks> |
1813 </dc:if> | 1814 </dc:if> |
1814 </dc:context> | 1815 </dc:context> |
1815 </dc:macro> | 1816 </dc:macro> |
1817 <dc:macro name="flood-map-complete"> | 1818 <dc:macro name="flood-map-complete"> |
1818 <buildings> | 1819 <buildings> |
1819 <dc:call-macro name="flood-map-buildings"/> | 1820 <dc:call-macro name="flood-map-buildings"/> |
1820 </buildings> | 1821 </buildings> |
1821 <catchments> | 1822 <catchments> |
1822 <catchment_wms factory="externalwmsfactory" | 1823 <catchment_wms factory="externalwmsfactory" out="{$OUT}" |
1823 ids="http://geoportal.bafg.de/wmsproxy/INSPIRE/DrainageBasin;HY.PHYSICALWATERS.CATCHMENTS;Einzugsgebiete (WMS):OUT={$OUT}" /> | 1824 ids="http://geoportal.bafg.de/wmsproxy/INSPIRE/DrainageBasin;HY.PHYSICALWATERS.CATCHMENTS;Einzugsgebiete (WMS)" /> |
1824 <gaugelocations> | 1825 <gaugelocations> |
1825 <dc:call-macro name="flood-map-gaugelocations"/> | 1826 <dc:call-macro name="flood-map-gaugelocations"/> |
1826 </gaugelocations> | 1827 </gaugelocations> |
1827 </catchments> | 1828 </catchments> |
1828 <dc:call-macro name="floodmarks"/> | 1829 <dc:call-macro name="floodmarks"/> |
1850 year AS bedh_year, | 1851 year AS bedh_year, |
1851 description AS bedh_descr | 1852 description AS bedh_descr |
1852 FROM bed_height_single WHERE river_id = ${river_id} | 1853 FROM bed_height_single WHERE river_id = ${river_id} |
1853 </dc:statement> | 1854 </dc:statement> |
1854 <dc:for-each> | 1855 <dc:for-each> |
1855 <height factory="bedheight" | 1856 <height factory="bedheight" out="{$OUT}" |
1856 ids="bedheight-single-{$bedh_id}-{$bedh_year}:OUT={$OUT}" | 1857 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
1857 description="{$bedh_descr}"/> | 1858 description="{$bedh_descr}"/> |
1858 </dc:for-each> | 1859 </dc:for-each> |
1859 </dc:context> | 1860 </dc:context> |
1860 </single> | 1861 </single> |
1861 </dc:macro> | 1862 </dc:macro> |
1868 time_interval_id AS bedh_interval_id, | 1869 time_interval_id AS bedh_interval_id, |
1869 description AS bedh_descr | 1870 description AS bedh_descr |
1870 FROM bed_height_epoch WHERE river_id = ${river_id} | 1871 FROM bed_height_epoch WHERE river_id = ${river_id} |
1871 </dc:statement> | 1872 </dc:statement> |
1872 <dc:for-each> | 1873 <dc:for-each> |
1873 <height factory="bedheight" | 1874 <height factory="bedheight" out="{$OUT}" |
1874 ids="bedheight-epoch-{$bedh_id}-{$bedh_interval_id}:OUT={$OUT}" | 1875 ids="bedheight-epoch-{$bedh_id}-{$bedh_interval_id}" |
1875 description="{$bedh_descr}"/> | 1876 description="{$bedh_descr}"/> |
1876 </dc:for-each> | 1877 </dc:for-each> |
1877 </dc:context> | 1878 </dc:context> |
1878 </epoch> | 1879 </epoch> |
1879 </dc:macro> | 1880 </dc:macro> |
1964 WHERE ol.value = CAST(${wqsingle} AS NUMERIC(10,2)) AND ol.gauge_name = ${gaugy} | 1965 WHERE ol.value = CAST(${wqsingle} AS NUMERIC(10,2)) AND ol.gauge_name = ${gaugy} |
1965 </dc:statement> | 1966 </dc:statement> |
1966 <dc:for-each> | 1967 <dc:for-each> |
1967 <dc:element name="${olname}"> | 1968 <dc:element name="${olname}"> |
1968 <dc:attribute name="name" value="${olname}"/> | 1969 <dc:attribute name="name" value="${olname}"/> |
1969 <dc:attribute name="ids" value="additionals-wstv-${wstcolpos}-${wstid}:OUT=${out}"/> | 1970 <dc:attribute name="ids" value="additionals-wstv-${wstcolpos}-${wstid}"/> |
1970 <dc:attribute name="factory" value="staticwkms"/> | 1971 <dc:attribute name="factory" value="staticwkms"/> |
1972 <dc:attribute name="out" value="${out}"/> | |
1971 </dc:element> | 1973 </dc:element> |
1972 </dc:for-each> | 1974 </dc:for-each> |
1973 </dc:context> | 1975 </dc:context> |
1974 </dc:for-each> | 1976 </dc:for-each> |
1975 </dc:context> | 1977 </dc:context> |
1995 </dc:statement> | 1997 </dc:statement> |
1996 <dc:for-each> | 1998 <dc:for-each> |
1997 <dc:element name="${facet_name}"> | 1999 <dc:element name="${facet_name}"> |
1998 <dc:attribute name="description" value="${facet_description}"/> | 2000 <dc:attribute name="description" value="${facet_description}"/> |
1999 <dc:attribute name="factory" value="winfo"/> | 2001 <dc:attribute name="factory" value="winfo"/> |
2002 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2000 <dc:attribute name="artifact-id" value="${aid}"/> | 2003 <dc:attribute name="artifact-id" value="${aid}"/> |
2001 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> | 2004 <dc:attribute name="ids" value="${aid}"/> |
2002 <dc:attribute name="out" value="w_differences"/> | 2005 <dc:attribute name="out" value="w_differences"/> |
2003 </dc:element> | 2006 </dc:element> |
2004 </dc:for-each> | 2007 </dc:for-each> |
2005 </dc:context> | 2008 </dc:context> |
2006 </dc:call-macro> | 2009 </dc:call-macro> |
2026 </dc:statement> | 2029 </dc:statement> |
2027 <dc:for-each> | 2030 <dc:for-each> |
2028 <dc:element name="${facet_name}"> | 2031 <dc:element name="${facet_name}"> |
2029 <dc:attribute name="description" value="${facet_description}"/> | 2032 <dc:attribute name="description" value="${facet_description}"/> |
2030 <dc:attribute name="factory" value="winfo"/> | 2033 <dc:attribute name="factory" value="winfo"/> |
2034 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2031 <dc:attribute name="artifact-id" value="${aid}"/> | 2035 <dc:attribute name="artifact-id" value="${aid}"/> |
2032 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> | 2036 <dc:attribute name="ids" value="${aid}"/> |
2033 <dc:attribute name="out" value="reference_curve"/> | 2037 <dc:attribute name="out" value="reference_curve"/> |
2034 </dc:element> | 2038 </dc:element> |
2035 </dc:for-each> | 2039 </dc:for-each> |
2036 </dc:context> | 2040 </dc:context> |
2037 </dc:call-macro> | 2041 </dc:call-macro> |
2057 </dc:statement> | 2061 </dc:statement> |
2058 <dc:for-each> | 2062 <dc:for-each> |
2059 <dc:element name="${facet_name}"> | 2063 <dc:element name="${facet_name}"> |
2060 <dc:attribute name="description" value="${facet_description}"/> | 2064 <dc:attribute name="description" value="${facet_description}"/> |
2061 <dc:attribute name="factory" value="winfo"/> | 2065 <dc:attribute name="factory" value="winfo"/> |
2066 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2062 <dc:attribute name="artifact-id" value="${aid}"/> | 2067 <dc:attribute name="artifact-id" value="${aid}"/> |
2063 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> | 2068 <dc:attribute name="ids" value="${aid}"/> |
2064 <dc:attribute name="out" value="computed_discharge_curve"/> | 2069 <dc:attribute name="out" value="computed_discharge_curve"/> |
2065 </dc:element> | 2070 </dc:element> |
2066 </dc:for-each> | 2071 </dc:for-each> |
2067 </dc:context> | 2072 </dc:context> |
2068 </dc:call-macro> | 2073 </dc:call-macro> |
2096 </dc:statement> | 2101 </dc:statement> |
2097 <longitudinal_section_columns description="{$river} {$a_creation}"> | 2102 <longitudinal_section_columns description="{$river} {$a_creation}"> |
2098 <dc:for-each> | 2103 <dc:for-each> |
2099 <dc:element name="${facet_name}"> | 2104 <dc:element name="${facet_name}"> |
2100 <dc:attribute name="description" value="${facet_description}"/> | 2105 <dc:attribute name="description" value="${facet_description}"/> |
2101 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2106 <dc:attribute name="ids" value="${facet_num}"/> |
2102 <dc:attribute name="factory" value="winfo"/> | 2107 <dc:attribute name="factory" value="winfo"/> |
2108 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2103 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2109 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2104 <dc:attribute name="out" value="cross_section"/> | 2110 <dc:attribute name="out" value="cross_section"/> |
2105 </dc:element> | 2111 </dc:element> |
2106 </dc:for-each> | 2112 </dc:for-each> |
2107 </longitudinal_section_columns> | 2113 </longitudinal_section_columns> |
2135 </dc:statement> | 2141 </dc:statement> |
2136 <longitudinal_section_columns description="{$river} {$a_creation}"> | 2142 <longitudinal_section_columns description="{$river} {$a_creation}"> |
2137 <dc:for-each> | 2143 <dc:for-each> |
2138 <dc:element name="${facet_name}"> | 2144 <dc:element name="${facet_name}"> |
2139 <dc:attribute name="description" value="${facet_description}"/> | 2145 <dc:attribute name="description" value="${facet_description}"/> |
2140 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2146 <dc:attribute name="ids" value="${facet_num}"/> |
2141 <dc:attribute name="factory" value="winfo"/> | 2147 <dc:attribute name="factory" value="winfo"/> |
2148 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2142 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2149 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2143 <dc:attribute name="out" value="longitudinal_section"/> | 2150 <dc:attribute name="out" value="longitudinal_section"/> |
2144 </dc:element> | 2151 </dc:element> |
2145 </dc:for-each> | 2152 </dc:for-each> |
2146 </longitudinal_section_columns> | 2153 </longitudinal_section_columns> |
2179 </dc:statement> | 2186 </dc:statement> |
2180 <waterlevels description="{$river} {$a_creation} {$collection_name}"> | 2187 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
2181 <dc:for-each> | 2188 <dc:for-each> |
2182 <dc:element name="${facet_name}"> | 2189 <dc:element name="${facet_name}"> |
2183 <dc:attribute name="description" value="${facet_description}"/> | 2190 <dc:attribute name="description" value="${facet_description}"/> |
2184 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2191 <dc:attribute name="ids" value="${facet_num}"/> |
2185 <dc:attribute name="factory" value="fixanalysis"/> | 2192 <dc:attribute name="factory" value="fixanalysis"/> |
2193 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2186 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2194 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2187 <dc:attribute name="out" value="fix_longitudinal_section_curve"/> | 2195 <dc:attribute name="out" value="fix_longitudinal_section_curve"/> |
2188 </dc:element> | 2196 </dc:element> |
2189 </dc:for-each> | 2197 </dc:for-each> |
2190 </waterlevels> | 2198 </waterlevels> |
2223 </dc:statement> | 2231 </dc:statement> |
2224 <waterlevels description="{$river} {$a_creation} {$collection_name}"> | 2232 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
2225 <dc:for-each> | 2233 <dc:for-each> |
2226 <dc:element name="${facet_name}"> | 2234 <dc:element name="${facet_name}"> |
2227 <dc:attribute name="description" value="${facet_description}"/> | 2235 <dc:attribute name="description" value="${facet_description}"/> |
2228 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2236 <dc:attribute name="ids" value="${facet_num}"/> |
2229 <dc:attribute name="factory" value="fixanalysis"/> | 2237 <dc:attribute name="factory" value="fixanalysis"/> |
2238 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2230 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2239 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2231 <dc:attribute name="out" value="fix_deltawt_curve"/> | 2240 <dc:attribute name="out" value="fix_deltawt_curve"/> |
2232 </dc:element> | 2241 </dc:element> |
2233 </dc:for-each> | 2242 </dc:for-each> |
2234 </waterlevels> | 2243 </waterlevels> |
2264 </dc:statement> | 2273 </dc:statement> |
2265 <waterlevels description="{$river} {$a_creation} {$collection_name}"> | 2274 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
2266 <dc:for-each> | 2275 <dc:for-each> |
2267 <dc:element name="${facet_name}"> | 2276 <dc:element name="${facet_name}"> |
2268 <dc:attribute name="description" value="${facet_description}"/> | 2277 <dc:attribute name="description" value="${facet_description}"/> |
2269 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2278 <dc:attribute name="ids" value="${facet_num}"/> |
2270 <dc:attribute name="factory" value="fixanalysis"/> | 2279 <dc:attribute name="factory" value="fixanalysis"/> |
2280 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2271 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2281 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2272 <dc:attribute name="out" value="fix_deltawt_curve"/> | 2282 <dc:attribute name="out" value="fix_deltawt_curve"/> |
2273 </dc:element> | 2283 </dc:element> |
2274 </dc:for-each> | 2284 </dc:for-each> |
2275 </waterlevels> | 2285 </waterlevels> |
2303 </dc:statement> | 2313 </dc:statement> |
2304 <waterlevels description="{$river} {$a_creation} {$collection_name}"> | 2314 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
2305 <dc:for-each> | 2315 <dc:for-each> |
2306 <dc:element name="${facet_name}"> | 2316 <dc:element name="${facet_name}"> |
2307 <dc:attribute name="description" value="${facet_description}"/> | 2317 <dc:attribute name="description" value="${facet_description}"/> |
2308 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2318 <dc:attribute name="ids" value="${facet_num}"/> |
2309 <dc:attribute name="factory" value="fixanalysis"/> | 2319 <dc:attribute name="factory" value="fixanalysis"/> |
2320 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2310 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2321 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2311 <dc:attribute name="out" value="fix_derivate_curve"/> | 2322 <dc:attribute name="out" value="fix_derivate_curve"/> |
2312 </dc:element> | 2323 </dc:element> |
2313 </dc:for-each> | 2324 </dc:for-each> |
2314 </waterlevels> | 2325 </waterlevels> |
2346 </dc:statement> | 2357 </dc:statement> |
2347 <waterlevels description="{$river} {$a_creation} {$collection_name}"> | 2358 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
2348 <dc:for-each> | 2359 <dc:for-each> |
2349 <dc:element name="${facet_name}"> | 2360 <dc:element name="${facet_name}"> |
2350 <dc:attribute name="description" value="${facet_description}"/> | 2361 <dc:attribute name="description" value="${facet_description}"/> |
2351 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2362 <dc:attribute name="ids" value="${facet_num}"/> |
2352 <dc:attribute name="factory" value="fixanalysis"/> | 2363 <dc:attribute name="factory" value="fixanalysis"/> |
2364 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2353 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2365 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2354 <dc:attribute name="out" value="fix_wq_curve"/> | 2366 <dc:attribute name="out" value="fix_wq_curve"/> |
2355 </dc:element> | 2367 </dc:element> |
2356 </dc:for-each> | 2368 </dc:for-each> |
2357 </waterlevels> | 2369 </waterlevels> |
2385 </dc:statement> | 2397 </dc:statement> |
2386 <dc:for-each> | 2398 <dc:for-each> |
2387 <dc:element name="${facet_name}"> | 2399 <dc:element name="${facet_name}"> |
2388 <dc:attribute name="description" value="${facet_description}"/> | 2400 <dc:attribute name="description" value="${facet_description}"/> |
2389 <dc:attribute name="factory" value="winfo"/> | 2401 <dc:attribute name="factory" value="winfo"/> |
2402 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2390 <dc:attribute name="artifact-id" value="${aid}"/> | 2403 <dc:attribute name="artifact-id" value="${aid}"/> |
2391 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> | 2404 <dc:attribute name="ids" value="${aid}"/> |
2392 <dc:attribute name="out" value="duration_curve"/> | 2405 <dc:attribute name="out" value="duration_curve"/> |
2393 </dc:element> | 2406 </dc:element> |
2394 </dc:for-each> | 2407 </dc:for-each> |
2395 </dc:context> | 2408 </dc:context> |
2396 </dc:call-macro> | 2409 </dc:call-macro> |
2426 </dc:statement> | 2439 </dc:statement> |
2427 <waterlevels description="{$river} {$a_creation} {$collection_name}"> | 2440 <waterlevels description="{$river} {$a_creation} {$collection_name}"> |
2428 <dc:for-each> | 2441 <dc:for-each> |
2429 <dc:element name="${facet_name}"> | 2442 <dc:element name="${facet_name}"> |
2430 <dc:attribute name="description" value="${facet_description}"/> | 2443 <dc:attribute name="description" value="${facet_description}"/> |
2431 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2444 <dc:attribute name="ids" value="${facet_num}"/> |
2432 <dc:attribute name="factory" value="winfo"/> | 2445 <dc:attribute name="factory" value="winfo"/> |
2446 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2433 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2447 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2434 <dc:attribute name="out" value="longitudinal_section"/> | 2448 <dc:attribute name="out" value="longitudinal_section"/> |
2435 </dc:element> | 2449 </dc:element> |
2436 </dc:for-each> | 2450 </dc:for-each> |
2437 </waterlevels> | 2451 </waterlevels> |
2468 </dc:statement> | 2482 </dc:statement> |
2469 <dc:for-each> | 2483 <dc:for-each> |
2470 <dc:element name="${facet_name}"> | 2484 <dc:element name="${facet_name}"> |
2471 <dc:attribute name="description" value="${facet_description}"/> | 2485 <dc:attribute name="description" value="${facet_description}"/> |
2472 <dc:attribute name="factory" value="winfo"/> | 2486 <dc:attribute name="factory" value="winfo"/> |
2487 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2473 <dc:attribute name="artifact-id" value="${aid}"/> | 2488 <dc:attribute name="artifact-id" value="${aid}"/> |
2474 <dc:attribute name="ids" value="${aid}:OUT=${out}"/> | 2489 <dc:attribute name="ids" value="${aid}"/> |
2475 <dc:attribute name="out" value="floodmap"/> | 2490 <dc:attribute name="out" value="floodmap"/> |
2476 </dc:element> | 2491 </dc:element> |
2477 </dc:for-each> | 2492 </dc:for-each> |
2478 </dc:context> | 2493 </dc:context> |
2479 </dc:call-macro> | 2494 </dc:call-macro> |
2505 </dc:statement> | 2520 </dc:statement> |
2506 <own-hws> | 2521 <own-hws> |
2507 <dc:for-each> | 2522 <dc:for-each> |
2508 <dc:element name="${facet_name}"> | 2523 <dc:element name="${facet_name}"> |
2509 <dc:attribute name="description" value="${facet_description}"/> | 2524 <dc:attribute name="description" value="${facet_description}"/> |
2510 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/> | 2525 <dc:attribute name="ids" value="${facet_num}"/> |
2511 <dc:attribute name="factory" value="winfo"/> | 2526 <dc:attribute name="factory" value="winfo"/> |
2527 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2512 <dc:attribute name="artifact-id" value="${a_gid}"/> | 2528 <dc:attribute name="artifact-id" value="${a_gid}"/> |
2513 <dc:attribute name="out" value="floodmap"/> | 2529 <dc:attribute name="out" value="floodmap"/> |
2514 </dc:element> | 2530 </dc:element> |
2515 </dc:for-each> | 2531 </dc:for-each> |
2516 </own-hws> | 2532 </own-hws> |
2550 a.id = ${a_id} | 2566 a.id = ${a_id} |
2551 </dc:statement> | 2567 </dc:statement> |
2552 <dc:for-each> | 2568 <dc:for-each> |
2553 <dc:element name="${facet_name}"> | 2569 <dc:element name="${facet_name}"> |
2554 <dc:attribute name="factory" value="minfo"/> | 2570 <dc:attribute name="factory" value="minfo"/> |
2571 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2555 <dc:attribute name="description" value="${facet_description}"/> | 2572 <dc:attribute name="description" value="${facet_description}"/> |
2556 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2573 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2557 <dc:attribute name="artifact-id" value="${aid}"/> | 2574 <dc:attribute name="artifact-id" value="${aid}"/> |
2558 <dc:attribute name="out" value="bed_longitudinal_section"/> | 2575 <dc:attribute name="out" value="bed_longitudinal_section"/> |
2559 </dc:element> | 2576 </dc:element> |
2560 </dc:for-each> | 2577 </dc:for-each> |
2561 </dc:context> | 2578 </dc:context> |
2598 a.id = ${a_id} | 2615 a.id = ${a_id} |
2599 </dc:statement> | 2616 </dc:statement> |
2600 <dc:for-each> | 2617 <dc:for-each> |
2601 <dc:element name="${facet_name}"> | 2618 <dc:element name="${facet_name}"> |
2602 <dc:attribute name="factory" value="minfo"/> | 2619 <dc:attribute name="factory" value="minfo"/> |
2620 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2603 <dc:attribute name="description" value="${facet_description}"/> | 2621 <dc:attribute name="description" value="${facet_description}"/> |
2604 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2622 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2605 <dc:attribute name="artifact-id" value="${aid}"/> | 2623 <dc:attribute name="artifact-id" value="${aid}"/> |
2606 <dc:attribute name="out" value="bed_longitudinal_section"/> | 2624 <dc:attribute name="out" value="bed_longitudinal_section"/> |
2607 </dc:element> | 2625 </dc:element> |
2608 </dc:for-each> | 2626 </dc:for-each> |
2609 </dc:context> | 2627 </dc:context> |
2647 a.id = ${a_id} | 2665 a.id = ${a_id} |
2648 </dc:statement> | 2666 </dc:statement> |
2649 <dc:for-each> | 2667 <dc:for-each> |
2650 <dc:element name="${facet_name}"> | 2668 <dc:element name="${facet_name}"> |
2651 <dc:attribute name="factory" value="minfo"/> | 2669 <dc:attribute name="factory" value="minfo"/> |
2670 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2652 <dc:attribute name="description" value="${facet_description}"/> | 2671 <dc:attribute name="description" value="${facet_description}"/> |
2653 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2672 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2654 <dc:attribute name="artifact-id" value="${aid}"/> | 2673 <dc:attribute name="artifact-id" value="${aid}"/> |
2655 <dc:attribute name="out" value="bed_longitudinal_section"/> | 2674 <dc:attribute name="out" value="bed_longitudinal_section"/> |
2656 </dc:element> | 2675 </dc:element> |
2657 </dc:for-each> | 2676 </dc:for-each> |
2658 </dc:context> | 2677 </dc:context> |
2696 a.id = ${a_id} | 2715 a.id = ${a_id} |
2697 </dc:statement> | 2716 </dc:statement> |
2698 <dc:for-each> | 2717 <dc:for-each> |
2699 <dc:element name="${facet_name}"> | 2718 <dc:element name="${facet_name}"> |
2700 <dc:attribute name="factory" value="minfo"/> | 2719 <dc:attribute name="factory" value="minfo"/> |
2720 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2701 <dc:attribute name="description" value="${facet_description}"/> | 2721 <dc:attribute name="description" value="${facet_description}"/> |
2702 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2722 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2703 <dc:attribute name="artifact-id" value="${aid}"/> | 2723 <dc:attribute name="artifact-id" value="${aid}"/> |
2704 <dc:attribute name="out" value="bed_longitudinal_section"/> | 2724 <dc:attribute name="out" value="bed_longitudinal_section"/> |
2705 </dc:element> | 2725 </dc:element> |
2706 </dc:for-each> | 2726 </dc:for-each> |
2707 </dc:context> | 2727 </dc:context> |
2746 a.id = ${a_id} | 2766 a.id = ${a_id} |
2747 </dc:statement> | 2767 </dc:statement> |
2748 <dc:for-each> | 2768 <dc:for-each> |
2749 <dc:element name="${facet_name}"> | 2769 <dc:element name="${facet_name}"> |
2750 <dc:attribute name="factory" value="minfo"/> | 2770 <dc:attribute name="factory" value="minfo"/> |
2771 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2751 <dc:attribute name="description" value="${facet_description}"/> | 2772 <dc:attribute name="description" value="${facet_description}"/> |
2752 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2773 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2753 <dc:attribute name="artifact-id" value="${aid}"/> | 2774 <dc:attribute name="artifact-id" value="${aid}"/> |
2754 <dc:attribute name="out" value="flow_velocity"/> | 2775 <dc:attribute name="out" value="flow_velocity"/> |
2755 </dc:element> | 2776 </dc:element> |
2756 </dc:for-each> | 2777 </dc:for-each> |
2757 </dc:context> | 2778 </dc:context> |
2792 a.id = ${a_id} | 2813 a.id = ${a_id} |
2793 </dc:statement> | 2814 </dc:statement> |
2794 <dc:for-each> | 2815 <dc:for-each> |
2795 <dc:element name="${facet_name}"> | 2816 <dc:element name="${facet_name}"> |
2796 <dc:attribute name="factory" value="minfo"/> | 2817 <dc:attribute name="factory" value="minfo"/> |
2818 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2797 <dc:attribute name="description" value="${facet_description}"/> | 2819 <dc:attribute name="description" value="${facet_description}"/> |
2798 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2820 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2799 <dc:attribute name="artifact-id" value="${aid}"/> | 2821 <dc:attribute name="artifact-id" value="${aid}"/> |
2800 <dc:attribute name="out" value="sedimentload_ls"/> | 2822 <dc:attribute name="out" value="sedimentload_ls"/> |
2801 </dc:element> | 2823 </dc:element> |
2802 </dc:for-each> | 2824 </dc:for-each> |
2803 </dc:context> | 2825 </dc:context> |
2842 a.id = ${a_id} | 2864 a.id = ${a_id} |
2843 </dc:statement> | 2865 </dc:statement> |
2844 <dc:for-each> | 2866 <dc:for-each> |
2845 <dc:element name="${facet_name}"> | 2867 <dc:element name="${facet_name}"> |
2846 <dc:attribute name="factory" value="minfo"/> | 2868 <dc:attribute name="factory" value="minfo"/> |
2869 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2847 <dc:attribute name="description" value="${facet_description}"/> | 2870 <dc:attribute name="description" value="${facet_description}"/> |
2848 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2871 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2849 <dc:attribute name="artifact-id" value="${aid}"/> | 2872 <dc:attribute name="artifact-id" value="${aid}"/> |
2850 <dc:choose> | 2873 <dc:choose> |
2851 <dc:when test="dc:contains($o_name, 'bed_difference_year')"> | 2874 <dc:when test="dc:contains($o_name, 'bed_difference_year')"> |
2852 <dc:attribute name="out" value="bed_difference_year"/> | 2875 <dc:attribute name="out" value="bed_difference_year"/> |
2853 </dc:when> | 2876 </dc:when> |
2896 a.id = ${a_id} | 2919 a.id = ${a_id} |
2897 </dc:statement> | 2920 </dc:statement> |
2898 <dc:for-each> | 2921 <dc:for-each> |
2899 <dc:element name="${facet_name}"> | 2922 <dc:element name="${facet_name}"> |
2900 <dc:attribute name="factory" value="winfo"/> | 2923 <dc:attribute name="factory" value="winfo"/> |
2924 <!-- <dc:attribute name="out" value="${out}"/>--> | |
2901 <dc:attribute name="description" value="${facet_description}"/> | 2925 <dc:attribute name="description" value="${facet_description}"/> |
2902 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/> | 2926 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> |
2903 <dc:attribute name="artifact-id" value="${aid}"/> | 2927 <dc:attribute name="artifact-id" value="${aid}"/> |
2904 <dc:attribute name="out" value="longitudinal_section"/> | 2928 <dc:attribute name="out" value="longitudinal_section"/> |
2905 </dc:element> | 2929 </dc:element> |
2906 </dc:for-each> | 2930 </dc:for-each> |
2907 </dc:context> | 2931 </dc:context> |