comparison artifacts/doc/conf/meta-data.xml @ 7190:851fc99be4bc

issue1435: meta-data.xml: Add sedimentload/yield- part to minfo part of dc.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 27 Sep 2013 14:42:03 +0200
parents 336d7690b38c
children 7bd19eff9bca
comparison
equal deleted inserted replaced
7189:4c8ce0c41dc2 7190:851fc99be4bc
1223 <minfo> 1223 <minfo>
1224 <dc:call-macro name="basedata_6_delta_w"/> 1224 <dc:call-macro name="basedata_6_delta_w"/>
1225 <dc:call-macro name="basedata_7_waterlevels"/> 1225 <dc:call-macro name="basedata_7_waterlevels"/>
1226 <dc:call-macro name="minfo-heights"/> 1226 <dc:call-macro name="minfo-heights"/>
1227 <dc:call-macro name="sounding-width"/> 1227 <dc:call-macro name="sounding-width"/>
1228 <dc:call-macro name="yields"/>
1228 </minfo> 1229 </minfo>
1229 </dc:macro> 1230 </dc:macro>
1231
1232 <dc:macro name="yields">
1233 <dc:context>
1234 <dc:statement>
1235 SELECT DISTINCT
1236 sy.id AS syid,
1237 sy.description AS description,
1238 ti.start_time AS year
1239 FROM sediment_yield sy
1240 JOIN rivers r ON sy.river_id = r.id
1241 JOIN sediment_yield_values syv ON sy.id = syv.sediment_yield_id
1242 JOIN time_intervals ti ON sy.time_interval_id = ti.id
1243 WHERE r.name = 'Elbe'
1244 AND ti.stop_time IS NULL
1245 AND syv.station BETWEEN ${fromkm} AND ${tokm}
1246 </dc:statement>
1247 <dc:if test="dc:has-result()">
1248 <dc:for-each>
1249 <year description="{$description}"
1250 factory="sedimentyield"
1251 target_out="{$out}"
1252 info="infome"
1253 ids="{$syid}" />
1254 <!-- or epoch -->
1255 </dc:for-each>
1256 </dc:if>
1257 </dc:context>
1258 </dc:macro>
1259
1230 1260
1231 <dc:macro name="basedata_5_flood-protections"> 1261 <dc:macro name="basedata_5_flood-protections">
1232 <dc:filter expr="$kind=5"> 1262 <dc:filter expr="$kind=5">
1233 <dc:if test="dc:has-result()"> 1263 <dc:if test="dc:has-result()">
1234 <flood_protections> 1264 <flood_protections>

http://dive4elements.wald.intevation.org