changeset 3933:608e127fc0f5

Added an 'info' node to DEMs in the datacage. flys-artifacts/trunk@5633 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 28 Sep 2012 08:38:17 +0000
parents b42719ac87a8
children 33fcc786f246
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/meta-data.xml
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Fri Sep 28 05:43:59 2012 +0000
+++ b/flys-artifacts/ChangeLog	Fri Sep 28 08:38:17 2012 +0000
@@ -1,3 +1,8 @@
+2012-09-28  Ingo Weinzierl <ingo@intevation.de>
+
+	* doc/conf/meta-data.xml: Added 'info' column to the dem section of the
+	  datacage.
+
 2012-09-28	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	Work on issue724 (i18n in minfo).
--- a/flys-artifacts/doc/conf/meta-data.xml	Fri Sep 28 05:43:59 2012 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Fri Sep 28 08:38:17 2012 +0000
@@ -860,14 +860,17 @@
                     <dc:statement>
                       SELECT id    AS dem_id,
                              lower AS dem_lower,
-                             upper AS dem_upper
+                             upper AS dem_upper,
+                             name AS name,
+                             projection || ' | ' || year_from || ' - ' || year_to AS info
                       FROM dem WHERE river_id = ${river_id}
                     </dc:statement>
                     <dc:elements>
                         <dem>
                           <dc:attribute name="factory" value="demfactory"/>
                           <dc:attribute name="ids" value="${dem_id}"/>
-                          <dc:attribute name="description" value="${dem_lower}-${dem_upper}"/>
+                          <dc:attribute name="name" value="${name}"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </dem>
                     </dc:elements>
                   </dc:context>

http://dive4elements.wald.intevation.org