Mercurial > dive4elements > river
diff artifacts/doc/conf/meta-data.xml @ 8582:17a3030bbda2
Update SQL-statements to schema-changes in rev 6d8d7425a6b5.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 16 Mar 2015 16:59:37 +0100 |
parents | 17c476e90c07 |
children | 07c9ac22f611 |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Mon Mar 16 15:36:38 2015 +0100 +++ b/artifacts/doc/conf/meta-data.xml Mon Mar 16 16:59:37 2015 +0100 @@ -1871,9 +1871,9 @@ bhs.description, bhsv.station, bhs.year - FROM bed_height_single bhs - JOIN bed_height_single_values bhsv - ON bhsv.bed_height_single_id = bhs.id + FROM bed_height bhs + JOIN bed_height_values bhsv + ON bhsv.bed_height_id = bhs.id WHERE bhs.river_id = ${river_id} AND bhsv.station BETWEEN ${fromkm} AND ${tokm}), csta @@ -2035,7 +2035,7 @@ '<BR>ursprüngliches Höhensystem: ' || old_em.name || '<BR>Strecke: ' || round(r.a, 1) || '-' || round(r.b, 1) || '<BR>Auswerter: ' || bhs.evaluation_by AS info - FROM bed_height_single bhs + FROM bed_height bhs JOIN bed_height_type bht ON bht.id = bhs.type_id JOIN location_system ls ON ls.id = location_system_id JOIN elevation_model cur_em ON cur_em.id = cur_elevation_model_id