comparison artifacts/doc/conf/meta-data.xml @ 9059:c49b95820d60

Fixed the queries for the loadable tkh, flow depth and depth evolution data
author mschaefer
date Mon, 07 May 2018 07:56:42 +0200
parents c16e90a0baf7
children 89c1bb914f4e
comparison
equal deleted inserted replaced
9058:d3bef221b7d9 9059:c49b95820d60
3490 </dc:macro> 3490 </dc:macro>
3491 3491
3492 <dc:macro name="sinfo_predefined_tkh"> 3492 <dc:macro name="sinfo_predefined_tkh">
3493 <dc:context> 3493 <dc:context>
3494 <dc:statement> 3494 <dc:statement>
3495 SELECT sc.tkh_id AS tkh_id, sc.id AS tkh_col_id, sc.name AS tkh_col_name, 3495 SELECT sc.tkh_id AS tkh_id, sc.id AS tkh_col_id, MIN(sc.name) AS tkh_col_name,
3496 MIN(s.filename) AS tkh_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max, 3496 MIN(s.filename) AS tkh_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
3497 MIN(s.filename) || '&lt;br /&gt;' 3497 MIN(s.filename) || '&lt;br /&gt;'
3498 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']&lt;br /&gt;' 3498 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']&lt;br /&gt;'
3499 || MIN(s.sounding_info) || '&lt;br /&gt;' 3499 || MIN(s.sounding_info) || '&lt;br /&gt;'
3500 || MIN(s.evaluation_by) AS info 3500 || MIN(s.evaluation_by) AS info
3533 </dc:macro> 3533 </dc:macro>
3534 3534
3535 <dc:macro name="sinfo_predefined_depthevol"> 3535 <dc:macro name="sinfo_predefined_depthevol">
3536 <dc:context> 3536 <dc:context>
3537 <dc:statement> 3537 <dc:statement>
3538 SELECT s.id AS depthevol_id, s.filename AS depthevol_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max, 3538 SELECT s.id AS depthevol_id, MIN(s.filename) AS depthevol_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
3539 s.filename || '&lt;br /&gt;' 3539 MIN(s.filename) || '&lt;br /&gt;'
3540 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']&lt;br /&gt;' 3540 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']&lt;br /&gt;'
3541 || MIN(s.start_year) || ' - ' || MIN(s.reference_year) || '&lt;br /&gt;' 3541 || MIN(s.start_year) || ' - ' || MIN(s.reference_year) || '&lt;br /&gt;'
3542 || MIN(s.old_sounding) || ' - ' || MIN(s.curr_sounding) || '&lt;br /&gt;' 3542 || MIN(s.old_sounding) || ' - ' || MIN(s.curr_sounding) || '&lt;br /&gt;'
3543 || MIN(s.old_glw) || ' - ' || MIN(s.curr_glw) AS info 3543 || MIN(s.old_glw) || ' - ' || MIN(s.curr_glw) AS info
3544 FROM depth_evolution s INNER JOIN depth_evolution_values v ON s.id=v.depth_evolution_id 3544 FROM depth_evolution s INNER JOIN depth_evolution_values v ON s.id=v.depth_evolution_id
3559 </dc:macro> 3559 </dc:macro>
3560 3560
3561 <dc:macro name="sinfo_predefined_flowdepth-m1"> 3561 <dc:macro name="sinfo_predefined_flowdepth-m1">
3562 <dc:context> 3562 <dc:context>
3563 <dc:statement> 3563 <dc:statement>
3564 SELECT sc.flow_depth_id AS flowdepth_id, sc.id AS flowdepth_col_id, sc.name AS flowdepth_col_name, 3564 SELECT sc.flow_depth_id AS flowdepth_id, sc.id AS flowdepth_col_id, MIN(sc.name) AS flowdepth_col_name,
3565 MIN(s.filename) AS flowdepth_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max, 3565 MIN(s.filename) AS flowdepth_name, MIN(v.station) AS km_min, MAX(v.station) AS km_max,
3566 MIN(s.filename) || '&lt;br /&gt;' 3566 MIN(s.filename) || '&lt;br /&gt;'
3567 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']&lt;br /&gt;' 3567 || '[km ' || MIN(v.station) || ' - ' || MAX(v.station) || ']&lt;br /&gt;'
3568 || MIN(s.sounding_info) || '&lt;br /&gt;' 3568 || MIN(s.sounding_info) || '&lt;br /&gt;'
3569 || MIN(s.evaluation_by) AS info 3569 || MIN(s.evaluation_by) AS info

http://dive4elements.wald.intevation.org