comparison artifacts/doc/conf/meta-data.xml @ 6638:f4872350b50f

Backed out changeset 1a7f5d09b9d8
author Tom Gottfried <tom@intevation.de>
date Sat, 29 Jun 2013 00:06:35 +0200
parents 1a7f5d09b9d8
children e0311aa32efb
comparison
equal deleted inserted replaced
6518:1a7f5d09b9d8 6638:f4872350b50f
43 <dc:comment> 43 <dc:comment>
44 Recommendations (client shall load immediately). 44 Recommendations (client shall load immediately).
45 </dc:comment> 45 </dc:comment>
46 <dc:iterate var="out" container="artifact-outs"> 46 <dc:iterate var="out" container="artifact-outs">
47 <dc:choose> 47 <dc:choose>
48 <dc:when test="dc:contains($out, 'longitudinal_section')"> 48 <dc:when test="$out = 'w_differences'">
49 <dc:call-macro name="annotations"/>
50 </dc:when>
51 <dc:when test="$out = 'discharge_longitudinal_section'">
49 <dc:call-macro name="annotations"/> 52 <dc:call-macro name="annotations"/>
50 <dc:call-macro name="officiallines_user"/> 53 <dc:call-macro name="officiallines_user"/>
51 </dc:when> 54 </dc:when>
52 <dc:when test="$out = 'historical_discharge_wq'"> 55 <dc:when test="$out = 'historical_discharge_wq'">
53 <dc:call-macro name="mainvalues"/> 56 <dc:call-macro name="mainvalues"/>
102 </dc:when> 105 </dc:when>
103 <dc:when test="$out = 'minfo-heights-epoch'"> 106 <dc:when test="$out = 'minfo-heights-epoch'">
104 <bedheights> 107 <bedheights>
105 <dc:call-macro name="bed-heights-epoch"/> 108 <dc:call-macro name="bed-heights-epoch"/>
106 </bedheights> 109 </bedheights>
110 </dc:when>
111 <dc:when test="$out = 'sedimentload_ls'">
112 <dc:call-macro name="annotations"/>
107 </dc:when> 113 </dc:when>
108 </dc:choose> 114 </dc:choose>
109 </dc:iterate> 115 </dc:iterate>
110 </dc:when> 116 </dc:when>
111 <dc:otherwise> 117 <dc:otherwise>
125 <dc:call-macro name="hyks"/> 131 <dc:call-macro name="hyks"/>
126 </dc:when> 132 </dc:when>
127 <dc:when test="$out = 'longitudinal_section'"> 133 <dc:when test="$out = 'longitudinal_section'">
128 <dc:call-macro name="longitudinal-section-prototype"/> 134 <dc:call-macro name="longitudinal-section-prototype"/>
129 </dc:when> 135 </dc:when>
130 <dc:when test="$out = 'w_differences_longitudinal_section'"> 136 <dc:when test="$out = 'w_differences'">
131 <dc:call-macro name="longitudinal-section-prototype"/> 137 <dc:call-macro name="longitudinal-section-prototype"/>
132 </dc:when> 138 </dc:when>
133 <dc:when test="$out = 'discharge_longitudinal_section'"> 139 <dc:when test="$out = 'discharge_longitudinal_section'">
134 <dc:call-macro name="longitudinal-section-prototype"/> 140 <dc:call-macro name="longitudinal-section-prototype"/>
135 </dc:when> 141 </dc:when>
164 <dc:call-macro name="longitudinal-section-prototype"/> 170 <dc:call-macro name="longitudinal-section-prototype"/>
165 </dc:when> 171 </dc:when>
166 <dc:when test="$out = 'map'"> 172 <dc:when test="$out = 'map'">
167 <dc:call-macro name="flood-map-complete"/> 173 <dc:call-macro name="flood-map-complete"/>
168 </dc:when> 174 </dc:when>
169 <dc:when test="$out = 'flow_velocity_longitudinal_section'"> 175 <dc:when test="$out = 'flow_velocity'">
170 <dc:call-macro name="annotations_per_type"/> 176 <dc:call-macro name="annotations_per_type"/>
171 <dc:call-macro name="flow_velocity_measurements"/> 177 <dc:call-macro name="flow_velocity_measurements"/>
172 </dc:when> 178 </dc:when>
173 <dc:when test="$out = 'bed_longitudinal_section'"> 179 <dc:when test="$out = 'bed_longitudinal_section'">
174 <dc:call-macro name="annotations_per_type"/> 180 <dc:call-macro name="annotations_per_type"/>
175 </dc:when> 181 </dc:when>
176 <dc:when test="$out = 'sedimentload_longitudinal_section'"> 182 <dc:when test="$out = 'sedimentload_ls'">
177 <dc:call-macro name="annotations_per_type"/> 183 <dc:call-macro name="annotations_per_type"/>
178 <dc:call-macro name="morph_width"/> 184 <dc:call-macro name="morph_width"/>
179 </dc:when> 185 </dc:when>
180 <dc:when test="$out = 'bedheight_middle_longitudinal_section'"> 186 <dc:when test="$out = 'bedheight_middle'">
181 <dc:call-macro name="sounding-width"/> 187 <dc:call-macro name="sounding-width"/>
182 <dc:call-macro name="basedata_0"/> 188 <dc:call-macro name="basedata_0"/>
183 <dc:call-macro name="basedata_1_additionals"/> 189 <dc:call-macro name="basedata_1_additionals"/>
184 <dc:call-macro name="basedata_2_fixations"/> 190 <dc:call-macro name="basedata_2_fixations"/>
185 <dc:call-macro name="basedata_3_officials"/> 191 <dc:call-macro name="basedata_3_officials"/>
186 <dc:call-macro name="annotations_per_type"/> 192 <dc:call-macro name="annotations_per_type"/>
187 </dc:when> 193 </dc:when>
188 <dc:when test="$out = 'bed_difference_height_year_longitudinal_section'"> 194 <dc:when test="$out = 'bed_difference_height_year'">
189 <dc:call-macro name="basedata_0"/> 195 <dc:call-macro name="basedata_0"/>
190 <dc:call-macro name="basedata_1_additionals"/> 196 <dc:call-macro name="basedata_1_additionals"/>
191 <dc:call-macro name="basedata_2_fixations"/> 197 <dc:call-macro name="basedata_2_fixations"/>
192 <dc:call-macro name="basedata_3_officials"/> 198 <dc:call-macro name="basedata_3_officials"/>
193 <dc:call-macro name="basedata_6_delta_w"/> 199 <dc:call-macro name="basedata_6_delta_w"/>
194 <dc:call-macro name="annotations_per_type"/> 200 <dc:call-macro name="annotations_per_type"/>
195 <dc:call-macro name="morph_width"/> 201 <dc:call-macro name="morph_width"/>
196 </dc:when> 202 </dc:when>
197 <dc:when test="$out = 'bed_difference_year_longitudinal_section'"> 203 <dc:when test="$out = 'bed_difference_year'">
198 <dc:call-macro name="basedata_0"/> 204 <dc:call-macro name="basedata_0"/>
199 <dc:call-macro name="basedata_1_additionals"/> 205 <dc:call-macro name="basedata_1_additionals"/>
200 <dc:call-macro name="basedata_2_fixations"/> 206 <dc:call-macro name="basedata_2_fixations"/>
201 <dc:call-macro name="basedata_3_officials"/> 207 <dc:call-macro name="basedata_3_officials"/>
202 <dc:call-macro name="basedata_6_delta_w"/> 208 <dc:call-macro name="basedata_6_delta_w"/>
203 <dc:call-macro name="annotations_per_type"/> 209 <dc:call-macro name="annotations_per_type"/>
204 <dc:call-macro name="morph_width"/> 210 <dc:call-macro name="morph_width"/>
205 </dc:when> 211 </dc:when>
206 <dc:when test="$out = 'bed_difference_epoch_longitudinal_section'"> 212 <dc:when test="$out = 'bed_difference_epoch'">
207 <dc:call-macro name="basedata_0"/> 213 <dc:call-macro name="basedata_0"/>
208 <dc:call-macro name="basedata_1_additionals"/> 214 <dc:call-macro name="basedata_1_additionals"/>
209 <dc:call-macro name="basedata_2_fixations"/> 215 <dc:call-macro name="basedata_2_fixations"/>
210 <dc:call-macro name="basedata_3_officials"/> 216 <dc:call-macro name="basedata_3_officials"/>
211 <dc:call-macro name="annotations_per_type"/> 217 <dc:call-macro name="annotations_per_type"/>
308 </dc:when> 314 </dc:when>
309 <dc:when test="$out = 'discharge_longitudinal_section'"> 315 <dc:when test="$out = 'discharge_longitudinal_section'">
310 <dc:call-macro name="longitudinal"/> 316 <dc:call-macro name="longitudinal"/>
311 <dc:call-macro name="differences"/> 317 <dc:call-macro name="differences"/>
312 </dc:when> 318 </dc:when>
313 <dc:when test="$out = 'w_differences_longitudinal_section'"> 319 <dc:when test="$out = 'w_differences'">
314 <dc:call-macro name="longitudinal"/> 320 <dc:call-macro name="longitudinal"/>
315 <dc:call-macro name="differences"/> 321 <dc:call-macro name="differences"/>
316 </dc:when> 322 </dc:when>
317 <dc:when test="$out = 'fix_deltawt_curve'"> 323 <dc:when test="$out = 'fix_deltawt_curve'">
318 <dc:call-macro name="delta-wt"/> 324 <dc:call-macro name="delta-wt"/>
348 <dc:call-macro name="flood-map"/> 354 <dc:call-macro name="flood-map"/>
349 </dc:when> 355 </dc:when>
350 <dc:when test="$out = 'map'"> 356 <dc:when test="$out = 'map'">
351 <dc:call-macro name="flood-map"/> 357 <dc:call-macro name="flood-map"/>
352 </dc:when> 358 </dc:when>
353 <dc:when test="$out = 'bedheight_middle_longitudinal_section'"> 359 <dc:when test="$out = 'bedheight_middle'">
354 <dc:call-macro name="waterlevels-discharge"/> 360 <dc:call-macro name="waterlevels-discharge"/>
355 <dc:call-macro name="waterlevels-fix"/> 361 <dc:call-macro name="waterlevels-fix"/>
356 </dc:when> 362 </dc:when>
357 <dc:when test="$out = 'floodmap-hws'"> 363 <dc:when test="$out = 'floodmap-hws'">
358 <dc:call-macro name="floodmap-hws-user"/> 364 <dc:call-macro name="floodmap-hws-user"/>
359 </dc:when> 365 </dc:when>
360 <dc:when test="$out = 'flow_velocity_longitudinal_section'"> 366 <dc:when test="$out = 'flow_velocity'">
361 <dc:call-macro name="bedquality-bed"/> 367 <dc:call-macro name="bedquality-bed"/>
362 <dc:call-macro name="bedquality-load"/> 368 <dc:call-macro name="bedquality-load"/>
363 </dc:when> 369 </dc:when>
364 <dc:when test="$out = 'bed_longitudinal_section'"> 370 <dc:when test="$out = 'bed_longitudinal_section'">
365 <dc:call-macro name="bedquality-bed"/> 371 <dc:call-macro name="bedquality-bed"/>
366 <dc:call-macro name="bedquality-load"/> 372 <dc:call-macro name="bedquality-load"/>
367 <dc:call-macro name="bedquality-density"/> 373 <dc:call-macro name="bedquality-density"/>
368 <dc:call-macro name="bedquality-porosity"/> 374 <dc:call-macro name="bedquality-porosity"/>
369 </dc:when> 375 </dc:when>
370 <dc:when test="$out = 'sedimentload_longitudinal_section'"> 376 <dc:when test="$out = 'sedimentload_ls'">
371 <dc:call-macro name="differences"/> 377 <dc:call-macro name="differences"/>
372 <dc:call-macro name="bedheight-differences"/> 378 <dc:call-macro name="bedheight-differences"/>
373 <dc:call-macro name="flow-velocity"/> 379 <dc:call-macro name="flow-velocity"/>
374 <dc:call-macro name="sediment-load"/> 380 <dc:call-macro name="sediment-load"/>
375 </dc:when> 381 </dc:when>
376 <dc:when test="$out = 'bed_difference_year_longitudinal_section'"> 382 <dc:when test="$out = 'bed_difference_year'">
377 <dc:call-macro name="waterlevels-discharge"/> 383 <dc:call-macro name="waterlevels-discharge"/>
378 <dc:call-macro name="bedheight-differences"/> 384 <dc:call-macro name="bedheight-differences"/>
379 <dc:call-macro name="differences"/> 385 <dc:call-macro name="differences"/>
380 <dc:call-macro name="waterlevels-fix"/> 386 <dc:call-macro name="waterlevels-fix"/>
381 <dc:call-macro name="delta-wt-ls"/> 387 <dc:call-macro name="delta-wt-ls"/>
382 </dc:when> 388 </dc:when>
383 <dc:when test="$out = 'bed_difference_epoch_longitudinal_section'"> 389 <dc:when test="$out = 'bed_difference_epoch'">
384 <dc:call-macro name="waterlevels-discharge"/> 390 <dc:call-macro name="waterlevels-discharge"/>
385 <dc:call-macro name="bedheight-differences"/> 391 <dc:call-macro name="bedheight-differences"/>
386 <dc:call-macro name="differences"/> 392 <dc:call-macro name="differences"/>
387 <dc:call-macro name="waterlevels-fix"/> 393 <dc:call-macro name="waterlevels-fix"/>
388 <dc:call-macro name="delta-wt-ls"/> 394 <dc:call-macro name="delta-wt-ls"/>
406 <w_differences 412 <w_differences
407 description="{$facet_description}" 413 description="{$facet_description}"
408 factory="winfo" target_out="{$out}" 414 factory="winfo" target_out="{$out}"
409 artifact-id="{$aid}" 415 artifact-id="{$aid}"
410 ids="{$aid}" 416 ids="{$aid}"
411 out="w_differences_longitudinal_section"/> 417 out="w_differences"/>
412 </dc:for-each> 418 </dc:for-each>
413 </differences> 419 </differences>
414 </dc:if> 420 </dc:if>
415 </dc:filter> 421 </dc:filter>
416 </dc:macro> 422 </dc:macro>
820 </dc:if> 826 </dc:if>
821 </dc:filter> 827 </dc:filter>
822 </dc:macro> 828 </dc:macro>
823 829
824 <dc:macro name="flow-velocity"> 830 <dc:macro name="flow-velocity">
825 <dc:filter expr="$out_name = 'flow_velocity_longitudinal_section' and 831 <dc:filter expr="$out_name = 'flow_velocity' and
826 ($facet_name = 'flow_velocity.totalchannel' or 832 ($facet_name = 'flow_velocity.totalchannel' or
827 $facet_name = 'flow_velocity.mainchannel' or 833 $facet_name = 'flow_velocity.mainchannel' or
828 $facet_name = 'flow_velocity.totalchannel.filtered' or 834 $facet_name = 'flow_velocity.totalchannel.filtered' or
829 $facet_name = 'flow_velocity.mainchannel.filtered')"> 835 $facet_name = 'flow_velocity.mainchannel.filtered')">
830 <dc:if test="dc:has-result()"> 836 <dc:if test="dc:has-result()">
836 <dc:attribute name="factory" value="minfo"/> 842 <dc:attribute name="factory" value="minfo"/>
837 <dc:attribute name="target_out" value="${out}"/> 843 <dc:attribute name="target_out" value="${out}"/>
838 <dc:attribute name="description" value="${facet_description}"/> 844 <dc:attribute name="description" value="${facet_description}"/>
839 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> 845 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/>
840 <dc:attribute name="artifact-id" value="${a_id}"/> 846 <dc:attribute name="artifact-id" value="${a_id}"/>
841 <dc:attribute name="out" value="flow_velocity_longitudinal_section"/> 847 <dc:attribute name="out" value="flow_velocity"/>
842 </dc:element> 848 </dc:element>
843 </dc:for-each> 849 </dc:for-each>
844 </flow> 850 </flow>
845 </dc:group> 851 </dc:group>
846 </flow-velocity> 852 </flow-velocity>
847 </dc:if> 853 </dc:if>
848 </dc:filter> 854 </dc:filter>
849 </dc:macro> 855 </dc:macro>
850 856
851 <dc:macro name="sediment-load"> 857 <dc:macro name="sediment-load">
852 <dc:filter expr="$out_name = 'sedimentload_longitudinal_section' and starts-with($facet_name, 'sedimentload')"> 858 <dc:filter expr="$out_name = 'sedimentload_ls' and starts-with($facet_name, 'sedimentload')">
853 <dc:if test="dc:has-result()"> 859 <dc:if test="dc:has-result()">
854 <sediment-load> 860 <sediment-load>
855 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)"> 861 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
856 <load description="{dc:group-key()}"> 862 <load description="{dc:group-key()}">
857 <dc:for-each> 863 <dc:for-each>
859 <dc:attribute name="factory" value="minfo"/> 865 <dc:attribute name="factory" value="minfo"/>
860 <dc:attribute name="target_out" value="${out}"/> 866 <dc:attribute name="target_out" value="${out}"/>
861 <dc:attribute name="description" value="${facet_description}"/> 867 <dc:attribute name="description" value="${facet_description}"/>
862 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/> 868 <dc:attribute name="ids" value="${facet_num}-${facet_name}"/>
863 <dc:attribute name="artifact-id" value="${a_id}"/> 869 <dc:attribute name="artifact-id" value="${a_id}"/>
864 <dc:attribute name="out" value="sedimentload_longitudinal_section"/> 870 <dc:attribute name="out" value="sedimentload_ls"/>
865 </dc:element> 871 </dc:element>
866 </dc:for-each> 872 </dc:for-each>
867 </load> 873 </load>
868 </dc:group> 874 </dc:group>
869 </sediment-load> 875 </sediment-load>
870 </dc:if> 876 </dc:if>
871 </dc:filter> 877 </dc:filter>
872 </dc:macro> 878 </dc:macro>
873 879
874 <dc:macro name="bedheight-differences"> 880 <dc:macro name="bedheight-differences">
875 <dc:filter expr="($out_name = 'bed_difference_year_longitudinal_section' or $out_name = 'bed_difference_epoch_longitudinal_section') and 881 <dc:filter expr="($out_name = 'bed_difference_year' or $out_name = 'bed_difference_epoch') and
876 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.epoch'))"> 882 (starts-with($facet_name, 'bedheight_difference.year') or starts-with($facet_name, 'bedheight_difference.epoch'))">
877 <dc:if test="dc:has-result()"> 883 <dc:if test="dc:has-result()">
878 <bedheight-differences> 884 <bedheight-differences>
879 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)"> 885 <dc:group expr="concat($river, ' ', dc:date-format('dd.MM.yyyy - H:m:s', $a_creation), ' ', $collection_name)">
880 <difference description="{dc:group-key()}"> 886 <difference description="{dc:group-key()}">

http://dive4elements.wald.intevation.org