comparison artifacts/doc/conf/meta-data.xml @ 7402:93ae1aa8ade9

issue1521: Adhere more to dc 'spec', show discharges of flow velocity models.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 21 Oct 2013 12:21:40 +0200
parents cfac25ad6b3e
children 350057df635b
comparison
equal deleted inserted replaced
7401:bbf758e594bb 7402:93ae1aa8ade9
1726 1726
1727 <dc:macro name="flow_velocity_models"> 1727 <dc:macro name="flow_velocity_models">
1728 <dc:context> 1728 <dc:context>
1729 <dc:statement> 1729 <dc:statement>
1730 SELECT fvm.id AS fvmid, 1730 SELECT fvm.id AS fvmid,
1731 fvm.description AS fvmd 1731 fvm.description AS fvmd,
1732 dz.upper_discharge AS upperQ,
1733 dz.lower_discharge AS lowerQ
1732 FROM flow_velocity_model fvm 1734 FROM flow_velocity_model fvm
1733 JOIN discharge_zone dz ON dz.id = fvm.discharge_zone_id 1735 JOIN discharge_zone dz ON dz.id = fvm.discharge_zone_id
1734 WHERE dz.river_id = ${river_id} 1736 WHERE dz.river_id = ${river_id}
1735 </dc:statement> 1737 </dc:statement>
1736 <dc:if test="dc:has-result()"> 1738 <dc:if test="dc:has-result()">
1737 <flowvelocitymodel> 1739 <flowvelocitymodel>
1738 <dc:for-each> 1740 <dc:for-each>
1739 <measurement_value name="{$fvmd}" 1741 <measurement_value name="{$fvmd}"
1740 ids="{$fvmid}" 1742 ids="{$fvmid}"
1741 factory="flowvelocitymodel" target_out="{$out}" /> 1743 factory="flowvelocitymodel"
1744 info="{$lowerQ} - {$upperQ}"
1745 target_out="{$out}" />
1742 </dc:for-each> 1746 </dc:for-each>
1743 </flowvelocitymodel> 1747 </flowvelocitymodel>
1744 </dc:if> 1748 </dc:if>
1745 </dc:context> 1749 </dc:context>
1746 </dc:macro> 1750 </dc:macro>

http://dive4elements.wald.intevation.org