geopython / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
490 stars 260 forks source link

Generate+display thumbnails/overviews for coverages #1563

Closed IvanSanchez closed 3 months ago

IvanSanchez commented 7 months ago

Briefly discussed in person with with @tomkralidis, during the OGC/OSGeo/ASF codesprint in Évora.

Is your feature request related to a problem? Please describe. The goal is to improve the user experience when browsing collections containing coverages. As a user, I would like to see a preview of what the coverage contains instead of just its bounding box.

Describe the solution you'd like The proposal is to add a field to the configuration of coverages: either thumbnail or preview or overview, like e.g.:

        providers:
            - type: coverage
              name: rasterio
              data: data/stuff.tif
              thumbnail: auto

For (very) large datasets, generating a thumbnail/overview might be troublesome, and data providers might already have overview images, so it might be also possible to think of something like:

              thumbnail: data/stuff-preview.png

Additionally to the thumbnail/overview generation, it should be displayed in the collection/coverage webpages when browsing - that means a bit of Leaflet work.

Describe alternatives you've considered Assuming that the coverage is a GeoTIFF, fetching the overview (or the 0-th image in the file) is not a viable solution because of the lack of HTTP range requests.

github-actions[bot] commented 4 months ago

This Issue has been inactive for 90 days. As per RFC4, in order to manage maintenance burden, it will be automatically closed in 7 days.

github-actions[bot] commented 3 months ago

As per RFC4, this Issue has been closed due to there being no activity for more than 90 days.