comparison artifacts/doc/conf/meta-data.xml @ 7292:8943ab11ed3f

issue1512: Adde flow-velocity-models dc conf.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 11 Oct 2013 12:22:40 +0200
parents 2584a114a350
children 917351b40e6e
comparison
equal deleted inserted replaced
7291:ff0b99425dc9 7292:8943ab11ed3f
1263 <dc:call-macro name="densities"/> 1263 <dc:call-macro name="densities"/>
1264 <dc:call-macro name="minfo-heights"/> 1264 <dc:call-macro name="minfo-heights"/>
1265 <dc:call-macro name="sounding-width"/> 1265 <dc:call-macro name="sounding-width"/>
1266 <dc:call-macro name="morph_width"/> 1266 <dc:call-macro name="morph_width"/>
1267 <dc:call-macro name="flow_velocity_measurements"/> 1267 <dc:call-macro name="flow_velocity_measurements"/>
1268 <dc:call-macro name="flow_velocity_models"/>
1268 </minfo> 1269 </minfo>
1269 </dc:macro> 1270 </dc:macro>
1270 1271
1271 <dc:macro name="densities"> 1272 <dc:macro name="densities">
1272 <densities> 1273 <densities>
1651 description="{$bedh_descr}"/> 1652 description="{$bedh_descr}"/>
1652 </dc:for-each> 1653 </dc:for-each>
1653 </dc:context> 1654 </dc:context>
1654 </epoch> 1655 </epoch>
1655 </dc:macro> 1656 </dc:macro>
1657
1658 <dc:macro name="flow_velocity_models">
1659 <dc:context>
1660 <dc:statement>
1661 SELECT fvm.id AS fvmid,
1662 fvm.description AS fvmd
1663 FROM flow_velocity_model fvm
1664 JOIN discharge_zone dz ON dz.id = fvm.discharge_zone_id
1665 WHERE dz.river_id = ${river_id}
1666 </dc:statement>
1667 <dc:if test="dc:has-result()">
1668 <flowvelocitymodel>
1669 <dc:for-each>
1670 <measurement_value name="{$fvmd}"
1671 ids="{$fvmid}"
1672 factory="flowvelocitymodel" target_out="{$out}" />
1673 </dc:for-each>
1674 </flowvelocitymodel>
1675 </dc:if>
1676 </dc:context>
1677 </dc:macro>
1678
1656 1679
1657 <dc:macro name="flow_velocity_measurements"> 1680 <dc:macro name="flow_velocity_measurements">
1658 <dc:context> 1681 <dc:context>
1659 <dc:statement> 1682 <dc:statement>
1660 SELECT id AS fvmid, 1683 SELECT id AS fvmid,

http://dive4elements.wald.intevation.org