Mercurial > dive4elements > river
comparison artifacts/doc/conf/meta-data.xml @ 6214:467df391317d
I999: Filter epochs ands single years in datacage config.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 06 Jun 2013 13:26:34 +0200 |
parents | 3f8f212253a0 |
children | a782693e4d5f |
comparison
equal
deleted
inserted
replaced
6213:450bf0017690 | 6214:467df391317d |
---|---|
244 <dc:call-macro name="mainvalues"/> | 244 <dc:call-macro name="mainvalues"/> |
245 </computed_discharge_curve> | 245 </computed_discharge_curve> |
246 </dc:when> | 246 </dc:when> |
247 <dc:when test="$out = 'minfo-heights'"> | 247 <dc:when test="$out = 'minfo-heights'"> |
248 <dc:call-macro name="minfo-heights"/> | 248 <dc:call-macro name="minfo-heights"/> |
249 <dc:macro name="minfo-heights"> | |
250 <bedheights> | |
251 <dc:call-macro name="bed-heights-single"/> | |
252 <dc:call-macro name="bed-heights-epoch"/> | |
253 </bedheights> | |
254 </dc:macro> | |
255 </dc:when> | 249 </dc:when> |
256 <dc:when test="$out = 'minfo-heights-epoch'"> | 250 <dc:when test="$out = 'minfo-heights-epoch'"> |
257 <bedheights> | 251 <bedheights> |
258 <dc:call-macro name="bed-heights-epoch"/> | 252 <dc:call-macro name="bed-heights-epoch"/> |
259 </bedheights> | 253 </bedheights> |
1208 <dc:context> | 1202 <dc:context> |
1209 <dc:statement> | 1203 <dc:statement> |
1210 SELECT id AS bedh_id, | 1204 SELECT id AS bedh_id, |
1211 year AS bedh_year, | 1205 year AS bedh_year, |
1212 description AS bedh_descr | 1206 description AS bedh_descr |
1213 FROM bed_height_single WHERE river_id = ${river_id} | 1207 FROM bed_height_single |
1208 WHERE river_id = ${river_id} | |
1209 AND lower(description) NOT LIKE '%epoch%' | |
1214 </dc:statement> | 1210 </dc:statement> |
1215 <dc:for-each> | 1211 <dc:for-each> |
1216 <height factory="bedheight" target_out="{$out}" | 1212 <height factory="bedheight" target_out="{$out}" |
1217 ids="bedheight-single-{$bedh_id}-{$bedh_year}" | 1213 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
1218 description="{$bedh_descr}"/> | 1214 description="{$bedh_descr}"/> |
1223 | 1219 |
1224 <dc:macro name="bed-heights-epoch"> | 1220 <dc:macro name="bed-heights-epoch"> |
1225 <epoch> | 1221 <epoch> |
1226 <dc:context> | 1222 <dc:context> |
1227 <dc:statement> | 1223 <dc:statement> |
1228 SELECT id AS bedh_id, | 1224 SELECT id AS bedh_id, |
1229 time_interval_id AS bedh_interval_id, | 1225 year AS bedh_year, |
1230 description AS bedh_descr | 1226 description AS bedh_descr |
1231 FROM bed_height_epoch WHERE river_id = ${river_id} | 1227 FROM bed_height_single |
1228 WHERE river_id = ${river_id} | |
1229 AND lower(description) LIKE '%epoch%' | |
1232 </dc:statement> | 1230 </dc:statement> |
1233 <dc:for-each> | 1231 <dc:for-each> |
1234 <height factory="bedheight" target_out="{$out}" | 1232 <height factory="bedheight" target_out="{$out}" |
1235 ids="bedheight-epoch-{$bedh_id}-{$bedh_interval_id}" | 1233 ids="bedheight-single-{$bedh_id}-{$bedh_year}" |
1236 description="{$bedh_descr}"/> | 1234 description="{$bedh_descr}"/> |
1237 </dc:for-each> | 1235 </dc:for-each> |
1238 </dc:context> | 1236 </dc:context> |
1239 </epoch> | 1237 </epoch> |
1240 </dc:macro> | 1238 </dc:macro> |