I'm using a derived subdataset dsn to try to open a STAC query:

gdalinfo "STACIT:\"
https://explorer.sandbox.dea.ga.gov.au/stac/search?bbox=122.1,-18.28,122.48,-17.91&datetime=2020-01-01/2020-02-29\
":asset=level3,collections=ga_ls_landcover_class_cyear_2"

ERROR 1: Cannot open
s3://dea-public-data/derivative/ga_ls_landcover_class_cyear_2/1-0-0/2020/x_-11/y_-20/ga_ls_landcover_class_cyear_2_1-0-0_au_x-11y-20_2020-01-01_level3.tif
to retrieve band characteristics
gdalinfo failed - unable to open 'STACIT:"
https://explorer.sandbox.dea.ga.gov.au/stac/search?bbox=122.1,-18.28,122.48,-17.91&datetime=2020-01-01/2020-02-29
":asset=level3,collections=ga_ls_landcover_class_cyear_2'.

Am I doing something wrong with the STAC approach?  Similar tasks are
working well with Microsoft Planetary Computer (but I'm generally out of my
depth with STAC itself).

The .tif itself seems fine via the /vsis3/ syntax

gdalinfo
/vsis3/dea-public-data/derivative/ga_ls_landcover_class_cyear_2/1-0-0/2020/x_-11/y_-20/ga_ls_landcover_class_cyear_2_1-0-0_au_x-11y-20_2020-01-01_level3.tif


I've put the calls here in case email problems with the strings:
https://gist.github.com/mdsumner/90f5b509c5cb32bc0f1a26c695baa0bf

I'm using gdal dev GDAL 3.8.0dev-bba8edfc13, released 2023/08/01 (debug
build)

Thanks, Mike


-- 
Michael Sumner
Software and Database Engineer
Australian Antarctic Division
Hobart, Australia
e-mail: mdsum...@gmail.com
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to