Open m-mohr opened 2 years ago
A few comments on the differences:
".."
for unbounded time interval ends to align with CQL2 JSON, which changed from null
to ".."
to align with CQL2 Text encoding. However, we could in general also switch back to null
in both JSON-FG and CQL2 JSON, if we think that would be less confusing (CQL2 JSON is also used in STAC API).OGC Code Sprint 2022-09-15:
".."
(based on ISO 8601) vs null
representation for unbounded interval ends.
null
in JSON interval arrays in the temporal extents of a Collection resource...
in the datetime query parameter since the parameter uses the ISO 8601 interval text encoding.".."
. Earlier this was null
in CQL2 JSON, but was changed to align with the CQL2 Text.null
, but changed to ".."
to align with CQL2 JSON.This should be re-discussed in the Features API SWG before finalizing CQL2. Options include:
null
in JSON. A NULL
keyword could also be added in CQL2 Text. The datetime
query parameter uses the ISO 8601 text interval encoding with /
as the separator and therefore also ..
.null
in JSON responses (Collection resource, JSON-FG), but continue to use ".."
in filters (i.e. CQL2).I like all options except "leave as is" ;-)
For informational purposes only: As STAC Items are GeoJSON it is easy to also add the JSON-FG building blocks in addition. Nevertheless, STAC also partially covers parts of JSON-FG in a different way. I'm trying to figure out what you'd add to JSON-FG to make it STAC-compliant.
time
: dates only not supported by STAC, only timestamps with date and timedate
-> n/atimestamp
->properties.datetime
interval
->properties.start_datetime
/properties.end_datetime
(not available for date only) - the".."
syntax for open-bounds may need to be translated tonull
.place
-> n/a, partially covered by the projection extension (proj:geometry
), but no additional types allowedcoordRefSys
-> projection extension (proj:epsg
,proj:wkt2
,proj:projjson
), but different encodings and no direct support for compound CRSfeatureType
-> n/a, but in STAC you'd usually have this inproperties
so that you can better search on it.