changeset 5625:a8cc4ebdd0bb

Update dem info string
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 09 Apr 2013 19:39:39 +0200
parents c0ff14d03f1f
children 6958479ec92d
files flys-artifacts/doc/conf/meta-data.xml
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/doc/conf/meta-data.xml	Tue Apr 09 19:08:27 2013 +0200
+++ b/flys-artifacts/doc/conf/meta-data.xml	Tue Apr 09 19:39:39 2013 +0200
@@ -894,14 +894,21 @@
                          r.a     AS dem_lower,
                          r.b     AS dem_upper,
                          d.name  AS name,
-                         d.projection || ' | ' || t.start_time || ' - ' || t.stop_time AS info
+                         t.start_time AS start_time,
+                         t.stop_time AS stop_time,
+                         ' Proj: ' || d.projection ||
+                         ' Rasterweite: '   || d.resolution ||
+                         ' Fmt: '  || d.format ||
+                         ' Zeit: '
+                         AS info
                          FROM dem d
                          JOIN ranges r ON d.range_id = r.id
                          LEFT JOIN time_intervals t ON d.time_interval_id = t.id
                          WHERE d.river_id = ${river_id}
                 </dc:statement>
                 <dc:for-each>
-                    <dem factory="demfactory" ids="{$dem_id}" name="{$name}" info="{$info}"/>
+                  <dem factory="demfactory" ids="{$dem_id}" name="{$name}"
+                    info="{$info}{dc:date-format('yyyy', $start_time)} - {dc:date-format('yyyy', $stop_time)}"/>
                 </dc:for-each>
               </dc:context>
             </dems>

http://dive4elements.wald.intevation.org