Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/doc/conf/queries.properties @ 765:f28a7eac542a
Integrated valid ODV-Export to the GNV-Artifacts
gnv-artifacts/trunk@821 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 23 Mar 2010 14:09:03 +0000 |
parents | b3f922908a31 |
children | cee3a0c22bb1 |
comparison
equal
deleted
inserted
replaced
764:afc639e55261 | 765:f28a7eac542a |
---|---|
103 (M.ZLOCATION *-1) DEPTH, \ | 103 (M.ZLOCATION *-1) DEPTH, \ |
104 TSV.TIMEVALUE, \ | 104 TSV.TIMEVALUE, \ |
105 TSV.DATAVALUE, \ | 105 TSV.DATAVALUE, \ |
106 TS.PARAMETERID PARAMETER, \ | 106 TS.PARAMETERID PARAMETER, \ |
107 TSV.MEASUREMENTID, \ | 107 TSV.MEASUREMENTID, \ |
108 TSV.TIMESERIESID \ | 108 TSV.TIMESERIESID, \ |
109 '1' QF \ | |
109 FROM MEDIAN.TIMESERIESPOINT, \ | 110 FROM MEDIAN.TIMESERIESPOINT, \ |
110 MEDIAN.TIMESERIESVALUE TSV, \ | 111 MEDIAN.TIMESERIESVALUE TSV, \ |
111 MEDIAN.TIMESERIES TS, \ | 112 MEDIAN.TIMESERIES TS, \ |
112 MEDIAN.MEASUREMENT M, \ | 113 MEDIAN.MEASUREMENT M, \ |
113 MEDIAN.SOURCEINFO SI \ | 114 MEDIAN.SOURCEINFO SI \ |
117 TSV.TIMESERIESID = TS.TIMESERIESID AND \ | 118 TSV.TIMESERIESID = TS.TIMESERIESID AND \ |
118 TS.PARAMETERID IN ( ? ) AND \ | 119 TS.PARAMETERID IN ( ? ) AND \ |
119 TSV.MEASUREMENTID IN ( ? ) AND \ | 120 TSV.MEASUREMENTID IN ( ? ) AND \ |
120 TSV.TIMEVALUE >= ? AND \ | 121 TSV.TIMEVALUE >= ? AND \ |
121 TSV.TIMEVALUE <= ? \ | 122 TSV.TIMEVALUE <= ? \ |
122 ORDER BY TSV.MEASUREMENTID, \ | 123 ORDER BY TS.PARAMETERID, \ |
124 TSV.MEASUREMENTID, \ | |
123 TSV.TIMESERIESID, \ | 125 TSV.TIMESERIESID, \ |
124 TS.PARAMETERID, \ | |
125 TSV.TIMEVALUE | 126 TSV.TIMEVALUE |
127 | |
126 | 128 |
127 ############################################# | 129 ############################################# |
128 ############################################# | 130 ############################################# |
129 ########## Zeitserie Mesh ############## | 131 ########## Zeitserie Mesh ############## |
130 ############################################# | 132 ############################################# |
209 ST_ASTEXT(SHAPE), \ | 211 ST_ASTEXT(SHAPE), \ |
210 0 BOTDEPTH, \ | 212 0 BOTDEPTH, \ |
211 (((ML.UPPERZLOCATION + ML.LOWERZLOCATION) / 2)*-1) DEPTH, \ | 213 (((ML.UPPERZLOCATION + ML.LOWERZLOCATION) / 2)*-1) DEPTH, \ |
212 msv.TIMEVALUE, \ | 214 msv.TIMEVALUE, \ |
213 msv.DATAVALUE, \ | 215 msv.DATAVALUE, \ |
214 msv.PARAMETERID PARAMETER \ | 216 msv.PARAMETERID PARAMETER, \ |
217 '1' QF \ | |
215 from MEDIAN.MESHSCALARVALUE msv, \ | 218 from MEDIAN.MESHSCALARVALUE msv, \ |
216 MEDIAN.MESHPOINT, \ | 219 MEDIAN.MESHPOINT, \ |
217 MEDIAN.MESH m, \ | 220 MEDIAN.MESH m, \ |
218 MEDIAN.SOURCEINFO SI, \ | 221 MEDIAN.SOURCEINFO SI, \ |
219 MEDIAN.MESHLAYER ML \ | 222 MEDIAN.MESHLAYER ML \ |
228 MEDIAN.MESHPOINT.FEATUREID in ( ? ) AND \ | 231 MEDIAN.MESHPOINT.FEATUREID in ( ? ) AND \ |
229 msv.TIMEVALUE >= ? AND \ | 232 msv.TIMEVALUE >= ? AND \ |
230 msv.TIMEVALUE <= ? \ | 233 msv.TIMEVALUE <= ? \ |
231 order by MEDIAN.MESHPOINT.FEATUREID, \ | 234 order by MEDIAN.MESHPOINT.FEATUREID, \ |
232 msv.FEATUREID, \ | 235 msv.FEATUREID, \ |
233 msv.PARAMETERID, \ | 236 msv.TIMEVALUE, \ |
234 msv.TIMEVALUE | 237 msv.PARAMETERID |
235 | 238 |
236 | 239 |
237 ############################################# | 240 ############################################# |
238 ############################################# | 241 ############################################# |
239 ########## Vertikalprofil ############## | 242 ########## Vertikalprofil ############## |
330 (M.ZLOCATION *-1) DEPTH, \ | 333 (M.ZLOCATION *-1) DEPTH, \ |
331 TSV.TIMEVALUE, \ | 334 TSV.TIMEVALUE, \ |
332 TSV.DATAVALUE, \ | 335 TSV.DATAVALUE, \ |
333 TS.PARAMETERID PARAMETER, \ | 336 TS.PARAMETERID PARAMETER, \ |
334 TSV.MEASUREMENTID, \ | 337 TSV.MEASUREMENTID, \ |
335 TSV.TIMESERIESID \ | 338 TSV.TIMESERIESID, \ |
339 '1' QF \ | |
336 FROM MEDIAN.TIMESERIESPOINT, \ | 340 FROM MEDIAN.TIMESERIESPOINT, \ |
337 MEDIAN.TIMESERIESVALUE TSV, \ | 341 MEDIAN.TIMESERIESVALUE TSV, \ |
338 MEDIAN.TIMESERIES TS, \ | 342 MEDIAN.TIMESERIES TS, \ |
339 MEDIAN.MEASUREMENT M, \ | 343 MEDIAN.MEASUREMENT M, \ |
340 MEDIAN.SOURCEINFO SI \ | 344 MEDIAN.SOURCEINFO SI \ |
347 TSV.TIMEVALUE IN (?) AND \ | 351 TSV.TIMEVALUE IN (?) AND \ |
348 M.ZLOCATION >= ? AND \ | 352 M.ZLOCATION >= ? AND \ |
349 M.ZLOCATION <= ? \ | 353 M.ZLOCATION <= ? \ |
350 ORDER BY TSV.MEASUREMENTID, \ | 354 ORDER BY TSV.MEASUREMENTID, \ |
351 TSV.TIMESERIESID, \ | 355 TSV.TIMESERIESID, \ |
352 TS.PARAMETERID, \ | 356 TSV.TIMEVALUE, \ |
353 TSV.TIMEVALUE | 357 TS.PARAMETERID |
358 | |
354 | 359 |
355 ############################################# | 360 ############################################# |
356 ############################################# | 361 ############################################# |
357 ########## Vertikalprofil Mesh ############## | 362 ########## Vertikalprofil Mesh ############## |
358 ############################################# | 363 ############################################# |
502 ST_ASTEXT(SHAPE), \ | 507 ST_ASTEXT(SHAPE), \ |
503 0 BOTDEPTH, \ | 508 0 BOTDEPTH, \ |
504 (((ML.UPPERZLOCATION + ML.LOWERZLOCATION) / 2)*-1) DEPTH, \ | 509 (((ML.UPPERZLOCATION + ML.LOWERZLOCATION) / 2)*-1) DEPTH, \ |
505 msv.DATAVALUE, \ | 510 msv.DATAVALUE, \ |
506 msv.PARAMETERID PARAMETER, \ | 511 msv.PARAMETERID PARAMETER, \ |
507 msv.TIMEVALUE \ | 512 msv.TIMEVALUE , \ |
513 '1' QF \ | |
508 from MEDIAN.MESHLAYER ml, \ | 514 from MEDIAN.MESHLAYER ml, \ |
509 MEDIAN.MESHPOINT, \ | 515 MEDIAN.MESHPOINT, \ |
510 MEDIAN.MESH m, \ | 516 MEDIAN.MESH m, \ |
511 MEDIAN.MESHSCALARVALUE msv, \ | 517 MEDIAN.MESHSCALARVALUE msv, \ |
512 MEDIAN.SOURCEINFO SI \ | 518 MEDIAN.SOURCEINFO SI \ |
528 mp.MESHID = m.MESHID AND \ | 534 mp.MESHID = m.MESHID AND \ |
529 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) and \ | 535 IPOSITION = (select IPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?) and \ |
530 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?)) AND \ | 536 JPOSITION = (select JPOSITION from MEDIAN.MESHPOINT where FEATUREID = ?)) AND \ |
531 MEDIAN.MESHPOINT.KPOSITION <= ? AND \ | 537 MEDIAN.MESHPOINT.KPOSITION <= ? AND \ |
532 MEDIAN.MESHPOINT.KPOSITION >= ? \ | 538 MEDIAN.MESHPOINT.KPOSITION >= ? \ |
533 order by msv.PARAMETERID, \ | 539 order by msv.TIMEVALUE, \ |
534 msv.TIMEVALUE, \ | 540 ml.UPPERZLOCATION, \ |
535 ml.UPPERZLOCATION | 541 msv.PARAMETERID |
536 | 542 |
537 ############################################# | 543 ############################################# |
538 ############################################# | 544 ############################################# |
539 ##### Vertikalprofil InstantaneousPoint ##### | 545 ##### Vertikalprofil InstantaneousPoint ##### |
540 ############################################# | 546 ############################################# |
635 ST_ASTEXT(SHAPE), \ | 641 ST_ASTEXT(SHAPE), \ |
636 0 BOTDEPTH, \ | 642 0 BOTDEPTH, \ |
637 (M.ZLOCATION * -1) DEPTH, \ | 643 (M.ZLOCATION * -1) DEPTH, \ |
638 MSV.DATAVALUE, \ | 644 MSV.DATAVALUE, \ |
639 MSV.PARAMETERID PARAMETER, \ | 645 MSV.PARAMETERID PARAMETER, \ |
640 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE \ | 646 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE , \ |
647 '1' QF \ | |
641 FROM MEDIAN.SERIES S, \ | 648 FROM MEDIAN.SERIES S, \ |
642 MEDIAN.INSTANTANEOUSPOINT, \ | 649 MEDIAN.INSTANTANEOUSPOINT, \ |
643 MEDIAN.MEASUREMENT M, \ | 650 MEDIAN.MEASUREMENT M, \ |
644 MEDIAN.MEASUREDSCALARVALUE MSV \ | 651 MEDIAN.MEASUREDSCALARVALUE MSV \ |
645 WHERE S.SERIESID = MEDIAN.INSTANTANEOUSPOINT.SERIESID AND \ | 652 WHERE S.SERIESID = MEDIAN.INSTANTANEOUSPOINT.SERIESID AND \ |
648 MEDIAN.INSTANTANEOUSPOINT.FEATUREID = ? AND \ | 655 MEDIAN.INSTANTANEOUSPOINT.FEATUREID = ? AND \ |
649 MSV.PARAMETERID in (?) AND \ | 656 MSV.PARAMETERID in (?) AND \ |
650 M.ZLOCATION >= ? AND \ | 657 M.ZLOCATION >= ? AND \ |
651 M.ZLOCATION <= ? \ | 658 M.ZLOCATION <= ? \ |
652 ORDER BY MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE, \ | 659 ORDER BY MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE, \ |
653 MSV.PARAMETERID, \ | 660 M.ZLOCATION, \ |
654 M.ZLOCATION | 661 MSV.PARAMETERID |
655 | 662 |
656 ############################################# | 663 ############################################# |
657 ############################################# | 664 ############################################# |
658 #### Horizontalprofil InstantaneousPoint #### | 665 #### Horizontalprofil InstantaneousPoint #### |
659 ############################################# | 666 ############################################# |
882 0 BOTDEPTH, \ | 889 0 BOTDEPTH, \ |
883 (M.ZLOCATION * -1) DEPTH, \ | 890 (M.ZLOCATION * -1) DEPTH, \ |
884 ST_ASTEXT(SHAPE), \ | 891 ST_ASTEXT(SHAPE), \ |
885 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE, \ | 892 MEDIAN.INSTANTANEOUSPOINT.TIMEVALUE, \ |
886 MSV.DATAVALUE, \ | 893 MSV.DATAVALUE, \ |
887 MSV.PARAMETERID PARAMETER \ | 894 MSV.PARAMETERID PARAMETER , \ |
895 '1' QF \ | |
888 FROM MEDIAN.INSTANTANEOUSPOINT, \ | 896 FROM MEDIAN.INSTANTANEOUSPOINT, \ |
889 MEDIAN.VEHICLE V, \ | 897 MEDIAN.VEHICLE V, \ |
890 MEDIAN.CRUISE C, \ | 898 MEDIAN.CRUISE C, \ |
891 (SELECT TRACKID,CRUISEID FROM MEDIAN.TRACK) T, \ | 899 (SELECT TRACKID,CRUISEID FROM MEDIAN.TRACK) T, \ |
892 MEDIAN.SURVEYINFO S, \ | 900 MEDIAN.SURVEYINFO S, \ |
971 (((ML.UPPERZLOCATION + ML.LOWERZLOCATION) / 2)*-1) DEPTH, \ | 979 (((ML.UPPERZLOCATION + ML.LOWERZLOCATION) / 2)*-1) DEPTH, \ |
972 msv.DATAVALUE, \ | 980 msv.DATAVALUE, \ |
973 msv.PARAMETERID PARAMETER, \ | 981 msv.PARAMETERID PARAMETER, \ |
974 msv.TIMEVALUE, \ | 982 msv.TIMEVALUE, \ |
975 MEDIAN.MESHPOINT.JPOSITION, \ | 983 MEDIAN.MESHPOINT.JPOSITION, \ |
976 MEDIAN.MESHPOINT.IPOSITION \ | 984 MEDIAN.MESHPOINT.IPOSITION , \ |
985 '1' QF \ | |
977 from MEDIAN.MESHLAYER ml, \ | 986 from MEDIAN.MESHLAYER ml, \ |
978 MEDIAN.MESHPOINT, \ | 987 MEDIAN.MESHPOINT, \ |
979 MEDIAN.MESH m, \ | 988 MEDIAN.MESH m, \ |
980 MEDIAN.MESHSCALARVALUE msv, \ | 989 MEDIAN.MESHSCALARVALUE msv, \ |
981 MEDIAN.SOURCEINFO SI \ | 990 MEDIAN.SOURCEINFO SI \ |
997 mp.MESHID = m.MESHID AND \ | 1006 mp.MESHID = m.MESHID AND \ |
998 KPOSITION in ( ? ) and \ | 1007 KPOSITION in ( ? ) and \ |
999 ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ | 1008 ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ |
1000 order by msv.TIMEVALUE, \ | 1009 order by msv.TIMEVALUE, \ |
1001 MEDIAN.MESHPOINT.KPOSITION, \ | 1010 MEDIAN.MESHPOINT.KPOSITION, \ |
1002 msv.PARAMETERID, \ | |
1003 MEDIAN.MESHPOINT.JPOSITION, \ | 1011 MEDIAN.MESHPOINT.JPOSITION, \ |
1004 MEDIAN.MESHPOINT.IPOSITION | 1012 MEDIAN.MESHPOINT.IPOSITION, \ |
1013 msv.PARAMETERID | |
1005 | 1014 |
1006 ############################################# | 1015 ############################################# |
1007 ############################################# | 1016 ############################################# |
1008 ########### Horizontalprofil MESH ########### | 1017 ########### Horizontalprofil MESH ########### |
1009 ########### Schnittprofil ########### | 1018 ########### Schnittprofil ########### |
1134 MSV.DATAVALUE, \ | 1143 MSV.DATAVALUE, \ |
1135 MSV.PARAMETERID PARAMETER, \ | 1144 MSV.PARAMETERID PARAMETER, \ |
1136 MEDIAN.MESHPOINT.JPOSITION, \ | 1145 MEDIAN.MESHPOINT.JPOSITION, \ |
1137 MEDIAN.MESHPOINT.IPOSITION, \ | 1146 MEDIAN.MESHPOINT.IPOSITION, \ |
1138 MEDIAN.MESHPOINT.KPOSITION, \ | 1147 MEDIAN.MESHPOINT.KPOSITION, \ |
1139 2 DATAID \ | 1148 2 DATAID , \ |
1149 '1' QF \ | |
1140 from MEDIAN.MESHLAYER ml, \ | 1150 from MEDIAN.MESHLAYER ml, \ |
1141 MEDIAN.MESHPOINT, \ | 1151 MEDIAN.MESHPOINT, \ |
1142 MEDIAN.MESH m, \ | 1152 MEDIAN.MESH m, \ |
1143 MEDIAN.SOURCEINFO SI, \ | 1153 MEDIAN.SOURCEINFO SI, \ |
1144 MEDIAN.MESHSCALARVALUE msv \ | 1154 MEDIAN.MESHSCALARVALUE msv \ |
1158 MEDIAN.MESH m \ | 1168 MEDIAN.MESH m \ |
1159 where m.OBJECTID = ? AND \ | 1169 where m.OBJECTID = ? AND \ |
1160 mp.MESHID = m.MESHID AND \ | 1170 mp.MESHID = m.MESHID AND \ |
1161 ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ | 1171 ? = (select ? from MEDIAN.MESHPOINT where FEATUREID = ?)) \ |
1162 order by msv.TIMEVALUE, \ | 1172 order by msv.TIMEVALUE, \ |
1163 msv.PARAMETERID, \ | |
1164 MEDIAN.MESHPOINT.JPOSITION, \ | 1173 MEDIAN.MESHPOINT.JPOSITION, \ |
1165 MEDIAN.MESHPOINT.IPOSITION, \ | 1174 MEDIAN.MESHPOINT.IPOSITION, \ |
1166 MEDIAN.MESHPOINT.KPOSITION | 1175 MEDIAN.MESHPOINT.KPOSITION, \ |
1176 msv.PARAMETERID | |
1167 | 1177 |
1168 ############################################# | 1178 ############################################# |
1169 ############################################# | 1179 ############################################# |
1170 ########## Horizontalschnitt MESH ########### | 1180 ########## Horizontalschnitt MESH ########### |
1171 ############################################# | 1181 ############################################# |
1254 MSV.PARAMETERID = ? AND \ | 1264 MSV.PARAMETERID = ? AND \ |
1255 MSV.TIMEVALUE = ? AND \ | 1265 MSV.TIMEVALUE = ? AND \ |
1256 M.OBJECTID = ? AND \ | 1266 M.OBJECTID = ? AND \ |
1257 MEDIAN.MESHPOINT.KPOSITION = ? \ | 1267 MEDIAN.MESHPOINT.KPOSITION = ? \ |
1258 order by MEDIAN.MESHPOINT.JPOSITION, \ | 1268 order by MEDIAN.MESHPOINT.JPOSITION, \ |
1259 MEDIAN.MESHPOINT.IPOSITION | 1269 MEDIAN.MESHPOINT.IPOSITION, \ |
1270 MSV.PARAMETERID | |
1260 | 1271 |
1261 area_filter = SELECT DISTINCT \ | 1272 area_filter = SELECT DISTINCT \ |
1262 FEATUREID KEY ,\ | 1273 FEATUREID KEY ,\ |
1263 DESCRIPTION VALUE \ | 1274 DESCRIPTION VALUE \ |
1264 FROM MEDIAN.FEATUREAREA \ | 1275 FROM MEDIAN.FEATUREAREA \ |