[gdal-dev] Opening STACIT failure if there is any connection error to one file

Even Rouault even.rouault at spatialys.com
Tue Feb 11 05:58:35 PST 2025


Hi Michael,

please file an issue about that

Even

Le 11/02/2025 à 14:42, Michael Smith via gdal-dev a écrit :
>
> When opening a stac json file of multiple tiles, I’ll occasionally get 
> a random error on one of the tiles like (probably due to government 
> network issues).
>
> RuntimeError at /stac/featcollections/158703/items/vrt
>
> Cannot open 
> /vsicurl/https://grid.nga.mil/grid/api/file/stream/random_file_reference.tif?access_token=xxxxxxto 
> retrieve band characteristics
>
> And the whole stac feature collection read fails, rather than just the 
> one tile that fails to read. Is there any way to not have the whole 
> read fail and just ignore the one tile failure as an option (or retry)?
>
> Mike
>
> -- 
>
> Michael Smith
>
> Remote Sensing/GIS Center
>
> US Army Corps of Engineers
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250211/1ed7edaa/attachment-0001.htm>


More information about the gdal-dev mailing list