m-mohr / gdc-web-editor

An interactive and easy to use web-based editor for the OpenEO API.
https://m-mohr.github.io/gdc-web-editor/
Apache License 2.0
0 stars 0 forks source link

Feature requests for OGC GDC #1

Open clausmichele opened 7 months ago

clausmichele commented 7 months ago

I put here some possible improvements that could be useful to better support OGC GDC API:

For GET /coverage

m-mohr commented 7 months ago

Support subset: currently the bbox + datetime selection is reflected in the bbox + datetime parameters. Allow to choose if the user wants to use the subset parameter instead, with the same content. datetime=loTime/hiTime&bbox=loLon,loLat,hiLon,hiLat becomes subset=Lat(loLat:hiLat),Lon(loLon:hiLon),time(["loTime":"hiTime"]) maybe a switch to select if using subset or bbox + datetime?

What's the advantage we gain? Looks like the same to me. Generally, subset seems impossible to implement in a general matter as the domainsets are not described well enough by the Coverage API. I can't detect which axis is spatial (neither do I know whether it is x or y), which axis is temporal etc.

Support f parameter to select the requested file format.

Is already supported. You need to specify mutliple coverage links with different media types to enable it. The href needs to include the f parameter. It then allows to select from them.

Optionally support other possibly useful parameters like scale, crs etc. https://m-mohr.github.io/geodatacube-api/#tag/OGC-API-Coverages/operation/describe-coverage

Good idea, but here as well. Some of them are not discoverable, so from a UI perspective it's not clear where to get the allowed values from... crs can probably be read from the crs property (do you expose that?), scale may also work with the corresponding metadata, but properties I'm not sure how that could be made available in a user-friendly way.

m-mohr commented 7 months ago

CRS is available:

grafik

Scale factor is also available.