Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend temporal filtering for further time fields, e.g. valid time #179

Open
CarstenHollmann opened this issue Jul 13, 2016 · 4 comments
Open

Comments

@CarstenHollmann
Copy link

CarstenHollmann commented Jul 13, 2016

Currently the API only supports the temporal filtering for phenomenonTime.
A solution might be to add a referenceValue to the timespan query parameter, similar to the OGC SOS 2.0 KVP definition:

?timespan=validTime,2016-07-13T10:00:00Z/2016-07-13T15:00:00Z

@ridoo
Copy link
Member

ridoo commented Nov 17, 2016

Would prefer another request parameter timefilter which is set to phenomenon by default. Filtering could then performed by setting timefilter=valid ...

when having interval times (see #157) we may combine filters like this

  • timspan=PT24H/2016-07-13T15:00:00Z&timefilter=valid:overlap
  • timspan=2016-07-13T10:00:00Z/2016-07-13T15:00:00Z&timefilter=phenomenon:within

timefilter=phenomenon:within would be the default and could be ommitted to stay backwards compatible.

Thoughts?

@autermann
Copy link
Member

What about validTime=overlaps,...?

@sudhamani1983
Copy link

Is this feature available now? I am looking for same requirement to filter observation within phenomenonStartTime and phenomenonEndTime for given datetime value in filter.

@ridoo
Copy link
Member

ridoo commented Sep 6, 2017

@sudhamani1983 unfortunately not. The only way to filter temporally is via timespan parameter which checks if phenomenonTimeStart and phenomenonTimeEnd lay within the given filter value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants