Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error downloading STAC asset: Protocol "s3" is unknown (QGIS 3.40) #59401

Open
2 tasks done
robbibt opened this issue Nov 11, 2024 · 1 comment
Open
2 tasks done

Error downloading STAC asset: Protocol "s3" is unknown (QGIS 3.40) #59401

robbibt opened this issue Nov 11, 2024 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! STAC Related to SpatioTemporal Asset Catalog

Comments

@robbibt
Copy link

robbibt commented Nov 11, 2024

What is the bug or the crash?

Downloading assets from the following Digital Earth Australia STAC catalogue (https://explorer.dea.ga.gov.au/stac) on QGIS 3.40 produces the following error:
image

Steps to reproduce the issue

On QGIS 3.40:

  1. From Settings > Options > System > Environment, ensure that AWS_NO_SIGN_REQUEST=True environment variable is set (restart if necessary)

image

  1. Add "https://explorer.dea.ga.gov.au/stac" as a new STAC Connection called "DEA STAC catalogue"
  2. In the STAC browser menu, navigate to "ga_s2ls_intertidal_cyear_3" collection
  3. Right-click on the first STAC item, and click "Download assets"

image

  1. Error will appear:

image

Versions

QGIS version3.40.0-Bratislava
QGIS code revisionb56115d874
 
Libraries
Qt version5.15.13
Python version3.12.7
GDAL/OGR version3.9.3
PROJ version9.5.0
EPSG Registry database versionv11.016 (2024-08-31)
GEOS version3.13.0-CAPI-1.19.0
SQLite version3.46.1
PDAL version2.8.1
PostgreSQL client versionunknown
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 2009
 
Active Python plugins
latlontools3.6.20
mmqgis2021.9.10
Qgis2threejs2.7.3
QGISSortAndNumber-master1.0
qgis_stac1.1.2
raster_cutter0.6.1
valuetool3.0.19
MetaSearch0.3.6
processing2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

This appears to be caused by our STAC metadata providing links to our assets as S3 URIs vs https:
image

To my knowledge this is a common use case for STAC metadata pointing to data stored in AWS S3 - it would be great to allow downloads for these kinds of href links.

Example STAC metadata document:
https://explorer.dea.ga.gov.au/stac/collections/ga_s2ls_intertidal_cyear_3/items/6ef7df62-b507-494e-a3ba-e39194309972

@robbibt robbibt added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 11, 2024
@saberraz saberraz added the STAC Related to SpatioTemporal Asset Catalog label Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! STAC Related to SpatioTemporal Asset Catalog
Projects
None yet
Development

No branches or pull requests

2 participants