comparison artifacts/doc/conf/meta-data.xml @ 7208:b893e1d0ddc7

issue1435: Add densities-macro to meta-data.xml .
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 30 Sep 2013 17:32:47 +0200
parents c0349b54c604
children a5c142500d51
comparison
equal deleted inserted replaced
7207:fc965ef58972 7208:b893e1d0ddc7
1227 <dc:call-macro name="sounding-width"/> 1227 <dc:call-macro name="sounding-width"/>
1228 <dc:call-macro name="yields"/> 1228 <dc:call-macro name="yields"/>
1229 </minfo> 1229 </minfo>
1230 </dc:macro> 1230 </dc:macro>
1231 1231
1232 <dc:macro name="densities">
1233 <densities>
1234 <dc:context>
1235 <dc:statement>
1236 SELECT DISTINCT
1237 sd.id AS sdid,
1238 sd.description AS description,
1239 d.lower AS depth_lower,
1240 d.upper AS depth_upper
1241 FROM sediment_density sd
1242 JOIN rivers r ON sd.river_id = r.id
1243 JOIN depths d ON sd.depth_id = d.id
1244 WHERE r.id = ${river_id}
1245 </dc:statement>
1246 <dc:if test="dc:has-result()">
1247 <dc:for-each>
1248 <density description="{$description}"
1249 factory="sedimentdensity"
1250 target_out="{$out}"
1251 info="infome"
1252 ids="{$sdid}" />
1253 </dc:for-each>
1254 </dc:if>
1255 </dc:context>
1256 </densities>
1257 </dc:macro>
1258
1259
1232 <dc:macro name="yields"> 1260 <dc:macro name="yields">
1233 <yields> 1261 <yields>
1234 <years> 1262 <years>
1235 <dc:context> 1263 <dc:context>
1236 <dc:statement> 1264 <dc:statement>

http://dive4elements.wald.intevation.org