comparison artifacts/doc/conf/meta-data.xml @ 5988:a3060bfd28cf

Datacage: Removed macros which are not called.
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 12 May 2013 17:04:19 +0200
parents f33d717aae5c
children f049f9521a51
comparison
equal deleted inserted replaced
5987:e5e2b0630855 5988:a3060bfd28cf
357 <dc:call-macro name="SQL-wst_columns_statement"/> 357 <dc:call-macro name="SQL-wst_columns_statement"/>
358 <dc:for-each> 358 <dc:for-each>
359 <column name="{$prot_column_name}" 359 <column name="{$prot_column_name}"
360 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}" 360 ids="heightmarks_points-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}"
361 factory="staticwkms" 361 factory="staticwkms"
362 info="{$info} [km {$deffrom} - {$defto}]"/>
363 </dc:for-each>
364 </dc:context>
365 </heightmark>
366 </dc:for-each>
367 </dc:context>
368 </heightmarks>
369 </dc:call-macro>
370 </dc:macro>
371
372 <dc:macro name="basedata_4_heightmarks-wq">
373 <dc:call-macro name="user-range">
374 <heightmarks>
375 <dc:context connection="system">
376 <dc:statement>
377 SELECT id AS prot_id,
378 description AS prot_description
379 FROM wsts WHERE kind = 4 AND river_id = ${river_id}
380 </dc:statement>
381 <dc:for-each>
382 <heightmark name="{$prot_description}">
383 <dc:context>
384 <dc:call-macro name="SQL-wst_columns_statement"/>
385 <dc:for-each>
386 <column name="{$prot_column_name}"
387 ids="heightmarks_annotations-wstv-{$prot_rel_pos}-{$prot_id}:OUT={$OUT}"
388 factory="wqinterpol"
389 info="{$info} [km {$deffrom} - {$defto}]"/> 362 info="{$info} [km {$deffrom} - {$defto}]"/>
390 </dc:for-each> 363 </dc:for-each>
391 </dc:context> 364 </dc:context>
392 </heightmark> 365 </heightmark>
393 </dc:for-each> 366 </dc:for-each>
2511 2484
2512 <dc:comment> 2485 <dc:comment>
2513 MINFO bedheight middle 2486 MINFO bedheight middle
2514 </dc:comment> 2487 </dc:comment>
2515 2488
2516 <dc:macro name="bed-height">
2517 <fix_vollmer_wq_curve>
2518 <dc:for-each>
2519 <dc:context>
2520 <dc:call-macro name="range-filter">
2521 <dc:context>
2522 <dc:statement>
2523 SELECT a.gid AS aid,
2524 f.id AS fid,
2525 f.name AS facet_name,
2526 f.num AS facet_num,
2527 f.description AS facet_description
2528 FROM outs AS o, facets AS f, artifacts AS a
2529 WHERE (
2530 f.name = 'longitudinal_section.w' OR
2531 f.name = 'heightmarks_points'
2532 ) AND f.out_id = o.id AND o.artifact_id = ${a_id} AND a.id = ${a_id}
2533 </dc:statement>
2534 <fix_vollmer_wq_curve description="{$river} {$a_creation} {$collection_name}">
2535 <dc:for-each>
2536 <dc:element name="${facet_name}">
2537 <dc:attribute name="description" value="${facet_description}"/>
2538 <dc:attribute name="factory" value="fixanalysis"/>
2539 <dc:attribute name="artifact-id" value="${aid}"/>
2540 <dc:attribute name="ids" value="${facet_num}:OUT=${out}"/>
2541 <dc:attribute name="out" value="longitudinal_section"/>
2542 </dc:element>
2543 </dc:for-each>
2544 </fix_vollmer_wq_curve>
2545 </dc:context>
2546 </dc:call-macro>
2547 </dc:context>
2548 </dc:for-each>
2549 </fix_vollmer_wq_curve>
2550 </dc:macro>
2551
2552 <dc:macro name="floodmap-hws-user"> 2489 <dc:macro name="floodmap-hws-user">
2553 <dc:context> 2490 <dc:context>
2554 <dc:statement> 2491 <dc:statement>
2555 SELECT id AS out_id 2492 SELECT id AS out_id
2556 FROM outs 2493 FROM outs
2928 </dc:context> 2865 </dc:context>
2929 </dc:for-each> 2866 </dc:for-each>
2930 </bedheight-differences> 2867 </bedheight-differences>
2931 </dc:macro> 2868 </dc:macro>
2932 2869
2933 <dc:macro name="fixings-year">
2934 <fixings>
2935 <dc:for-each>
2936 <dc:context>
2937 <dc:call-macro name="range-filter">
2938 <dc:context>
2939 <dc:statement>
2940 SELECT ou.id AS oid
2941 FROM outs AS ou, artifacts AS ar
2942 WHERE
2943 ar.state = 'state.fix.vollmer.compute' AND
2944 ou.name = 'longitudinal_section'
2945 </dc:statement>
2946 <dc:for-each>
2947 <fix description="{$river} {$a_id} {$a_creation} {$collection_name}">
2948 <dc:context>
2949 <dc:statement>
2950 SELECT a.gid AS aid,
2951 f.id AS fid,
2952 f.name AS facet_name,
2953 f.num AS facet_num,
2954 f.description AS facet_description
2955 FROM outs AS o, facets AS f, artifacts AS a
2956 WHERE f.name = 'longitudinal_section.w' AND
2957 f.out_id = o.id AND
2958 o.artifact_id = ${a_id} AND
2959 a.id = ${a_id}
2960 </dc:statement>
2961 <dc:for-each>
2962 <dc:element name="${facet_name}">
2963 <dc:attribute name="factory" value="fixanalysis"/>
2964 <dc:attribute name="description" value="${facet_description}"/>
2965 <dc:attribute name="ids" value="${facet_num}-${facet_name}:OUT=${out}"/>
2966 <dc:attribute name="artifact-id" value="${aid}"/>
2967 <dc:attribute name="out" value="longitudinal_section"/>
2968 </dc:element>
2969 </dc:for-each>
2970 </dc:context>
2971 </fix>
2972 </dc:for-each>
2973 </dc:context>
2974 </dc:call-macro>
2975 </dc:context>
2976 </dc:for-each>
2977 </fixings>
2978 </dc:macro>
2979
2980 <dc:macro name="waterlevels-discharge"> 2870 <dc:macro name="waterlevels-discharge">
2981 <waterlevels-discharge> 2871 <waterlevels-discharge>
2982 <dc:for-each> 2872 <dc:for-each>
2983 <dc:context> 2873 <dc:context>
2984 <dc:call-macro name="range-filter"> 2874 <dc:call-macro name="range-filter">

http://dive4elements.wald.intevation.org