comparison artifacts/doc/conf/meta-data.xml @ 9016:6e5ff436febe

Added datacage select and chart display for TKH series loaded from database
author mschaefer
date Mon, 23 Apr 2018 15:18:48 +0200
parents 0adc6d04de95
children 384eee4b4135
comparison
equal deleted inserted replaced
9015:baef34f54ee2 9016:6e5ff436febe
1624 1624
1625 <bed_heights_minmax> 1625 <bed_heights_minmax>
1626 <dc:call-macro name="minfo-heights-max"/> 1626 <dc:call-macro name="minfo-heights-max"/>
1627 <dc:call-macro name="minfo-heights-min"/> 1627 <dc:call-macro name="minfo-heights-min"/>
1628 </bed_heights_minmax> 1628 </bed_heights_minmax>
1629
1630 <sinfo_predefined_tkh>
1631 <dc:call-macro name="sinfo_predefined_tkh"/>
1632 </sinfo_predefined_tkh>
1629 </sinfo> 1633 </sinfo>
1630 </dc:macro> 1634 </dc:macro>
1631 1635
1632 <dc:macro name="longitudinal-section-user-prototype"> 1636 <dc:macro name="longitudinal-section-user-prototype">
1633 <dc:comment> WINFO/DIFF/FIX </dc:comment> 1637 <dc:comment> WINFO/DIFF/FIX </dc:comment>
3458 </sinfo_taus> 3462 </sinfo_taus>
3459 </dc:if> 3463 </dc:if>
3460 </dc:filter> 3464 </dc:filter>
3461 </dc:macro> 3465 </dc:macro>
3462 3466
3467 <!-- tkh imported from CSV-files for S-INFO -->
3468 <dc:macro name="sinfo_predefined_tkh">
3469 <dc:context>
3470 <dc:statement>
3471 SELECT tc.tkh_id AS tkh_id, tc.id AS tkh_col_id, tc.name AS tkh_col_name,
3472 MIN(t.filename) AS tkh_name, MIN(tv.station) AS km_min, MAX(tv.station) AS km_max,
3473 MIN(t.filename) || '&lt;br /&gt;' || MIN(t.sounding_info) || '&lt;br /&gt;' || MIN(t.evaluation_by) AS info
3474 FROM tkh_column tc INNER JOIN tkh t ON tc.tkh_id=t.id
3475 INNER JOIN tkh_values tv ON tc.id=tv.tkh_column_id
3476 WHERE t.river_id=${river_id}
3477 GROUP BY tc.tkh_id, tc.id
3478 ORDER BY tc.id
3479 </dc:statement>
3480 <dc:if test="dc:has-result()">
3481 <dc:group expr="$tkh_name">
3482 <tkhx name="{dc:group-key()}">
3483 <dc:for-each>
3484 <tkhcolumn name="{$tkh_col_name}" ids="tkhx-{$tkh_col_id}-{$tkh_id}" factory="tkhxf" target_out="{$out}" info="{$tkh_name}&lt;br /&gt;[km {$km_min} - {$km_max}]"/>
3485 </dc:for-each>
3486 </tkhx>
3487 </dc:group>
3488 </dc:if>
3489 </dc:context>
3490 </dc:macro>
3491
3463 </datacage> 3492 </datacage>
3464 </dc:template> 3493 </dc:template>

http://dive4elements.wald.intevation.org