...
No Format |
---|
SELECT * from TimeSeriesgraphs WHERE filterId = 'ImportSHEF' AND (parameterId = 'FMAT' OR parameterId = 'FMAT2' OR parameterId = 'FMAT3') AND (locationId = 'DETO3IL' OR locationId = 'DETO3IL2' OR locationId = 'DETO3IL3') AND time BETWEEN '2008-12-19 12:00:00' AND '2008-12-23 12:00:00' AND height = 100 AND width = 150 |
As from 201001 it is possible to optionally specify the time zone for the resulting graph; time clauses in the query remain to be specified in GMT.
Example of a graph query which will plot the data in GMT-1:
No Format |
---|
SELECT *
FROM TimeSeriesgraphs
WHERE filterId = 'Ott_ruw'
AND parameterId = 'H.diepte'
AND (locationId = '10.H.59' OR locationId = '15.H.20')
AND time BETWEEN '2008-05-01 00:00:00' AND '2008-05-01 10:00:00'
AND height = 500 AND width = 750 AND timezone='GMT-1';
|
Example code
Here follows some example code of how client applications can set up a connection to a JDBC server hosted by a FEWS OC.
...