Mercurial > dive4elements > river
diff artifacts/doc/conf/meta-data.xml @ 8963:b98fbd91f64a
Configured SINFO-zusätzlich selektierte Längsschnitte in datacage
author | gernotbelger |
---|---|
date | Wed, 28 Mar 2018 17:04:20 +0200 |
parents | 8a1c6e2ad48b |
children | b194fa64506a |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Wed Mar 28 17:03:11 2018 +0200 +++ b/artifacts/doc/conf/meta-data.xml Wed Mar 28 17:04:20 2018 +0200 @@ -274,8 +274,12 @@ </minfo> <dc:call-macro name="basedata_3_officials"/> <dc:call-macro name="basedata_2_fixations"/> - <dc:call-macro name="basedata_1_additionals-sinfo-with-q"/> - <dc:call-macro name="basedata_1_additionals-sinfo-without-q"/> + <sinfo> + <sinfo_additional_ls> + <dc:call-macro name="basedata_1_additionals-sinfo-with-q"/> + <dc:call-macro name="basedata_1_additionals-sinfo-without-q"/> + </sinfo_additional_ls> + </sinfo> </dc:when> <dc:when test="$out = 'sinfo_flow_depth'"> @@ -1299,7 +1303,7 @@ <dc:macro name="basedata_1_additionals-sinfo-with-q_macro"> <dc:filter expr="$kind=1 and $sinfo_selection='Q'"> <dc:if test="dc:has-result()"> - <additionals> + <sinfo_additional_ls_withQ> <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')"> <additional name="{dc:group-key()}"> <dc:for-each> @@ -1307,7 +1311,7 @@ </dc:for-each> </additional> </dc:group> - </additionals> + </sinfo_additional_ls_withQ> </dc:if> </dc:filter> </dc:macro> @@ -1321,7 +1325,7 @@ <dc:macro name="basedata_1_additionals-sinfo-without-q_macro"> <dc:filter expr="$kind=1 and $sinfo_selection='W'"> <dc:if test="dc:has-result()"> - <additionals> + <sinfo_additional_ls_withoutQ> <dc:group expr="dc:replace($wst_description, 'Zus.Längsschnitte/', '')"> <additional name="{dc:group-key()}"> <dc:for-each> @@ -1329,14 +1333,14 @@ </dc:for-each> </additional> </dc:group> - </additionals> + </sinfo_additional_ls_withoutQ> </dc:if> </dc:filter> </dc:macro> <dc:macro name="basedata_1_additionals-sinfo-without-q"> <dc:call-macro name="basedata_1_additionals-sinfo-without-q_macro"> - <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwqkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]"/> + <column name="{$wst_column_name}" ids="additionals-wstv-{$wst_column_position}-{$wst_id}" factory="staticwkms" target_out="{$out}" info="{$info} [km {$deffrom} - {$defto}]"/> </dc:call-macro> </dc:macro> @@ -1606,6 +1610,11 @@ </minfo> <sinfo> + <sinfo_additional_ls> + <dc:call-macro name="basedata_1_additionals-sinfo-with-q"/> + <dc:call-macro name="basedata_1_additionals-sinfo-without-q"/> + </sinfo_additional_ls> + <bed_heights_minmax> <dc:call-macro name="minfo-heights-max"/> <dc:call-macro name="minfo-heights-min"/> @@ -2073,30 +2082,31 @@ <dc:macro name="bed-heights-statement"> <dc:statement> - 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, - bhv.height_count AS bedh_height_count, - bhv.min_count AS bedh_min_count, - bhv.max_count AS bedh_max_count - 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 - LEFT JOIN elevation_model old_em - ON old_em.id = old_elevation_model_id - LEFT JOIN ranges r ON r.id = range_id - LEFT JOIN (SELECT bed_height_id, COUNT(height) AS height_count, COUNT(min_height) AS min_count, COUNT(max_height) AS max_count - FROM bed_height_values GROUP BY bed_height_id - ) bhv ON bhs.id = bhv.bed_height_id - WHERE bhs.river_id = ${river_id} + 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, + bhv.height_count AS bedh_height_count, + bhv.min_count AS bedh_min_count, + bhv.max_count AS bedh_max_count + 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 + LEFT JOIN elevation_model old_em + ON old_em.id = old_elevation_model_id + LEFT JOIN ranges r ON r.id = range_id + LEFT JOIN (SELECT bed_height_id, COUNT(height) AS height_count, COUNT(min_height) AS min_count, COUNT(max_height) AS max_count + FROM bed_height_values GROUP + BY bed_height_id + ) bhv ON bhs.id = bhv.bed_height_id + WHERE bhs.river_id = ${river_id} </dc:statement> </dc:macro>