Mercurial > dive4elements > river
comparison flys-artifacts/doc/conf/meta-data.xml @ 5549:38acd82feeac
Added bed quality facets to flow velocity datacage.
* Added facets in artifact config.
* Added datacage config for bedquality facets.
* Added ouput methods for bedquality facets to generator.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 04 Apr 2013 10:55:46 +0200 |
parents | a11c6f680487 |
children | 220d12a41bfa |
comparison
equal
deleted
inserted
replaced
5544:12f4d088f088 | 5549:38acd82feeac |
---|---|
2475 </dc:context> | 2475 </dc:context> |
2476 </dc:for-each> | 2476 </dc:for-each> |
2477 </dc:context> | 2477 </dc:context> |
2478 </dc:macro> | 2478 </dc:macro> |
2479 | 2479 |
2480 <dc:macro name="bedquality-bed"> | |
2481 <bed_quality_bed> | |
2482 <dc:for-each> | |
2483 <dc:context> | |
2484 <dc:call-macro name="range-filter"> | |
2485 <dc:context> | |
2486 <dc:statement> | |
2487 SELECT a.gid AS aid, | |
2488 f.id AS fid, | |
2489 f.name AS facet_name, | |
2490 f.num AS facet_num, | |
2491 f.description AS facet_description | |
2492 FROM outs AS o, facets AS f, artifacts AS a | |
2493 WHERE | |
2494 (f.name = 'bed_longitudinal_section.bed_diameter_toplayer' | |
2495 OR f.name = 'bed_longitudinal_section.bed_diameter_sublayer') AND | |
2496 f.out_id = o.id AND | |
2497 o.artifact_id = ${a_id} AND | |
2498 a.id = ${a_id} | |
2499 </dc:statement> | |
2500 <dc:for-each> | |
2501 <dc:element name="${facet_name}"> | |
2502 <dc:attribute name="factory" value="minfo"/> | |
2503 <dc:attribute name="description" value="${facet_description}"/> | |
2504 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> | |
2505 <dc:attribute name="artifact-id" value="${aid}"/> | |
2506 <dc:attribute name="out" value="bed_longitudinal_section"/> | |
2507 </dc:element> | |
2508 </dc:for-each> | |
2509 </dc:context> | |
2510 </dc:call-macro> | |
2511 </dc:context> | |
2512 </dc:for-each> | |
2513 </bed_quality_bed> | |
2514 </dc:macro> | |
2515 | |
2516 <dc:macro name="bedquality-load"> | |
2517 <bed_quality_load> | |
2518 <dc:for-each> | |
2519 <dc:context> | |
2520 <dc:call-macro name="range-filter"> | |
2521 <dc:context> | |
2522 <dc:statement> | |
2523 SELECT a.gid AS aid, | |
2524 f.id AS fid, | |
2525 f.name AS facet_name, | |
2526 f.num AS facet_num, | |
2527 f.description AS facet_description | |
2528 FROM outs AS o, facets AS f, artifacts AS a | |
2529 WHERE | |
2530 f.name = 'bed_longitudinal_section.bedload_diameter' AND | |
2531 f.out_id = o.id AND | |
2532 o.artifact_id = ${a_id} AND | |
2533 a.id = ${a_id} | |
2534 </dc:statement> | |
2535 <dc:for-each> | |
2536 <dc:element name="${facet_name}"> | |
2537 <dc:attribute name="factory" value="minfo"/> | |
2538 <dc:attribute name="description" value="${facet_description}"/> | |
2539 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> | |
2540 <dc:attribute name="artifact-id" value="${aid}"/> | |
2541 <dc:attribute name="out" value="bed_longitudinal_section"/> | |
2542 </dc:element> | |
2543 </dc:for-each> | |
2544 </dc:context> | |
2545 </dc:call-macro> | |
2546 </dc:context> | |
2547 </dc:for-each> | |
2548 </bed_quality_load> | |
2549 </dc:macro> | |
2550 | |
2551 | |
2480 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')))"> | 2552 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section') or (dc:contains($artifact-outs, 'discharge_longitudinal_section') or (dc:contains($artifact-outs, 'w_differences')))"> |
2481 <dc:call-macro name="longitudinal"/> | 2553 <dc:call-macro name="longitudinal"/> |
2482 </dc:if> | 2554 </dc:if> |
2483 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> | 2555 <dc:if test="dc:contains($artifact-outs, 'fix_deltawt_curve')"> |
2484 <dc:call-macro name="delta-wt"/> | 2556 <dc:call-macro name="delta-wt"/> |
2519 <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')"> | 2591 <dc:if test="dc:contains($artifact-outs, 'bedheight_middle')"> |
2520 <dc:call-macro name="bed-height"/> | 2592 <dc:call-macro name="bed-height"/> |
2521 </dc:if> | 2593 </dc:if> |
2522 <dc:if test="dc:contains($artifact-outs, 'floodmap-hws')"> | 2594 <dc:if test="dc:contains($artifact-outs, 'floodmap-hws')"> |
2523 <dc:call-macro name="floodmap-hws-user"/> | 2595 <dc:call-macro name="floodmap-hws-user"/> |
2596 </dc:if> | |
2597 <dc:if test="dc:contains($artifact-outs, 'flow_velocity')"> | |
2598 <dc:call-macro name="bedquality-bed"/> | |
2599 </dc:if> | |
2600 <dc:if test="dc:contains($artifact-outs, 'flow_velocity')"> | |
2601 <dc:call-macro name="bedquality-load"/> | |
2524 </dc:if> | 2602 </dc:if> |
2525 </dc:context> | 2603 </dc:context> |
2526 </dc:call-macro> | 2604 </dc:call-macro> |
2527 | 2605 |
2528 </old_calculations> | 2606 </old_calculations> |