Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 9112:189cc8ededbd
Added datacage select and chart display for river channel sizes loaded from database
author | mschaefer |
---|---|
date | Mon, 04 Jun 2018 08:36:09 +0200 |
parents | ee77e544e890 |
children | bfc0da2aa3aa |
comparison
equal
deleted
inserted
replaced
9111:ee77e544e890 | 9112:189cc8ededbd |
---|---|
1611 | 1611 |
1612 <sinfo> | 1612 <sinfo> |
1613 <sinfo_predefined_flowdepths> | 1613 <sinfo_predefined_flowdepths> |
1614 <dc:call-macro name="sinfo_predefined_flowdepth-m"/> | 1614 <dc:call-macro name="sinfo_predefined_flowdepth-m"/> |
1615 </sinfo_predefined_flowdepths> | 1615 </sinfo_predefined_flowdepths> |
1616 | |
1617 <sinfo_predefined_channel> | |
1618 <dc:call-macro name="sinfo_predefined_channel"/> | |
1619 </sinfo_predefined_channel> | |
1616 | 1620 |
1617 <sinfo_predefined_tkh> | 1621 <sinfo_predefined_tkh> |
1618 <dc:call-macro name="sinfo_predefined_tkh-berechnung"/> | 1622 <dc:call-macro name="sinfo_predefined_tkh-berechnung"/> |
1619 <dc:call-macro name="sinfo_predefined_tkh-messung"/> | 1623 <dc:call-macro name="sinfo_predefined_tkh-messung"/> |
1620 </sinfo_predefined_tkh> | 1624 </sinfo_predefined_tkh> |
3409 </sinfo_tkhs> | 3413 </sinfo_tkhs> |
3410 </dc:if> | 3414 </dc:if> |
3411 </dc:filter> | 3415 </dc:filter> |
3412 </dc:macro> | 3416 </dc:macro> |
3413 | 3417 |
3418 <!-- channel size imported from CSV-files for S-INFO --> | |
3419 <dc:macro name="sinfo_predefined_channel"> | |
3420 <dc:context> | |
3421 <dc:statement> | |
3422 SELECT s.id AS id, MIN(s.filename) AS seriesname, MIN(v.station) AS km_min, MAX(v.station) AS km_max, | |
3423 MIN(s.filename) || '<br />' | |
3424 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']<br />' | |
3425 || MIN(s.year_from) || ' - ' || MIN(s.year_to) || '<br />' AS info | |
3426 FROM channel s INNER JOIN channel_values v ON s.id=v.channel_id | |
3427 WHERE (s.river_id=${river_id}) | |
3428 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001) | |
3429 GROUP BY s.id | |
3430 ORDER BY MIN(s.year_to) DESC; | |
3431 </dc:statement> | |
3432 <dc:if test="dc:has-result()"> | |
3433 <dc:for-each> | |
3434 <channelseries name="{$seriesname}" ids="channelx-{$id}-{$seriesname}" factory="channelf" target_out="{$out}" info="{$info}"/> | |
3435 </dc:for-each> | |
3436 </dc:if> | |
3437 </dc:context> | |
3438 </dc:macro> | |
3439 | |
3414 <!-- tkh imported from CSV-files for S-INFO --> | 3440 <!-- tkh imported from CSV-files for S-INFO --> |
3415 <dc:macro name="sinfo_predefined_tkh-berechnung"> | 3441 <dc:macro name="sinfo_predefined_tkh-berechnung"> |
3416 <predefined_tkh_berechnung> | 3442 <predefined_tkh_berechnung> |
3417 <dc:variable name="tkh_groupname" expr="'berechnung'"/> | 3443 <dc:variable name="tkh_groupname" expr="'berechnung'"/> |
3418 <dc:call-macro name="sinfo_predefined_tkh"/> | 3444 <dc:call-macro name="sinfo_predefined_tkh"/> |