I am trying to read a Cloud Optimised GeoTiff (COG) from AWS S3. I can successfully run
gdalinfo /vsis3/cog-testing/HP_COG.tif
And see the details of the file and it says Layout: COG
But if I attempt to load the same file into QGIS 3.4 using the Data Source Manager, using the AWS S3 Protocol.
But when i try I get an error
Invalid Layer: GDAL provider Cannot open GDAL dataset /vsis3/cog-testing/HP_COG.tif: `/vsis3/cog-testing/HP_COG.tif' does not exist in the file system, and is not recognized as a supported dataset name. Raster layer Provider is not valid (provider: gdal, URI: /vsis3/cog-testing/HP_COG.tif
I am wondering if it is a region problem as my files are not the in the default region.
I have also tried using the standard HTTP protocol and also get an error.
Invalid Layer: GDAL provider Cannot open GDAL dataset /vsicurl/https://cog-testing.s3-eu-west-1.amazonaws.com/HP_COG.tif: `/vsicurl/https://cog-testing.s3-eu-west-1.amazonaws.com/HP_COG.tif' does not exist in the file system, and is not recognized as a supported dataset name. Raster layer Provider is not valid (provider: gdal, URI: /vsicurl/https://cog-testing.s3-eu-west-1.amazonaws.com/HP_COG.tif
And when I try the viscurl from my command prompt I get a 403 error.
gdalinfo /vsicurl/https://cog-testing.s3-eu-west-1.amazonaws.com/HP_COG.tif
Can anyone suggest what is going wrong?