changeset 338:c94936b1f4ba

Added the Unit of the Parameter to the Query for Parameters in TimeSeries. Now the Unit will be displaied in the Combobox and in the Diagramm-Axis-Description. gnv-artifacts/trunk@404 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 08 Dec 2009 13:52:42 +0000
parents a887074460b6
children 02c71ea5c9c8
files gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/queries.properties
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Tue Dec 08 13:38:21 2009 +0000
+++ b/gnv-artifacts/ChangeLog	Tue Dec 08 13:52:42 2009 +0000
@@ -1,5 +1,11 @@
 2009-12-08  Tim Englich  <tim.englich@intevation.de>
 
+	* doc/conf/queries.properties: 
+	  Added the Unit of the Parameter to the Query for Parameters in 
+	  TimeSeries. Now teh Unit will be displaied in the Combobox and
+	  in the Diagramm-Axis-Description.
+	  
+2009-12-08  Tim Englich  <tim.englich@intevation.de>	
 	* src/main/java/de/intevation/gnv/transition/profile:
 	  Removed empty needless package.
 	* src/main/java/de/intevation/gnv/transition/TransitionFactory.java:
--- a/gnv-artifacts/doc/conf/queries.properties	Tue Dec 08 13:38:21 2009 +0000
+++ b/gnv-artifacts/doc/conf/queries.properties	Tue Dec 08 13:52:42 2009 +0000
@@ -30,7 +30,8 @@
 
 timeseries_parameter=SELECT DISTINCT \
         p.PARAMETERID KEY, \
-        p.GERMANNAME VALUE \
+        p.GERMANNAME || '  ['|| p.UNIT ||']' VALUE, \
+        p.GERMANNAME \
     FROM MEDIAN.PARAMETER P, \
          MEDIAN.TIMESERIES TS, \
          MEDIAN.TIMESERIESVALUE TSV, \

http://dive4elements.wald.intevation.org