comparison artifacts/doc/conf/meta-data.xml @ 8297:6f866709bbff

Official sedimentload epochs should be seperated from other data in datacage.
author "Tom Gottfried <tom@intevation.de>"
date Fri, 19 Sep 2014 09:49:09 +0200
parents f12a5c55864d
children 5dfb3ff98bc6
comparison
equal deleted inserted replaced
8296:df5838cc7ecc 8297:6f866709bbff
1439 info="{$info}" 1439 info="{$info}"
1440 ids="{$slid};{$timespan};{$kind}" /> 1440 ids="{$slid};{$timespan};{$kind}" />
1441 </dc:macro> 1441 </dc:macro>
1442 1442
1443 <dc:macro name="loads"> 1443 <dc:macro name="loads">
1444 <dc:if test="dc:has-result()"> 1444 <dc:if test="dc:has-result()">
1445 <dc:group expr="$fraction"> 1445 <dc:group expr="concat('SQ ', dc:date-format('yyyy', $sqstart), '-',
1446 <dc:variable name="fraction_name" expr="concat('${', dc:group-key(), '}')"/> 1446 dc:date-format('yyyy', $sqstop))">
1447 <fraction description="{$fraction_name}"> 1447 <sq_time description="{dc:group-key()}">
1448 <dc:for-each> 1448 <dc:group expr="$fraction">
1449 <dc:choose> 1449 <dc:variable name="fraction_name"
1450 <dc:when test="string-length(dc:get('endyear')) = 0"> 1450 expr="concat('${', dc:group-key(), '}')"/>
1451 <dc:variable name="timespan" type="string" 1451 <fraction description="{$fraction_name}">
1452 expr="dc:date-format('yyyy', $startyear)"/> 1452 <dc:for-each>
1453 </dc:when> 1453 <dc:choose>
1454 <dc:otherwise> 1454 <dc:when test="string-length(dc:get('endyear')) = 0">
1455 <dc:variable name="timespan" type="string" 1455 <dc:variable name="timespan" type="string"
1456 expr="concat(dc:date-format('yyyy', $startyear), 1456 expr="dc:date-format('yyyy', $startyear)"/>
1457 '-', dc:date-format('yyyy', $endyear))"/> 1457 </dc:when>
1458 </dc:otherwise> 1458 <dc:otherwise>
1459 </dc:choose> 1459 <dc:variable name="timespan" type="string"
1460 <dc:if test="$kind = 'official'"> 1460 expr="concat(dc:date-format('yyyy',
1461 <dc:variable name="info" type="string" 1461 $startyear), '-',
1462 expr="concat('Amtliche Epoche&lt;BR&gt;', dc:get('info'))"/> 1462 dc:date-format('yyyy', $endyear))"/>
1463 </dc:if> 1463 </dc:otherwise>
1464 <dc:macro-body/> 1464 </dc:choose>
1465 </dc:for-each> 1465 <dc:if test="$kind = 'official'">
1466 </fraction> 1466 <dc:variable name="info" type="string"
1467 </dc:group> 1467 expr="concat('Amtliche Epoche&lt;BR&gt;',
1468 </dc:if> 1468 dc:get('info'))"/>
1469 </dc:if>
1470 <dc:macro-body/>
1471 </dc:for-each>
1472 </fraction>
1473 </dc:group>
1474 </sq_time>
1475 </dc:group>
1476 </dc:if>
1469 </dc:macro> 1477 </dc:macro>
1470 1478
1471 <dc:macro name="sedimentloads-filter"> 1479 <dc:macro name="sedimentloads-filter">
1472 <dc:group expr="concat('SQ ', dc:date-format('yyyy', $sqstart), '-', 1480 <years>
1473 dc:date-format('yyyy', $sqstop))"> 1481 <dc:filter expr="string-length(dc:get('endyear')) = 0 and
1474 <sq_time description="{dc:group-key()}"> 1482 $kind != 'official'" >
1475 <years> 1483 <dc:macro-body/>
1476 <dc:filter expr="string-length(dc:get('endyear')) = 0" > 1484 </dc:filter>
1477 <dc:macro-body/> 1485 </years>
1478 </dc:filter> 1486 <epochs>
1479 </years> 1487 <dc:filter expr="string-length(dc:get('endyear')) &gt; 0 and
1480 <epochs> 1488 $kind != 'official'" >
1481 <dc:filter expr="string-length(dc:get('endyear')) &gt; 0" > 1489 <dc:macro-body/>
1482 <dc:macro-body/> 1490 </dc:filter>
1483 </dc:filter> 1491 </epochs>
1484 </epochs> 1492 <off_epochs>
1485 </sq_time> 1493 <dc:filter expr="$kind = 'official'" >
1486 </dc:group> 1494 <dc:macro-body/>
1495 </dc:filter>
1496 </off_epochs>
1487 </dc:macro> 1497 </dc:macro>
1488 1498
1489 <dc:macro name="sedimentloads"> 1499 <dc:macro name="sedimentloads">
1490 <dc:comment> 1500 <dc:comment>
1491 This is the macro for static datacage "Sedimentloads". 1501 This is the macro for static datacage "Sedimentloads".

http://dive4elements.wald.intevation.org