comparison flys-artifacts/doc/conf/meta-data.xml @ 1757:63d5d52ba7f3

Cosmetics. flys-artifacts/trunk@3068 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 25 Oct 2011 12:13:04 +0000
parents 980d880c583c
children 1d78039a36e6
comparison
equal deleted inserted replaced
1756:bf356c5cfead 1757:63d5d52ba7f3
234 ORDER by position 234 ORDER by position
235 </dc:statement> 235 </dc:statement>
236 <dc:elements> 236 <dc:elements>
237 <column> 237 <column>
238 <dc:attribute name="name" value="${wl_column_name}"/> 238 <dc:attribute name="name" value="${wl_column_name}"/>
239 <dc:attribute name="db-id" value="${wl_column_id}"/></column> 239 <dc:attribute name="db-id" value="${wl_column_id}"/>
240 </column>
240 </dc:elements> 241 </dc:elements>
241 </dc:context> 242 </dc:context>
242 </columns> 243 </columns>
243 </water-level> 244 </water-level>
244 </dc:elements> 245 </dc:elements>
252 description AS els_description 253 description AS els_description
253 FROM wsts WHERE kind = 1 AND river_id = ${river_id} 254 FROM wsts WHERE kind = 1 AND river_id = ${river_id}
254 </dc:statement> 255 </dc:statement>
255 <dc:elements> 256 <dc:elements>
256 <extra-longitudinal-section> 257 <extra-longitudinal-section>
257 <dc:attribute name="name" value="${els_description}"/> 258 <dc:attribute name="name" value="${els_description}"/>
258 <dc:attribute name="db-id" value="${els_id}"/> 259 <dc:attribute name="db-id" value="${els_id}"/>
259 <columns> 260 <columns>
260 <dc:context> 261 <dc:context>
261 <dc:statement> 262 <dc:statement>
262 SELECT id AS els_column_id, 263 SELECT id AS els_column_id,
264 FROM wst_columns WHERE wst_id = ${els_id} 265 FROM wst_columns WHERE wst_id = ${els_id}
265 ORDER by position 266 ORDER by position
266 </dc:statement> 267 </dc:statement>
267 <dc:elements> 268 <dc:elements>
268 <column> 269 <column>
269 <dc:attribute name="name" value="${els_column_name}"/> 270 <dc:attribute name="name" value="${els_column_name}"/>
270 <dc:attribute name="db-id" value="${els_column_id}"/></column> 271 <dc:attribute name="db-id" value="${els_column_id}"/>
272 </column>
271 </dc:elements> 273 </dc:elements>
272 </dc:context> 274 </dc:context>
273 </columns> 275 </columns>
274 </extra-longitudinal-section> 276 </extra-longitudinal-section>
275 </dc:elements> 277 </dc:elements>
279 </dc:if> 281 </dc:if>
280 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')"> 282 <dc:if test="dc:contains($artifact-outs, 'computed_discharge_curve')">
281 <computed-discharge-curve> 283 <computed-discharge-curve>
282 <mainvalue> 284 <mainvalue>
283 <dc:attribute name="factory" value="mainvalue"/> 285 <dc:attribute name="factory" value="mainvalue"/>
284 <dc:attribute name="db-ids" value="${river_id}"/> 286 <dc:attribute name="db-ids" value="${river_id}"/>
285 </mainvalue> 287 </mainvalue>
286 </computed-discharge-curve> 288 </computed-discharge-curve>
287 </dc:if> 289 </dc:if>
288 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')"> 290 <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')">
289 <longitudinal-section> 291 <longitudinal-section>
290 <dc:call-macro name="longitudinal_section-recommended"/> 292 <dc:call-macro name="longitudinal_section-recommended"/>
291 <fixations><dc:attribute name="ref" value="fixations-${river_id}"/></fixations> 293 <fixations>
292 <flood-protections><dc:attribute name="ref" value="flood-protections-${river_id}"/></flood-protections> 294 <dc:attribute name="ref" value="fixations-${river_id}"/>
293 <flood-water-marks><dc:attribute name="ref" value="flood-water-marks-${river_id}"/></flood-water-marks> 295 </fixations>
294 <water-levels><dc:attribute name="ref" value="water-levels-${river_id}"/></water-levels> 296 <flood-protections>
295 <extra-longitudinal-sections><dc:attribute name="ref" value="extra-longitudinal-sections-${river_id}"/></extra-longitudinal-sections> 297 <dc:attribute name="ref" value="flood-protections-${river_id}"/>
298 </flood-protections>
299 <flood-water-marks>
300 <dc:attribute name="ref" value="flood-water-marks-${river_id}"/>
301 </flood-water-marks>
302 <water-levels>
303 <dc:attribute name="ref" value="water-levels-${river_id}"/>
304 </water-levels>
305 <extra-longitudinal-sections>
306 <dc:attribute name="ref" value="extra-longitudinal-sections-${river_id}"/>
307 </extra-longitudinal-sections>
296 </longitudinal-section> 308 </longitudinal-section>
297 <dc:macro name="longitudinal_section-recommended"> 309 <dc:macro name="longitudinal_section-recommended">
298 <annotation> 310 <annotation>
299 <dc:attribute name="factory" value="annotations"/> 311 <dc:attribute name="factory" value="annotations"/>
300 <dc:attribute name="ids" value="${river_id}"/> 312 <dc:attribute name="ids" value="${river_id}"/>
407 Import longitudinal sections only if the ${artifact-out} is defined as 'longitudinal_section' 419 Import longitudinal sections only if the ${artifact-out} is defined as 'longitudinal_section'
408 --------------------------------------------------------------------------------------------- 420 ---------------------------------------------------------------------------------------------
409 </dc:comment> 421 </dc:comment>
410 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')"> 422 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')">
411 <dc:context> 423 <dc:context>
412 <dc:statement>SELECT id AS out_id FROM outs WHERE artifact_id = ${a_id} AND name = 'longitudinal_section' 424 <dc:statement>
425 SELECT id AS out_id
426 FROM outs
427 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section'
413 </dc:statement> 428 </dc:statement>
414 <dc:elements> 429 <dc:elements>
415 <dc:context> 430 <dc:context>
416 <dc:statement>SELECT name AS facet_name, num as facet_num, description AS facet_description 431 <dc:statement>
417 FROM facets WHERE out_id = ${out_id} ORDER BY num ASC, name DESC 432 SELECT name AS facet_name, num as facet_num, description AS facet_description
433 FROM facets
434 WHERE out_id = ${out_id}
435 ORDER BY num ASC, name DESC
418 </dc:statement> 436 </dc:statement>
419 <longitudinal_section_columns> 437 <longitudinal_section_columns>
420 <dc:attribute name="description" value="${river} ${a_creation}"/> 438 <dc:attribute name="description" value="${river} ${a_creation}"/>
421 <dc:elements> 439 <dc:elements>
422 <dc:element name="${facet_name}"> 440 <dc:element name="${facet_name}">
441 Import Waterlevels only if the ${artifact-out} is defined as 'waterlevels' 459 Import Waterlevels only if the ${artifact-out} is defined as 'waterlevels'
442 -------------------------------------------------------------------------- 460 --------------------------------------------------------------------------
443 </dc:comment> 461 </dc:comment>
444 <dc:when test="dc:contains($artifact-outs, 'waterlevels')"> 462 <dc:when test="dc:contains($artifact-outs, 'waterlevels')">
445 <dc:context> 463 <dc:context>
446 <dc:statement>SELECT id AS out_id FROM outs WHERE artifact_id = ${a_id} AND name = 'longitudinal_section' 464 <dc:statement>
465 SELECT id AS out_id
466 FROM outs
467 WHERE artifact_id = ${a_id} AND name = 'longitudinal_section'
447 </dc:statement> 468 </dc:statement>
448 <dc:elements> 469 <dc:elements>
449 <dc:context> 470 <dc:context>
450 <dc:statement>SELECT name AS facet_name, num as facet_num, description AS facet_description 471 <dc:statement>
451 FROM facets WHERE out_id = ${out_id} and name = 'longitudinal_section.w' ORDER BY num ASC, name DESC 472 SELECT name AS facet_name, num as facet_num, description AS facet_description
473 FROM facets
474 WHERE out_id = ${out_id} and name = 'longitudinal_section.w'
475 ORDER BY num ASC, name DESC
452 </dc:statement> 476 </dc:statement>
453 <waterlevels> 477 <waterlevels>
454 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/> 478 <dc:attribute name="description" value="${river} ${a_creation} ${collection_name}"/>
455 <dc:elements> 479 <dc:elements>
456 <dc:element name="${facet_name}"> 480 <dc:element name="${facet_name}">
457 <dc:attribute name="description" value="${facet_description}"/> 481 <dc:attribute name="description" value="${facet_description}"/>
458 <dc:attribute name="ids" value="${facet_num}"/> 482 <dc:attribute name="ids" value="${facet_num}"/>
459 <dc:attribute name="factory" value="winfo"/> 483 <dc:attribute name="factory" value="winfo"/>
460 <dc:attribute name="artifact-id" value="${a_gid}"/> 484 <dc:attribute name="artifact-id" value="${a_gid}"/>
461 <dc:attribute name="out" value="longitudinal_section"/> 485 <dc:attribute name="out" value="longitudinal_section"/>
462 </dc:element> 486 </dc:element>
463 </dc:elements> 487 </dc:elements>
464 </waterlevels> 488 </waterlevels>
465 </dc:context> 489 </dc:context>
466 </dc:elements> 490 </dc:elements>

http://dive4elements.wald.intevation.org