comparison flys-artifacts/doc/conf/meta-data.xml @ 1185:c5f494a9749d

Added a DEM section to the floodmap section in the datacage configuration. flys-artifacts/trunk@2780 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 16 Sep 2011 13:26:08 +0000
parents dd59431d648f
children be8b5c06a1f8
comparison
equal deleted inserted replaced
1184:7552ae1061d7 1185:c5f494a9749d
231 <floodmap> 231 <floodmap>
232 <dc:choose> 232 <dc:choose>
233 <dc:when test="dc:contains($parameters, 'recommended')"> 233 <dc:when test="dc:contains($parameters, 'recommended')">
234 <dc:call-macro name="flood-map-recommended"/> 234 <dc:call-macro name="flood-map-recommended"/>
235 </dc:when> 235 </dc:when>
236 <dc:when test="dc:contains($parameters, 'dem')">
237 <dc:call-macro name="flood-map-dem"/>
238 </dc:when>
236 <dc:otherwise> 239 <dc:otherwise>
237 <dc:call-macro name="flood-map-complete"/> 240 <dc:call-macro name="flood-map-complete"/>
238 </dc:otherwise> 241 </dc:otherwise>
239 </dc:choose> 242 </dc:choose>
240 </floodmap> 243 </floodmap>
253 <dc:attribute name="factory" value="wmsbackground"/> 256 <dc:attribute name="factory" value="wmsbackground"/>
254 <dc:attribute name="ids" value="${river_id}"/> 257 <dc:attribute name="ids" value="${river_id}"/>
255 </background> 258 </background>
256 </rastermap> 259 </rastermap>
257 </dc:macro> 260 </dc:macro>
261 <dc:macro name="flood-map-dem">
262 <dems>
263 <dc:context>
264 <dc:statement>
265 SELECT id AS dem_id,
266 lower AS dem_lower,
267 upper AS dem_upper
268 FROM dem WHERE river_id = ${river_id}
269 </dc:statement>
270 <dc:elements>
271 <dem>
272 <dc:attribute name="name" value="${dem_lower} - ${dem_upper}"/>
273 <dc:attribute name="db-id" value="${dem_id}"/>
274 </dem>
275 </dc:elements>
276 </dc:context>
277 </dems>
278 </dc:macro>
258 <dc:macro name="flood-map-complete"> 279 <dc:macro name="flood-map-complete">
259 <kilometrage> 280 <kilometrage>
260 <riveraxis> 281 <riveraxis>
261 <dc:attribute name="factory" value="riveraxis"/> 282 <dc:attribute name="factory" value="riveraxis"/>
262 <dc:attribute name="ids" value="${river_id}"/> 283 <dc:attribute name="ids" value="${river_id}"/>
266 <background> 287 <background>
267 <dc:attribute name="factory" value="wmsbackground"/> 288 <dc:attribute name="factory" value="wmsbackground"/>
268 <dc:attribute name="ids" value="${river_id}"/> 289 <dc:attribute name="ids" value="${river_id}"/>
269 </background> 290 </background>
270 </rastermap> 291 </rastermap>
292 <dc:call-macro name="flood-map-dem"/>
271 </dc:macro> 293 </dc:macro>
272 </dc:if> 294 </dc:if>
273 </river> 295 </river>
274 </dc:elements> 296 </dc:elements>
275 </dc:context> 297 </dc:context>

http://dive4elements.wald.intevation.org