[Dive4elements-commits] [PATCH] Fixed dem select statement in meta-data.xml

Wald Commits scm-commit at wald.intevation.org
Tue Mar 12 08:23:59 CET 2013


# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1363073035 -3600
# Node ID a75acd0d5feeb48dc8aa3dc7fcdf6532d7e95c44
# Parent  a075f26a516c88c636f0ce89c6d27c218f84e9c3
Fixed dem select statement in meta-data.xml.

diff -r a075f26a516c -r a75acd0d5fee flys-artifacts/doc/conf/meta-data.xml
--- a/flys-artifacts/doc/conf/meta-data.xml	Tue Mar 12 08:07:34 2013 +0100
+++ b/flys-artifacts/doc/conf/meta-data.xml	Tue Mar 12 08:23:55 2013 +0100
@@ -976,11 +976,11 @@
                              r.a     AS dem_lower,
                              r.b     AS dem_upper,
                              d.name  AS name,
-                             d.projection || ' | ' || t.start || ' - ' || t.stop AS info
+                             d.projection || ' | ' || t.start_time || ' - ' || t.stop_time AS info
                              FROM dem d
-                             JOIN ranges r ON d.range_id r.id
-                             JOIN time_intervals t ON d.time_interval_id t.id
-                             WHERE river_id = ${river_id}
+                             JOIN ranges r ON d.range_id = r.id
+                             JOIN time_intervals t ON d.time_interval_id = t.id
+                             WHERE d.river_id = ${river_id}
                     </dc:statement>
                     <dc:elements>
                         <dem>


More information about the Dive4elements-commits mailing list