Closed tomkralidis closed 2 months ago
We've been doing datetime filters using CQL like:
The equivalent queries using the datetime
parameter would be:
Ah i see....
{ "code":"InvalidParameterValue", "description":"Configured times should be RFC3339" }
The requested URL was rejected. Please consult with your administrator.
. I am guessing there is something before pygeoapi that is returning this error (likely the ../
in the URL)Configured times should be RFC3339
errorFYI @david-i-berry has a fix and will test/issue a PR in the next few days (thanks Dave).
Description The PostgreSQL provider does not handle
datetime_
inputs as part of itsquery
function (even though we advertise support for same in docs).Steps to Reproduce Assuming a PostgreSQL time enabled resource in pygeoapi config, execute an OGC API - Features items query with
.../items?datetime=t1
Expected behavior datetime support should be handled accordingly in the PostgreSQL provider.
Screenshots/Tracebacks If applicable, add screenshots to help explain your problem.
Environment
Additional context Thanks to @david-i-berry for reporting.
cc @KoalaGeo