comparison artifacts/doc/conf/meta-data.xml @ 9113:bfc0da2aa3aa

Where clause of the predefined datacage series extended by km range condition
author mschaefer
date Mon, 04 Jun 2018 08:50:18 +0200
parents 189cc8ededbd
children edc3958b3ed2
comparison
equal deleted inserted replaced
9112:189cc8ededbd 9113:bfc0da2aa3aa
3463 || MIN(s.evaluation_by) AS info 3463 || MIN(s.evaluation_by) AS info
3464 FROM tkh_column sc INNER JOIN tkh s ON sc.tkh_id=s.id 3464 FROM tkh_column sc INNER JOIN tkh s ON sc.tkh_id=s.id
3465 INNER JOIN tkh_values v ON sc.id=v.tkh_column_id 3465 INNER JOIN tkh_values v ON sc.id=v.tkh_column_id
3466 WHERE (s.river_id=${river_id}) 3466 WHERE (s.river_id=${river_id})
3467 AND (lower(s.groupname)=${tkh_groupname}) 3467 AND (lower(s.groupname)=${tkh_groupname})
3468 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
3468 GROUP BY sc.tkh_id, sc.id 3469 GROUP BY sc.tkh_id, sc.id
3469 ORDER BY sc.id 3470 ORDER BY sc.id
3470 </dc:statement> 3471 </dc:statement>
3471 <dc:if test="dc:has-result()"> 3472 <dc:if test="dc:has-result()">
3472 <dc:group expr="$tkh_name"> 3473 <dc:group expr="$tkh_name">
3505 || MIN(s.old_sounding) || ' - ' || MIN(s.curr_sounding) || '&lt;br /&gt;' 3506 || MIN(s.old_sounding) || ' - ' || MIN(s.curr_sounding) || '&lt;br /&gt;'
3506 || MIN(s.old_glw) || ' - ' || MIN(s.curr_glw) AS info 3507 || MIN(s.old_glw) || ' - ' || MIN(s.curr_glw) AS info
3507 FROM depth_evolution s INNER JOIN depth_evolution_values v ON s.id=v.depth_evolution_id 3508 FROM depth_evolution s INNER JOIN depth_evolution_values v ON s.id=v.depth_evolution_id
3508 WHERE (s.river_id=${river_id}) 3509 WHERE (s.river_id=${river_id})
3509 AND (lower(s.groupname)=${depthevol_groupname}) 3510 AND (lower(s.groupname)=${depthevol_groupname})
3511 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
3510 GROUP BY s.id 3512 GROUP BY s.id
3511 ORDER BY s.id 3513 ORDER BY s.id
3512 </dc:statement> 3514 </dc:statement>
3513 <dc:for-each> 3515 <dc:for-each>
3514 <depth_evol name="{$depthevol_name}" ids="depthevolx-{$depthevol_id}-{$depthevol_name}" factory="depthevolxf" target_out="{$out}" info="{$info}"/> 3516 <depth_evol name="{$depthevol_name}" ids="depthevolx-{$depthevol_id}-{$depthevol_name}" factory="depthevolxf" target_out="{$out}" info="{$info}"/>
3531 || MIN(s.sounding_info) || '&lt;br /&gt;' 3533 || MIN(s.sounding_info) || '&lt;br /&gt;'
3532 || MIN(s.evaluation_by) AS info 3534 || MIN(s.evaluation_by) AS info
3533 FROM flow_depth_column sc INNER JOIN flow_depth s ON sc.flow_depth_id=s.id 3535 FROM flow_depth_column sc INNER JOIN flow_depth s ON sc.flow_depth_id=s.id
3534 INNER JOIN flow_depth_values v ON sc.id=v.flow_depth_column_id 3536 INNER JOIN flow_depth_values v ON sc.id=v.flow_depth_column_id
3535 WHERE (s.river_id=${river_id}) 3537 WHERE (s.river_id=${river_id})
3538 AND (v.station BETWEEN ${fromkm}-0.0001 AND ${tokm}+0.0001)
3536 GROUP BY sc.flow_depth_id, sc.id 3539 GROUP BY sc.flow_depth_id, sc.id
3537 ORDER BY sc.id 3540 ORDER BY sc.id
3538 </dc:statement> 3541 </dc:statement>
3539 <dc:if test="dc:has-result()"> 3542 <dc:if test="dc:has-result()">
3540 <dc:group expr="$flowdepth_name"> 3543 <dc:group expr="$flowdepth_name">

http://dive4elements.wald.intevation.org