Mercurial > dive4elements > river
diff artifacts/doc/conf/meta-data.xml @ 7265:1446bdb372c9
meta-data.xml: Refactored discharge-curve-prototype.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 09 Oct 2013 10:01:00 +0200 |
parents | 36fa4c752009 |
children | f2db01a3e434 |
line wrap: on
line diff
--- a/artifacts/doc/conf/meta-data.xml Wed Oct 09 09:57:49 2013 +0200 +++ b/artifacts/doc/conf/meta-data.xml Wed Oct 09 10:01:00 2013 +0200 @@ -151,9 +151,7 @@ <dc:call-macro name="longitudinal-section-prototype"/> </dc:when> <dc:when test="$out = 'historical_discharge_wq'"> - <dc:call-macro name="historical_discharge_curve"/> - <dc:call-macro name="discharge_table_gauge"/> - <dc:call-macro name="basedata_2_fixations_wqkms"/> + <dc:call-macro name="discharge-curve-prototype"/> <dc:call-macro name="basedata_5_flood-protections"/> <dc:call-macro name="basedata_0"/> <dc:call-macro name="basedata_1_additionals"/> @@ -163,13 +161,9 @@ </computed_discharge_curve> </dc:when> <dc:when test="$out = 'discharge_curve'"> - <dc:call-macro name="historical_discharge_curve"/> - <dc:call-macro name="discharge_table_gauge"/> - <dc:call-macro name="basedata_2_fixations_wqkms"/> + <dc:call-macro name="discharge-curve-prototype"/> + <dc:call-macro name="basedata_1_additionals_wq"/> <dc:call-macro name="basedata_5_flood-protections"/> - <dc:call-macro name="basedata_0_wq"/> - <dc:call-macro name="basedata_1_additionals"/> - <dc:call-macro name="basedata_4_heightmarks-points"/> <computed_discharge_curve> <dc:call-macro name="mainvalues"/> </computed_discharge_curve> @@ -189,13 +183,10 @@ <dc:call-macro name="basedata_5_flood-protections_relative_points"/> </dc:when> <dc:when test="$out = 'fix_wq_curve'"> - <dc:call-macro name="historical_discharge_curve"/> - <dc:call-macro name="discharge_table_gauge"/> - <dc:call-macro name="basedata_0_wq"/> + <dc:call-macro name="discharge-curve-prototype"/> <dc:call-macro name="basedata_1_additionals_marks"/> <dc:call-macro name="basedata_2_fixations_wqkms"/> <dc:call-macro name="basedata_3_officials"/> - <dc:call-macro name="basedata_4_heightmarks-points"/> <dc:call-macro name="basedata_5_flood-protections_relative_points"/> </dc:when> <dc:when test="$out = 'fix_longitudinal_section_curve'"> @@ -258,13 +249,10 @@ </dc:choose> </dc:when> <dc:when test="$out = 'computed_discharge_curve'"> - <dc:call-macro name="historical_discharge_curve"/> - <dc:call-macro name="discharge_table_gauge"/> - <dc:call-macro name="basedata_2_fixations_wqkms"/> + <dc:call-macro name="discharge-curve-prototype"/> <dc:call-macro name="basedata_5_flood-protections"/> <dc:call-macro name="basedata_0_wq"/> <dc:call-macro name="basedata_1_additionals_wq"/> - <dc:call-macro name="basedata_4_heightmarks-points"/> <computed_discharge_curve> <dc:call-macro name="mainvalues"/> </computed_discharge_curve> @@ -1210,6 +1198,14 @@ </dc:filter> </dc:macro> + <dc:macro name="discharge-curve-prototype"> + <dc:call-macro name="discharge_table_gauge"/> + <dc:call-macro name="historical_discharge_curve"/> + <dc:call-macro name="basedata_0_wq"/> + <dc:call-macro name="basedata_2_fixations_wqkms"/> + <dc:call-macro name="basedata_4_heightmarks-points"/> + </dc:macro> + <dc:macro name="longitudinal-section-prototype"> <dc:call-macro name="basedata_0"/> <dc:call-macro name="basedata_1_additionals"/>