# HG changeset patch # User Tom Gottfried # Date 1413539041 -7200 # Node ID d7d74392cc46076d279840c0e6bf2a895e5c3d27 # Parent 536a1c0c8a81192ddbf180e406c5a8ed364a62ae Do not filter bed heights by year in datacage for optional data (plus some cleanup). diff -r 536a1c0c8a81 -r d7d74392cc46 artifacts/doc/conf/meta-data.xml --- a/artifacts/doc/conf/meta-data.xml Thu Oct 16 16:45:53 2014 +0200 +++ b/artifacts/doc/conf/meta-data.xml Fri Oct 17 11:44:01 2014 +0200 @@ -1796,6 +1796,7 @@ + @@ -1881,15 +1882,6 @@ - - - - - - - - - The input here is a list differenc ids noted in the @@ -1940,27 +1932,11 @@ - - - SELECT bhs.id AS bedh_id, - bhs.year AS bedh_year, - bhs.description AS bedh_descr, - bhs.description || '<BR>Jahr: ' || bhs.year || - '<BR>Aufnahmeart: ' || bht.name || - '<BR>Lagesystem: ' || ls.name || - '<BR>Höhensystem: ' || cur_em.name || - '<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 - 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 - JOIN elevation_model old_em ON old_em.id = old_elevation_model_id - JOIN ranges r ON r.id = range_id - WHERE bhs.river_id = ${river_id} - AND bhs.year BETWEEN ${year_from} AND ${year_to} - + + + + + @@ -1979,10 +1955,10 @@ - - + + - + @@ -2001,6 +1977,29 @@ + + + SELECT bhs.id AS bedh_id, + bhs.year AS bedh_year, + bhs.description AS bedh_descr, + bhs.description || '<BR>Jahr: ' || bhs.year || + '<BR>Aufnahmeart: ' || bht.name || + '<BR>Lagesystem: ' || ls.name || + '<BR>Höhensystem: ' || cur_em.name || + '<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 + 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 + JOIN elevation_model old_em ON old_em.id = old_elevation_model_id + JOIN ranges r ON r.id = range_id + WHERE bhs.river_id = ${river_id} + + + +