Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 8214:ceeeaf228fe4
Allow fractions without SQ-time interval (suspended sediment) to be loaded.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 08 Sep 2014 10:03:00 +0200 |
parents | 4b2b7593815c |
children | 1cd7225df846 |
comparison
equal
deleted
inserted
replaced
8213:ebdf34cae14d | 8214:ceeeaf228fe4 |
---|---|
1489 ON sy.id = syv.sediment_load_id | 1489 ON sy.id = syv.sediment_load_id |
1490 JOIN measurement_station ms | 1490 JOIN measurement_station ms |
1491 ON ms.id = syv.measurement_station_id | 1491 ON ms.id = syv.measurement_station_id |
1492 JOIN rivers r ON ms.river_id = r.id | 1492 JOIN rivers r ON ms.river_id = r.id |
1493 JOIN time_intervals ti ON sy.time_interval_id = ti.id | 1493 JOIN time_intervals ti ON sy.time_interval_id = ti.id |
1494 JOIN time_intervals sq ON sy.sq_time_interval_id = sq.id | 1494 LEFT JOIN time_intervals sq ON sy.sq_time_interval_id = sq.id |
1495 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id | 1495 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id |
1496 WHERE r.id = ${river_id} | 1496 WHERE r.id = ${river_id} |
1497 AND ms.station BETWEEN ${fromkm} AND ${tokm} | 1497 AND ms.station BETWEEN ${fromkm} AND ${tokm} |
1498 ORDER BY sqstart DESC, sqstop DESC, | 1498 ORDER BY sqstart DESC, sqstop DESC, |
1499 fraction, startyear DESC, endyear DESC | 1499 fraction, startyear DESC, endyear DESC |
1521 FROM sediment_load_ls sy | 1521 FROM sediment_load_ls sy |
1522 JOIN rivers r ON sy.river_id = r.id | 1522 JOIN rivers r ON sy.river_id = r.id |
1523 JOIN sediment_load_ls_values syv | 1523 JOIN sediment_load_ls_values syv |
1524 ON sy.id = syv.sediment_load_ls_id | 1524 ON sy.id = syv.sediment_load_ls_id |
1525 JOIN time_intervals ti ON sy.time_interval_id = ti.id | 1525 JOIN time_intervals ti ON sy.time_interval_id = ti.id |
1526 JOIN time_intervals sq ON sy.sq_time_interval_id = sq.id | 1526 LEFT JOIN time_intervals sq ON sy.sq_time_interval_id = sq.id |
1527 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id | 1527 JOIN grain_fraction gf ON gf.id = sy.grain_fraction_id |
1528 JOIN units u ON sy.unit_id = u.id | 1528 JOIN units u ON sy.unit_id = u.id |
1529 WHERE r.id = ${river_id} | 1529 WHERE r.id = ${river_id} |
1530 AND syv.station BETWEEN ${fromkm} AND ${tokm} | 1530 AND syv.station BETWEEN ${fromkm} AND ${tokm} |
1531 ORDER BY sqstart DESC, sqstop DESC, | 1531 ORDER BY sqstart DESC, sqstop DESC, |