[Qgis-user] Cannot add cloud optimised GeoTIFF (COG) as raster layer

Julien Cabieces julien.cabieces at oslandia.com
Fri Apr 16 02:42:27 PDT 2021


Hi,

It works for me with current QGIS master if I paste this exact url in URI with HTTP/HTTPS/FTP
type : http://latuviitta.kapsi.fi/data/dem10m/dem10.tif

Did you not add the /vsicurl in URI field ?

Else it's indeed an issue with your proxy settings. Could you try
somewhere there is no proxy, see if it works ? 

Kind regards,
Julien

> Hi,
>
> I have a DEM file http://latuviitta.kapsi.fi/data/dem10m/dem10.tif on my server. GDAL can access it fine through /vsicurl/ as can be verified with
> gdalinfo /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
>
> However, I cannot add this URI as a raster layer by using a protocol like in the tutorial https://www.cogeo.org/qgis-tutorial.html. The error message is:
> CRITICAL    Invalid Layer : GDAL provider Cannot open GDAL dataset /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif:
>              Raster layer Provider is not valid (provider: gdal, URI: /vsicurl/http://latuviitta.kapsi.fi/data/dem10m/dem10.tif
>
> I had the debugging tools open during my trials and it seems that QGIS did not send any HTTP request. I am behind a proxy but I can access WMS and WMTS services so my network settings seem to be right. The vrt file workaround did not work either. What should I try next?
>
> I am using QGIS 3.18.1 from OSGeo4W.
>
> -Jukka Rahkonen-
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list