Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 7665:6d39b4066c91
Add sources/sinks to sediment yield datacage.
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Fri, 06 Dec 2013 13:58:27 +0100 |
parents | 877d558747c6 |
children | c36aae57ad43 |
comparison
equal
deleted
inserted
replaced
7664:877d558747c6 | 7665:6d39b4066c91 |
---|---|
1432 </dc:if> | 1432 </dc:if> |
1433 </dc:macro> | 1433 </dc:macro> |
1434 | 1434 |
1435 <dc:macro name="yields"> | 1435 <dc:macro name="yields"> |
1436 <yields> | 1436 <yields> |
1437 <dc:call-macro name="annotations_sediment_yield"/> | |
1437 <years> | 1438 <years> |
1438 <dc:context> | 1439 <dc:context> |
1439 <dc:statement> | 1440 <dc:statement> |
1440 SELECT DISTINCT | 1441 SELECT DISTINCT |
1441 sy.id AS syid, | 1442 sy.id AS syid, |
1518 factory="annotations" target_out="{$out}" | 1519 factory="annotations" target_out="{$out}" |
1519 ids="{$river_id}:{$anno_description}"/> | 1520 ids="{$river_id}:{$anno_description}"/> |
1520 </dc:for-each> | 1521 </dc:for-each> |
1521 </dc:context> | 1522 </dc:context> |
1522 </annotations> | 1523 </annotations> |
1524 </dc:macro> | |
1525 | |
1526 <dc:macro name="annotations_sediment_yield"> | |
1527 <sources_sinks> | |
1528 <dc:context> | |
1529 <dc:statement> | |
1530 SELECT id AS anno_id, | |
1531 name AS anno_description | |
1532 FROM annotation_types | |
1533 WHERE name IN ('Quelle', 'Senke') | |
1534 </dc:statement> | |
1535 <dc:for-each> | |
1536 <annotation name="{$anno_description}" | |
1537 factory="annotations" target_out="{$out}" | |
1538 ids="{$river_id}:{$anno_description}"/> | |
1539 </dc:for-each> | |
1540 </dc:context> | |
1541 </sources_sinks> | |
1523 </dc:macro> | 1542 </dc:macro> |
1524 | 1543 |
1525 <dc:macro name="basedata_2_fixations_relative_point"> | 1544 <dc:macro name="basedata_2_fixations_relative_point"> |
1526 <dc:filter expr="$kind=2"> | 1545 <dc:filter expr="$kind=2"> |
1527 <dc:if test="dc:has-result()"> | 1546 <dc:if test="dc:has-result()"> |