comparison artifacts/doc/conf/meta-data.xml @ 7423:e345db45e489

meta-data.xml: cosmetics.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 23 Oct 2013 12:07:05 +0200
parents fcf72e5777c0
children d3137b603a3d
comparison
equal deleted inserted replaced
7422:84873a386630 7423:e345db45e489
445 <dc:macro name="historical_discharge_curve"> 445 <dc:macro name="historical_discharge_curve">
446 <dc:variable name="refgauge" type="number" expr="$reference_gauge"/> 446 <dc:variable name="refgauge" type="number" expr="$reference_gauge"/>
447 <dc:context> 447 <dc:context>
448 <dc:statement> 448 <dc:statement>
449 SELECT g.id AS gauge_id, 449 SELECT g.id AS gauge_id,
450 g.name AS gauge_name, 450 g.name AS gauge_name,
451 dt.id AS dt_id, 451 dt.id AS dt_id,
452 t.start_time AS start_time, 452 t.start_time AS start_time,
453 t.stop_time AS stop_time, 453 t.stop_time AS stop_time,
454 dt.bfg_id AS bfg_id 454 dt.bfg_id AS bfg_id
455 FROM gauges g 455 FROM gauges g
456 JOIN discharge_tables dt ON g.id = dt.gauge_id 456 JOIN discharge_tables dt ON g.id = dt.gauge_id
457 LEFT JOIN time_intervals t ON dt.time_interval_id = t.id 457 LEFT JOIN time_intervals t ON dt.time_interval_id = t.id
458 WHERE g.river_id = ${river_id} 458 WHERE g.river_id = ${river_id}
459 AND dt.kind &lt;&gt; 0 459 AND dt.kind &lt;&gt; 0
460 AND ((g.station = ${fromkm} AND g.station = ${tokm}) 460 AND ((g.station = ${fromkm} AND g.station = ${tokm})
461 OR g.official_number = ${refgauge}) 461 OR g.official_number = ${refgauge})
462 ORDER BY start_time 462 ORDER BY start_time
463 </dc:statement> 463 </dc:statement>
464 <dc:if test="dc:has-result()"> 464 <dc:if test="dc:has-result()">
465 <historical_discharge_curves> 465 <historical_discharge_curves>
466 <dc:group expr="$gauge_name"> 466 <dc:group expr="$gauge_name">

http://dive4elements.wald.intevation.org