Mercurial > dive4elements > gnv-client
annotate gnv-artifacts/doc/conf/queries.properties @ 237:56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
gnv-artifacts/trunk@305 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 09 Nov 2009 13:11:33 +0000 |
parents | 3d6d89bcbf42 |
children | 76897b73db4e |
rev | line source |
---|---|
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
1 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
2 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
3 ########## Zeitserie ############## |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
4 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
5 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
6 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
7 timeseries_timeseriespoint=SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
8 tsp.FEATUREID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
9 tsp.NAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
10 FROM MEDIAN.TIMESERIESPOINT tsp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
11 MEDIAN.MEASUREMENT mmt \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
12 WHERE tsp.FEATUREID = mmt.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
13 mmt.SOURCEID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
14 order by tsp.name |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
15 |
224
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
16 timeseries_timeseriespoint_with_area=SELECT \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
17 MEDIAN.TIMESERIESPOINT.FEATUREID KEY, \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
18 MEDIAN.TIMESERIESPOINT.NAME VALUE \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
19 FROM MEDIAN.TIMESERIESPOINT, \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
20 MEDIAN.MEASUREMENT MMT \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
21 WHERE MEDIAN.TIMESERIESPOINT.FEATUREID = MMT.FEATUREID AND \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
22 MMT.SOURCEID = ? AND \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
23 INTERSECTS(SHAPE, \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
24 (SELECT st_astext(SHAPE) \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
25 FROM MEDIAN.FEATUREAREA \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
26 WHERE (FEATURETYPE = 7 OR FEATURETYPE = 8) AND \ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
27 FEATURECODE = ? )\ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
28 )\ |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
29 ORDER BY MEDIAN.TIMESERIESPOINT.NAME |
2b7a40b5b535
Added the RegionFilters into the configuration of the Products for TimeSeriesPoints.
Tim Englich <tim.englich@intevation.de>
parents:
223
diff
changeset
|
30 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
31 timeseries_parameter=SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
32 p.PARAMETERID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
33 p.GERMANNAME VALUE \ |
209
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
34 FROM MEDIAN.PARAMETER P, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
35 MEDIAN.TIMESERIES TS, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
36 MEDIAN.TIMESERIESVALUE TSV, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
37 MEDIAN.MEASUREMENT M, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
38 MEDIAN.TIMESERIESPOINT TSP \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
39 WHERE M.FEATUREID = TSP.FEATUREID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
40 M.MEASUREMENTID = TSV.MEASUREMENTID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
41 TS.TIMESERIESID = TSV.TIMESERIESID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
42 P.PARAMETERID = TS.PARAMETERID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
43 TSP.FEATUREID = ? \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
44 ORDER BY P.GERMANNAME |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
45 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
46 timeseries_depth_height=SELECT DISTINCT \ |
209
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
47 M.MEASUREMENTID KEY, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
48 M.ZLOCATION VALUE \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
49 FROM MEDIAN.MEASUREMENT M, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
50 MEDIAN.TIMESERIESVALUE TSV, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
51 MEDIAN.TIMESERIES T, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
52 MEDIAN.PARAMETER P \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
53 WHERE M.MEASUREMENTID = TSV.MEASUREMENTID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
54 TSV.TIMESERIESID = T.TIMESERIESID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
55 T.PARAMETERID = P.PARAMETERID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
56 M.FEATUREID = ? AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
57 P.PARAMETERID IN (?)\ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
58 ORDER BY m.ZLOCATION DESC |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
59 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
60 timeseries_interval=select min(tv.TIMEVALUE) MIN, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
61 max(tv.TIMEVALUE) MAX \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
62 from MEDIAN.TIMESERIES t , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
63 MEDIAN.TIMESERIESVALUE tv \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
64 where tv.TIMESERIESID = t.TIMESERIESID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
65 t.PARAMETERID IN ( ? ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
66 tv.MEASUREMENTID IN ( ? ) |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
67 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
68 timeseries_chart_data=SELECT tv.TIMEVALUE XORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
69 tv.DATAVALUE YORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
70 t.PARAMETERID GROUP1, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
71 tv.MEASUREMENTID GROUP2, \ |
217
3dcd2b0b456e
Added configurable TimeGap Support to the TimeSeries-Chart-Generation. issu45
Tim Englich <tim.englich@intevation.de>
parents:
216
diff
changeset
|
72 tv.TIMESERIESID GROUP3, \ |
3dcd2b0b456e
Added configurable TimeGap Support to the TimeSeries-Chart-Generation. issu45
Tim Englich <tim.englich@intevation.de>
parents:
216
diff
changeset
|
73 t.TIMEINTERVAL GAPID \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
74 FROM MEDIAN.TIMESERIESVALUE tv, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
75 MEDIAN.TIMESERIES t \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
76 WHERE tv.TIMESERIESID = t.TIMESERIESID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
77 t.PARAMETERID IN ( ? ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
78 tv.MEASUREMENTID IN ( ? ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
79 tv.TIMEVALUE >= ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
80 tv.TIMEVALUE <= ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
81 ORDER BY tv.MEASUREMENTID , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
82 tv.TIMESERIESID , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
83 t.PARAMETERID , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
84 tv.TIMEVALUE |
232
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
85 |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
86 timeseries_odv_data = SELECT SI.NAME CRUISE, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
87 MEDIAN.TIMESERIESPOINT.NAME STATION, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
88 '*' TYPE, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
89 ST_ASTEXT(SHAPE), \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
90 0 BOTDEPTH, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
91 (M.ZLOCATION *-1) DEPTH, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
92 TSV.TIMEVALUE, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
93 TSV.DATAVALUE, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
94 TS.PARAMETERID PARAMETER, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
95 TSV.MEASUREMENTID, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
96 TSV.TIMESERIESID \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
97 FROM MEDIAN.TIMESERIESPOINT , \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
98 MEDIAN.TIMESERIESVALUE TSV, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
99 MEDIAN.TIMESERIES TS, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
100 MEDIAN.MEASUREMENT M, \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
101 MEDIAN.SOURCEINFO SI \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
102 WHERE SI.SOURCEID = M.SOURCEID AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
103 M.FEATUREID = MEDIAN.TIMESERIESPOINT.FEATUREID AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
104 M.MEASUREMENTID = TSV.MEASUREMENTID AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
105 TSV.TIMESERIESID = TS.TIMESERIESID AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
106 TS.PARAMETERID IN ( ? ) AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
107 TSV.MEASUREMENTID IN ( ? ) AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
108 TSV.TIMEVALUE >= ? AND \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
109 TSV.TIMEVALUE <= ? \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
110 ORDER BY TSV.MEASUREMENTID , \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
111 TSV.TIMESERIESID , \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
112 TS.PARAMETERID , \ |
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
113 TSV.TIMEVALUE |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
114 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
115 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
116 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
117 ########## Zeitserie Mesh ############## |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
118 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
119 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
120 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
121 timeseries_mesh = SELECT OBJECTID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
122 m.NAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
123 FROM MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
124 WHERE SOURCEID IN (?) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
125 ORDER BY m.NAME |
209
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
126 timeseries_meshpoint = SELECT MEDIAN.MESHPOINT.FEATUREID, \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
127 ST_ASTEXT(SHAPE) \ |
209
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
128 FROM MEDIAN.MESHPOINT, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
129 MEDIAN.MESH M \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
130 WHERE MEDIAN.MESHPOINT.MESHID = M.MESHID AND \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
131 KPOSITION = 1 AND \ |
209
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
132 M.OBJECTID = ? AND \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
133 INTERSECTS(SHAPE,"?") |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
134 |
209
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
135 timeseries_meshpoint_depth = SELECT MP.FEATUREID KEY, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
136 'Layer ' || ML.KPOSITION || ': ' || -ML.UPPERZLOCATION || ' - '|| -ML.LOWERZLOCATION VALUE \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
137 from MEDIAN.MESHLAYER ML, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
138 MEDIAN.MESHPOINT MP, \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
139 MEDIAN.MESH M \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
140 WHERE ML.KPOSITION = MP.KPOSITION AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
141 ML.MESHID = MP.MESHID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
142 M.OBJECTID = ? AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
143 MP.MESHID = M.MESHID AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
144 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) AND \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
145 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) \ |
d5cef9f17525
gnv-artifacts/trunk@265 c6561f87-3c4e-4783-a992-168aeb5c3f6f
Tim Englich <tim.englich@intevation.de>
parents:
206
diff
changeset
|
146 ORDER BY ML.UPPERZLOCATION DESC |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
147 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
148 timeseries_mesh_parameter=SELECT distinct \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
149 p.PARAMETERID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
150 p.GERMANNAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
151 from MEDIAN.PARAMETER p, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
152 MEDIAN.MESHSCALARVALUE msc, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
153 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
154 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
155 msc.PARTID = m.PARTIDMIN AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
156 msc.PARAMETERID = p.PARAMETERID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
157 order by p.GERMANNAME |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
158 timeseries_mesh_interval=select /*+ parallel(TIMEVALUE,5) */ \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
159 min(TIMEVALUE) MIN, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
160 max(TIMEVALUE) MAX \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
161 from MEDIAN.MESHSCALARVALUE msc , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
162 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
163 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
164 msc.PARTID >= m.PARTIDMIN AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
165 msc.PARTID <= m.PARTIDMAX AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
166 msc.PARAMETERID IN (?) |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
167 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
168 timeseries_mesh_chart_data=select /*+ parallel(timevalue,10) */ \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
169 msv.TIMEVALUE XORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
170 msv.DATAVALUE YORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
171 msv.PARAMETERID GROUP1, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
172 msv.FEATUREID GROUP2, \ |
217
3dcd2b0b456e
Added configurable TimeGap Support to the TimeSeries-Chart-Generation. issu45
Tim Englich <tim.englich@intevation.de>
parents:
216
diff
changeset
|
173 mp.FEATUREID GROUP3, \ |
3dcd2b0b456e
Added configurable TimeGap Support to the TimeSeries-Chart-Generation. issu45
Tim Englich <tim.englich@intevation.de>
parents:
216
diff
changeset
|
174 -1 GAPID \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
175 from MEDIAN.MESHSCALARVALUE msv , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
176 MEDIAN.MESHPOINT mp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
177 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
178 where (m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
179 msv.PARTID >= m.PARTIDMIN AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
180 msv.PARTID <= m.PARTIDMAX ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
181 msv.FEATUREID in ( ? ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
182 msv.PARAMETERID in ( ? ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
183 mp.FEATUREID in ( ? ) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
184 msv.TIMEVALUE >= ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
185 msv.TIMEVALUE <= ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
186 order by mp.FEATUREID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
187 msv.FEATUREID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
188 msv.PARAMETERID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
189 msv.TIMEVALUE |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
190 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
191 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
192 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
193 ########## Vertikalprofil ############## |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
194 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
195 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
196 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
197 verticalprofile_point=SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
198 tsp.FEATUREID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
199 tsp.NAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
200 FROM MEDIAN.TIMESERIESPOINT tsp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
201 MEDIAN.MEASUREMENT mmt \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
202 WHERE tsp.FEATUREID = mmt.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
203 mmt.SOURCEID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
204 order by tsp.name |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
205 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
206 verticalprofile_parameter=SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
207 p.PARAMETERID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
208 p.GERMANNAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
209 from MEDIAN.PARAMETER p, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
210 MEDIAN.TIMESERIES ts, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
211 MEDIAN.TIMESERIESVALUE tsv, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
212 MEDIAN.MEASUREMENT m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
213 where ts.PARAMETERID = p.PARAMETERID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
214 ts.TIMESERIESID = tsv.TIMESERIESID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
215 m.MEASUREMENTID = tsv.MEASUREMENTID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
216 m.FEATUREID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
217 ORDER BY p.GERMANNAME |
211
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
218 |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
219 verticalprofile_minmaxdepth= SELECT min(M.ZLOCATION) MIN, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
220 max(M.ZLOCATION) MAX \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
221 FROM MEDIAN.MEASUREMENT M, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
222 MEDIAN.TIMESERIES TS, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
223 MEDIAN.TIMESERIESVALUE TSV \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
224 WHERE TS.TIMESERIESID = TSV.TIMESERIESID and \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
225 M.MEASUREMENTID = TSV.MEASUREMENTID and \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
226 M.FEATUREID = ? and \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
227 TS.PARAMETERID IN ( ? ) |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
228 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
229 verticalprofile_date=select distinct \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
230 tsv.TIMEVALUE KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
231 tsv.TIMEVALUE VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
232 from MEDIAN.TIMESERIES ts , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
233 MEDIAN.TIMESERIESVALUE tsv, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
234 MEDIAN.MEASUREMENT m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
235 where ts.TIMESERIESID = tsv.TIMESERIESID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
236 m.MEASUREMENTID = tsv.MEASUREMENTID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
237 m.FEATUREID = ? and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
238 ts.PARAMETERID IN ( ? ) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
239 order by tsv.TIMEVALUE |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
240 |
211
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
241 verticalprofile_chart_data= SELECT M.ZLOCATION XORDINATE, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
242 TSV.DATAVALUE YORDINATE, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
243 TS.PARAMETERID GROUP1, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
244 TSV.TIMEVALUE GROUP2, \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
245 1 GROUP3 \ |
211
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
246 from MEDIAN.TIMESERIES TS, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
247 MEDIAN.TIMESERIESVALUE TSV, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
248 MEDIAN.MEASUREMENT M \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
249 where TS.TIMESERIESID = TSV.TIMESERIESID AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
250 M.MEASUREMENTID = TSV.MEASUREMENTID AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
251 M.FEATUREID = ? AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
252 TS.PARAMETERID IN ( ? ) AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
253 TSV.TIMEVALUE IN (?) AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
254 M.ZLOCATION >= ? AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
255 M.ZLOCATION <= ? \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
256 ORDER BY TSV.TIMEVALUE , \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
257 TSV.TIMESERIESID , \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
258 TS.PARAMETERID , \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
259 TSV.TIMEVALUE |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
260 |
237
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
261 verticalprofile_odv_data = SELECT SI.NAME CRUISE, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
262 MEDIAN.TIMESERIESPOINT.NAME STATION, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
263 '*' TYPE, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
264 ST_ASTEXT(SHAPE), \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
265 0 BOTDEPTH, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
266 (M.ZLOCATION *-1) DEPTH, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
267 TSV.TIMEVALUE, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
268 TSV.DATAVALUE, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
269 TS.PARAMETERID PARAMETER, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
270 TSV.MEASUREMENTID, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
271 TSV.TIMESERIESID \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
272 FROM MEDIAN.TIMESERIESPOINT , \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
273 MEDIAN.TIMESERIESVALUE TSV, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
274 MEDIAN.TIMESERIES TS, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
275 MEDIAN.MEASUREMENT M, \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
276 MEDIAN.SOURCEINFO SI \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
277 WHERE SI.SOURCEID = M.SOURCEID AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
278 M.FEATUREID = MEDIAN.TIMESERIESPOINT.FEATUREID AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
279 M.MEASUREMENTID = TSV.MEASUREMENTID AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
280 TSV.TIMESERIESID = TS.TIMESERIESID AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
281 M.FEATUREID = ? AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
282 TS.PARAMETERID IN ( ? ) AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
283 TSV.TIMEVALUE IN (?) AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
284 M.ZLOCATION >= ? AND \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
285 M.ZLOCATION <= ? \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
286 ORDER BY TSV.MEASUREMENTID , \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
287 TSV.TIMESERIESID , \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
288 TS.PARAMETERID , \ |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
289 TSV.TIMEVALUE |
56dcedc4a96c
Added SQL-Statement for ODV-Exports on Verticalprofiles TimeSeriesPoints
Tim Englich <tim.englich@intevation.de>
parents:
232
diff
changeset
|
290 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
291 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
292 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
293 ########## Vertikalprofil Mesh ############## |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
294 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
295 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
296 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
297 verticalprofile_mesh = SELECT OBJECTID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
298 m.NAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
299 FROM MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
300 WHERE SOURCEID IN (?) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
301 order by m.NAME |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
302 |
223
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
303 verticalprofile_mesh_with_area = SELECT M.OBJECTID KEY, \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
304 M.NAME VALUE \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
305 FROM MEDIAN.MESHPOINT, \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
306 MEDIAN.MESH M \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
307 WHERE M.SOURCEID IN (?) AND \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
308 M.MESHID = MEDIAN.MESHPOINT.MESHID AND \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
309 INTERSECTS(SHAPE, \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
310 (SELECT st_astext(SHAPE) \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
311 FROM MEDIAN.FEATUREAREA \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
312 WHERE (FEATURETYPE = 7 OR FEATURETYPE = 8) AND \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
313 FEATURECODE = ? )\ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
314 ) \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
315 order by M.NAME |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
316 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
317 verticalprofile_mesh_point = SELECT FEATUREID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
318 ST_ASTEXT(SHAPE) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
319 FROM MEDIAN.MESHPOINT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
320 WHERE MESHID in \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
321 (SELECT DISTINCT MESHID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
322 FROM MEDIAN.MESH \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
323 WHERE OBJECTID = ?) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
324 KPOSITION = 1 AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
325 INTERSECTS(SHAPE,"?") |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
326 |
213
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
327 verticalprofile_mesh_mindepth = SELECT MP.KPOSITION KEY, \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
328 'Layer ' || ML.KPOSITION || ': ' || -ML.UPPERZLOCATION || ' - '|| -ML.LOWERZLOCATION VALUE \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
329 from MEDIAN.MESHLAYER ML, \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
330 MEDIAN.MESHPOINT MP, \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
331 MEDIAN.MESH M \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
332 WHERE ML.KPOSITION = MP.KPOSITION AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
333 ML.MESHID = MP.MESHID AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
334 M.OBJECTID = ? AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
335 MP.MESHID = M.MESHID AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
336 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
337 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
338 ORDER BY ML.UPPERZLOCATION DESC |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
339 |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
340 verticalprofile_mesh_maxdepth = SELECT MP.KPOSITION KEY, \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
341 'Layer ' || ML.KPOSITION || ': ' || -ML.UPPERZLOCATION || ' - '|| -ML.LOWERZLOCATION VALUE \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
342 from MEDIAN.MESHLAYER ML, \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
343 MEDIAN.MESHPOINT MP, \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
344 MEDIAN.MESH M \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
345 WHERE ML.KPOSITION = MP.KPOSITION AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
346 ML.MESHID = MP.MESHID AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
347 M.OBJECTID = ? AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
348 MP.MESHID = M.MESHID AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
349 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
350 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
351 MP.KPOSITION < ? \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
352 ORDER BY ML.UPPERZLOCATION DESC |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
353 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
354 verticalprofile_mesh_parameter=SELECT distinct \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
355 p.PARAMETERID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
356 p.GERMANNAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
357 from MEDIAN.PARAMETER p, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
358 MEDIAN.MESHSCALARVALUE msc, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
359 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
360 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
361 m.PARTIDMIN = msc.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
362 msc.PARAMETERID = p.PARAMETERID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
363 order by p.GERMANNAME |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
364 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
365 verticalprofile_mesh_date= select distinct \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
366 msv.TIMEVALUE KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
367 msv.TIMEVALUE VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
368 from MEDIAN.MESHSCALARVALUE msv , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
369 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
370 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
371 msv.PARTID >= m.PARTIDMIN AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
372 msv.PARTID <= m.PARTIDMAX AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
373 msv.PARAMETERID in (?) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
374 order by msv.TIMEVALUE |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
375 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
376 verticalprofile_mesh_chart_data=select ml.UPPERZLOCATION XORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
377 msv.DATAVALUE YORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
378 msv.PARAMETERID GROUP1, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
379 msv.TIMEVALUE GROUP2, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
380 1 GROUP3 \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
381 from MEDIAN.MESHLAYER ml, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
382 MEDIAN.MESHPOINT mp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
383 MEDIAN.MESH m, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
384 MEDIAN.MESHSCALARVALUE msv \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
385 where msv.FEATUREID = mp. FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
386 ml.KPOSITION = mp.KPOSITION and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
387 ml.MESHID = mp.MESHID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
388 m.MESHID = mp.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
389 m.PARTIDMIN <= msv.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
390 m.PARTIDMAX >= msv.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
391 msv.PARAMETERID in (?) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
392 msv.TIMEVALUE in (?) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
393 m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
394 mp.FEATUREID in \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
395 ( select FEATUREID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
396 from MEDIAN.MESHPOINT mp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
397 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
398 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
399 mp.MESHID = m.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
400 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) and \ |
213
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
401 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?)) AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
402 mp.KPOSITION <= ? AND \ |
c0a798299efc
Integration of the selection of the min and max Layer used in Verticalprofiles of Meshes. issue61
Tim Englich <tim.englich@intevation.de>
parents:
211
diff
changeset
|
403 mp.KPOSITION >= ? \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
404 order by msv.PARAMETERID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
405 msv.TIMEVALUE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
406 ml.UPPERZLOCATION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
407 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
408 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
409 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
410 ##### Vertikalprofil InstantaneousPoint ##### |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
411 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
412 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
413 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
414 verticalprofile_instantaneouspoint_series = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
415 S.SERIESID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
416 S.DESCRIPTION VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
417 FROM MEDIAN.SERIES S, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
418 MEDIAN.INSTANTANEOUSPOINT I, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
419 MEDIAN.MEASUREMENT M \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
420 WHERE S.SERIESID = I.SERIESID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
421 I.POINTSPEC = 4 AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
422 I.FEATUREID = M.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
423 M.SOURCEID= ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
424 ORDER BY S.DESCRIPTION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
425 |
205
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
426 verticalprofile_instantaneouspoint_point = SELECT \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
427 MEDIAN.INSTANTANEOUSPOINT.FEATUREID, \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
428 to_char(MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE,'DD.MM.YYYY HH24:MI') VALUE, \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
429 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE, \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
430 ST_ASTEXT(SHAPE) \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
431 FROM MEDIAN.INSTANTANEOUSPOINT, \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
432 MEDIAN.MEASUREMENT M \ |
205
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
433 WHERE MEDIAN.INSTANTANEOUSPOINT.SERIESID = ? AND \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
434 MEDIAN.INSTANTANEOUSPOINT.POINTSPEC = 4 AND \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
435 MEDIAN.INSTANTANEOUSPOINT.FEATUREID = M.FEATUREID AND \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
436 M.SOURCEID = ? \ |
205
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
437 ORDER BY MEDIAN.INSTANTANEOUSPOINT.FEATUREID, \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
438 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
439 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
440 verticalprofile_instantaneouspoint_parameter = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
441 P.PARAMETERID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
442 P.GERMANNAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
443 FROM MEDIAN.PARAMETER P, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
444 MEDIAN.INSTANTANEOUSPOINT IP, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
445 MEDIAN.MEASUREMENT M, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
446 MEDIAN.MEASUREDSCALARVALUE MSV \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
447 WHERE IP.FEATUREID = M.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
448 M.MEASUREMENTID = MSV.MEASUREMENTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
449 MSV.PARAMETERID = P.PARAMETERID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
450 IP.FEATUREID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
451 ORDER BY P.GERMANNAME |
211
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
452 |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
453 verticalprofile_instantaneouspoint_minmaxdepth = SELECT min(M.ZLOCATION) MIN, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
454 max(M.ZLOCATION) MAX \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
455 FROM MEDIAN.INSTANTANEOUSPOINT IP, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
456 MEDIAN.MEASUREMENT M, \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
457 MEDIAN.MEASUREDSCALARVALUE MSV \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
458 WHERE IP.FEATUREID = M.FEATUREID AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
459 M.MEASUREMENTID = MSV.MEASUREMENTID AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
460 IP.FEATUREID = ? AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
461 MSV.PARAMETERID in (?) |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
462 |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
463 verticalprofile_instantaneouspoint_chart_data = SELECT M.ZLOCATION XORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
464 MSV.DATAVALUE YORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
465 MSV.PARAMETERID GROUP1, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
466 IP.TIMEVALUE GROUP2, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
467 1 GROUP3 \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
468 FROM MEDIAN.INSTANTANEOUSPOINT IP, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
469 MEDIAN.MEASUREMENT M, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
470 MEDIAN.MEASUREDSCALARVALUE MSV \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
471 WHERE IP.FEATUREID = M.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
472 M.MEASUREMENTID = MSV.MEASUREMENTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
473 IP.FEATUREID = ? AND \ |
211
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
474 MSV.PARAMETERID in (?) AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
475 M.ZLOCATION >= ? AND \ |
310874d3573f
Minimum and Maximum Depth should be entered by the User issue31
Tim Englich <tim.englich@intevation.de>
parents:
209
diff
changeset
|
476 M.ZLOCATION <= ? \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
477 ORDER BY IP.TIMEVALUE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
478 MSV.PARAMETERID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
479 M.ZLOCATION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
480 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
481 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
482 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
483 #### Horizontalprofil InstantaneousPoint #### |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
484 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
485 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
486 horizontalprofile_instantaneouspoint_vehicle = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
487 V.VEHICLEID KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
488 V.NAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
489 FROM MEDIAN.VEHICLE V, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
490 MEDIAN.CRUISE C, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
491 MEDIAN.TRACK T, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
492 MEDIAN.SURVEYINFO S, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
493 MEDIAN.INSTANTANEOUSPOINT I, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
494 MEDIAN.MEASUREMENT M \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
495 WHERE V.VEHICLEID = C.VEHICLEID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
496 C.CRUISEID = T.CRUISEID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
497 T.TRACKID = S.TRACKID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
498 S.SURVEYID = I.SURVEYID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
499 I.FEATUREID = M.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
500 M.SOURCEID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
501 ORDER BY V.NAME |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
502 horizontalprofile_instantaneouspoint_cruise = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
503 C.CRUISEID KEY , \ |
206
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
504 V.NAME || ' ' || \ |
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
505 C.NAME || ' ' || \ |
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
506 TO_CHAR(C.STARTDATE,'DD.MM.YYYY') || ' - ' || \ |
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
507 TO_CHAR(C.ENDDATE,'DD.MM.YYYY') VALUE , \ |
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
508 V.NAME , \ |
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
509 C.NAME \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
510 FROM MEDIAN.CRUISE C, \ |
206
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
511 MEDIAN.VEHICLE V, \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
512 MEDIAN.TRACK T, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
513 MEDIAN.SURVEYINFO S, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
514 MEDIAN.INSTANTANEOUSPOINT I, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
515 MEDIAN.MEASUREMENT M \ |
206
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
516 WHERE C.VEHICLEID = V.VEHICLEID AND \ |
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
517 C.CRUISEID = T.CRUISEID AND \ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
518 T.TRACKID = S.TRACKID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
519 S.SURVEYID = I.SURVEYID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
520 I.FEATUREID = M.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
521 C.VEHICLEID = ? AND \ |
205
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
522 M.SOURCEID = ? \ |
206
01ac348ac4a4
Optimized Query horizontalprofile_instantaneouspoint_cruise because it is not warranted
Tim Englich <tim.englich@intevation.de>
parents:
205
diff
changeset
|
523 ORDER BY V.NAME, C.NAME |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
524 horizontalprofile_instantaneouspoint_track= SELECT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
525 T.TRACKID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
526 to_char(T.STARTDATE,'DD.MM.YYYY HH24:MI') || ' - '|| to_char(T.ENDDATE,'DD.MM.YYYY HH24:MI') || ' - '|| T.NAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
527 FROM MEDIAN.TRACK T \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
528 WHERE T.CRUISEID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
529 ORDER BY T.STARTDATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
530 T.ENDDATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
531 T.NAME |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
532 horizontalprofile_instantaneouspoint_surveyinfo = SELECT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
533 SURVEYID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
534 to_char(STARTDATE,'DD.MM.YYYY HH24:MI') || ' - '|| to_char(ENDDATE,'DD.MM.YYYY HH24:MI') || ' - '|| DESCRIPTION VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
535 FROM MEDIAN.SURVEYINFO \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
536 WHERE TRACKID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
537 ORDER BY STARTDATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
538 ENDDATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
539 DESCRIPTION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
540 horizontalprofile_instantaneouspoint_parameter = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
541 P.PARAMETERID KEY , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
542 P.GERMANNAME VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
543 FROM MEDIAN.PARAMETER P , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
544 MEDIAN.MEASUREMENT M , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
545 MEDIAN.INSTANTANEOUSPOINT IP , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
546 MEDIAN.MEASUREDSCALARVALUE MSV \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
547 WHERE P.PARAMETERID = MSV.PARAMETERID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
548 MSV.MEASUREMENTID = M.MEASUREMENTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
549 M.FEATUREID = IP.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
550 IP.SURVEYID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
551 ORDER BY P.GERMANNAME |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
552 horizontalprofile_instantaneouspoint_depth = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
553 M.ZLOCATION KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
554 M.ZLOCATION VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
555 FROM MEDIAN.MEASUREMENT M , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
556 MEDIAN.INSTANTANEOUSPOINT IP \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
557 WHERE M.FEATUREID = IP.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
558 IP.SURVEYID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
559 ORDER BY M.ZLOCATION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
560 horizontalprofile_instantaneouspoint_chart_data = SELECT ST_ASTEXT(SHAPE) , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
561 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE TIME , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
562 MSV.DATAVALUE YORDINATE , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
563 MSV.PARAMETERID GROUP1 , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
564 ZLOCATION GROUP2 , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
565 1 GROUP3 \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
566 FROM MEDIAN.INSTANTANEOUSPOINT, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
567 MEDIAN.MEASUREMENT M, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
568 MEDIAN.MEASUREDSCALARVALUE MSV \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
569 WHERE MEDIAN.INSTANTANEOUSPOINT.FEATUREID = M.FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
570 M.MEASUREMENTID = MSV.MEASUREMENTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
571 MEDIAN.INSTANTANEOUSPOINT.SURVEYID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
572 M.ZLOCATION IN (?) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
573 MSV.PARAMETERID in (?) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
574 ORDER BY MSV.PARAMETERID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
575 M.ZLOCATION, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
576 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
577 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
578 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
579 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
580 ########### Horizontalprofil MESH ########### |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
581 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
582 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
583 horizontalprofile_meshpoint_depth = SELECT DISTINCT \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
584 mp.KPOSITION KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
585 'Layer ' || ml.KPOSITION || ': ' || -ml.UPPERZLOCATION || ' - '|| -ml.LOWERZLOCATION VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
586 from MEDIAN.MESHLAYER ml, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
587 MEDIAN.MESHPOINT mp \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
588 where ml.KPOSITION = mp.KPOSITION and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
589 ml.MESHID = mp.MESHID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
590 mp.FEATUREID in \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
591 ( select FEATUREID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
592 from MEDIAN.MESHPOINT mp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
593 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
594 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
595 mp.MESHID = m.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
596 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
597 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?)) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
598 order by mp.KPOSITION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
599 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
600 horizontalprofile_mesh_chart_data = SELECT ST_ASTEXT(SHAPE), \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
601 msv.DATAVALUE YORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
602 msv.PARAMETERID GROUP1, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
603 MEDIAN.MESHPOINT.KPOSITION GROUP2, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
604 msv.TIMEVALUE GROUP3, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
605 MEDIAN.MESHPOINT.JPOSITION , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
606 MEDIAN.MESHPOINT.IPOSITION \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
607 from MEDIAN.MESHLAYER ml, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
608 MEDIAN.MESHPOINT , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
609 MEDIAN.MESH m, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
610 MEDIAN.MESHSCALARVALUE msv \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
611 where msv.FEATUREID = MEDIAN.MESHPOINT. FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
612 ml.KPOSITION = MEDIAN.MESHPOINT.KPOSITION and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
613 ml.MESHID = MEDIAN.MESHPOINT.MESHID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
614 m.MESHID = MEDIAN.MESHPOINT.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
615 m.PARTIDMIN <= msv.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
616 m.PARTIDMAX >= msv.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
617 msv.PARAMETERID in (?) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
618 msv.TIMEVALUE in (?) AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
619 m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
620 MEDIAN.MESHPOINT.FEATUREID in \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
621 ( select FEATUREID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
622 from MEDIAN.MESHPOINT mp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
623 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
624 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
625 mp.MESHID = m.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
626 KPOSITION in ( ? ) and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
627 ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
628 order by msv.TIMEVALUE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
629 MEDIAN.MESHPOINT.KPOSITION, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
630 msv.PARAMETERID, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
631 MEDIAN.MESHPOINT.JPOSITION , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
632 MEDIAN.MESHPOINT.IPOSITION |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
633 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
634 |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
635 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
636 ############################################# |
216
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
637 ############# Profilschnitt MESH ############ |
199
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
638 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
639 ############################################# |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
640 verticalcrosssection_mesh_date = select distinct \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
641 msv.TIMEVALUE KEY, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
642 msv.TIMEVALUE VALUE \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
643 from MEDIAN.MESHSCALARVALUE msv , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
644 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
645 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
646 msv.PARTID >= m.PARTIDMIN AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
647 msv.PARTID <= m.PARTIDMAX AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
648 msv.PARAMETERID = ? \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
649 order by msv.TIMEVALUE |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
650 verticalcrosssection_mesh_chart_data = SELECT ST_ASTEXT(SHAPE), \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
651 msv.DATAVALUE YORDINATE, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
652 msv.PARAMETERID GROUP1, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
653 msv.TIMEVALUE GROUP2, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
654 MEDIAN.MESHPOINT.JPOSITION, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
655 MEDIAN.MESHPOINT.IPOSITION, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
656 MEDIAN.MESHPOINT.KPOSITION \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
657 from MEDIAN.MESHLAYER ml, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
658 MEDIAN.MESHPOINT , \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
659 MEDIAN.MESH m, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
660 MEDIAN.MESHSCALARVALUE msv \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
661 where msv.FEATUREID = MEDIAN.MESHPOINT. FEATUREID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
662 ml.KPOSITION = MEDIAN.MESHPOINT.KPOSITION and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
663 ml.MESHID = MEDIAN.MESHPOINT.MESHID and \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
664 m.MESHID = MEDIAN.MESHPOINT.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
665 m.PARTIDMIN <= msv.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
666 m.PARTIDMAX >= msv.PARTID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
667 msv.PARAMETERID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
668 msv.TIMEVALUE = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
669 m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
670 MEDIAN.MESHPOINT.FEATUREID in \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
671 ( select FEATUREID \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
672 from MEDIAN.MESHPOINT mp, \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
673 MEDIAN.MESH m \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
674 where m.OBJECTID = ? AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
675 mp.MESHID = m.MESHID AND \ |
b66e8a6f3907
Moved Configurationfiles
Tim Englich <tim.englich@intevation.de>
parents:
diff
changeset
|
676 ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ |
205
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
677 order by msv.TIMEVALUE, \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
678 msv.PARAMETERID, \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
679 MEDIAN.MESHPOINT.JPOSITION , \ |
6e7952fd1744
Added the support to Display the Time and the position of an Measurement in an VerticalProfile of Type Instantaneous Point
Tim Englich <tim.englich@intevation.de>
parents:
199
diff
changeset
|
680 MEDIAN.MESHPOINT.IPOSITION, \ |
216
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
681 MEDIAN.MESHPOINT.KPOSITION |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
682 |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
683 ############################################# |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
684 ############################################# |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
685 ########## Horizontalschnitt MESH ########### |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
686 ############################################# |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
687 ############################################# |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
688 horizontalcrosssection_meshpoint_depth = SELECT DISTINCT MP.KPOSITION KEY, \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
689 'Layer ' || ML.KPOSITION || ': ' || -ML.UPPERZLOCATION || ' - '|| -ML.LOWERZLOCATION VALUE \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
690 from MEDIAN.MESHLAYER ML, \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
691 MEDIAN.MESHPOINT MP, \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
692 MEDIAN.MESH M \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
693 WHERE ML.KPOSITION = MP.KPOSITION AND \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
694 ML.MESHID = MP.MESHID AND \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
695 M.OBJECTID = ? AND \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
696 MP.MESHID = M.MESHID \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
697 ORDER BY MP.KPOSITION |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
698 |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
699 horizontalcrosssection_mesh_date = select distinct \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
700 msv.TIMEVALUE KEY, \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
701 msv.TIMEVALUE VALUE \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
702 from MEDIAN.MESHSCALARVALUE msv , \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
703 MEDIAN.MESH m \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
704 where m.OBJECTID = ? AND \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
705 msv.PARTID >= m.PARTIDMIN AND \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
706 msv.PARTID <= m.PARTIDMAX AND \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
707 msv.PARAMETERID = ? \ |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
708 order by msv.TIMEVALUE |
9db263ee2678
Added Workflow for determining the Query-Parameters for Horizontal cross-sections.
Tim Englich <tim.englich@intevation.de>
parents:
213
diff
changeset
|
709 |
218
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
710 horizontalcrosssection_mesh_data = SELECT ST_ASTEXT(SHAPE), \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
711 MSV.DATAVALUE YORDINATE, \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
712 MEDIAN.MESHFACE.JPOSITION, \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
713 MEDIAN.MESHFACE.IPOSITION, \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
714 MEDIAN.MESHFACE.KPOSITION \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
715 from MEDIAN.MESHLAYER ML, \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
716 MEDIAN.MESHFACE, \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
717 MEDIAN.MESH M, \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
718 MEDIAN.MESHSCALARVALUE MSV \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
719 where MSV.FEATUREID = MEDIAN.MESHFACE.FEATUREID AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
720 ML.KPOSITION = MEDIAN.MESHFACE.KPOSITION and \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
721 ML.MESHID = MEDIAN.MESHFACE.MESHID and \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
722 M.MESHID = MEDIAN.MESHFACE.MESHID AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
723 M.PARTIDMIN <= MSV.PARTID AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
724 M.PARTIDMAX >= MSV.PARTID AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
725 MSV.PARAMETERID = ? AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
726 MSV.TIMEVALUE = ? AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
727 M.OBJECTID = ? AND \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
728 MEDIAN.MESHFACE.KPOSITION = ? \ |
926530bda1a7
Integrated the OutputTransition for Horizontal Cross-Sections
Tim Englich <tim.englich@intevation.de>
parents:
217
diff
changeset
|
729 order by MEDIAN.MESHFACE.JPOSITION , \ |
223
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
730 MEDIAN.MESHFACE.IPOSITION |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
731 |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
732 |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
733 area_filter = SELECT DISTINCT \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
734 FEATUREID KEY ,\ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
735 DESCRIPTION VALUE \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
736 FROM MEDIAN.FEATUREAREA \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
737 WHERE (FEATURETYPE = 7 OR FEATURETYPE = 8) AND \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
738 FEATUREID > 0 \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
739 ORDER BY FEATUREID |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
740 |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
741 subarea_filter = SELECT \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
742 FEATURECODE KEY, \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
743 NAME VALUE \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
744 FROM MEDIAN.FEATUREAREA \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
745 WHERE (FEATURETYPE = 7 OR FEATURETYPE = 8) AND \ |
05663e307495
Added the RegionFilters into the configuration of the Products for Meshes.
Tim Englich <tim.englich@intevation.de>
parents:
218
diff
changeset
|
746 FEATUREID = ? \ |
232
3d6d89bcbf42
Added special Data-Selection to the ODV-Exports of TimeSeries on TimeSeriesPoints. issue68
Tim Englich <tim.englich@intevation.de>
parents:
224
diff
changeset
|
747 ORDER BY NAME |