developmentseed / titiler-stacapi

Connect titiler to STAC APIs
https://developmentseed.org/titiler-stacapi/
MIT License
5 stars 5 forks source link

Support cube:dimensions and overriding of colormap/expression #26

Closed jverrydt closed 1 month ago

jverrydt commented 4 months ago

For static datasets, we use the cube:dimensions STAC collection config to store the available time dimensions. So, if this time dimension is available, use this to build the capabilities document instead of start- and enddate of the collection.

Also added ability to override some titiler parameters like expression, colormap and color_formula so if you pass them as query parameters, they will have precedence on the config from STAC.

Small EPSG identifier fix in capabilities.

jverrydt commented 3 months ago

@vincentsarago When can we expect this PR to be reviewed / merged? We need this time dimension feature to proceed to an operational environment.

vincentsarago commented 3 months ago

@jverrydt the overall looks great, it would be nice to have tests written for this before we merge 🙏

jverrydt commented 3 months ago

Great, I'll have a look to add some tests by the end of this week.

jverrydt commented 2 months ago

There was some delay due to holiday period but I finally managed to add some additional tests :-)

jverrydt commented 1 month ago

When can we plan a release for this?

vincentsarago commented 1 month ago

working on this today @jverrydt