[Dive4elements-commits] [PATCH 1 of 3] Update dem info string
Wald Commits
scm-commit at wald.intevation.org
Wed Apr 10 10:30:34 CEST 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1365529179 -7200
# Node ID a8cc4ebdd0bb40d0f9c28b54921afbbcd68346fd
# Parent c0ff14d03f1ff1cfd3f0132c402930721ac334ff
Update dem info string
diff -r c0ff14d03f1f -r a8cc4ebdd0bb flys-artifacts/doc/conf/meta-data.xml
--- 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>
More information about the Dive4elements-commits
mailing list