diff gnv-artifacts/doc/conf/queries.properties @ 325:3eff9241ea1e

Refactoring of the Transitionmodel. Now each Transition is responsible to allocate the Data which is required to describe or feed it. gnv-artifacts/trunk@390 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 01 Dec 2009 15:58:02 +0000
parents 251f16a083f8
children 1b9ca0f2d498
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/queries.properties	Mon Nov 30 15:08:47 2009 +0000
+++ b/gnv-artifacts/doc/conf/queries.properties	Tue Dec 01 15:58:02 2009 +0000
@@ -493,6 +493,24 @@
           M.SOURCEID= ? \
     ORDER BY S.DESCRIPTION
     
+verticalprofile_instantaneouspoint_series_with_area = SELECT \
+        S.SERIESID KEY, \
+        S.DESCRIPTION VALUE \
+    FROM MEDIAN.INSTANTANEOUSPOINT, \
+         MEDIAN.SERIES S, \
+         MEDIAN.MEASUREMENT M \
+    WHERE S.SERIESID = MEDIAN.INSTANTANEOUSPOINT.SERIESID AND \
+          MEDIAN.INSTANTANEOUSPOINT.POINTSPEC = 4 AND \
+          MEDIAN.INSTANTANEOUSPOINT.FEATUREID = M.FEATUREID AND \
+          M.SOURCEID= ? AND \
+          INTERSECTS(SHAPE, \
+                     (SELECT st_astext(SHAPE) \
+                      FROM MEDIAN.FEATUREAREA \
+                      WHERE (FEATURETYPE = 7 OR FEATURETYPE = 8) AND \
+                             FEATURECODE = ? )\
+                     ) \
+    ORDER BY S.DESCRIPTION
+    
 verticalprofile_instantaneouspoint_point = SELECT \
         MEDIAN.INSTANTANEOUSPOINT.FEATUREID, \
         to_char(MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE,'DD.MM.YYYY HH24:MI') VALUE, \

http://dive4elements.wald.intevation.org