[gdal-dev] Writing geotiff with /vsigs in Python does not work

Even Rouault even.rouault at spatialys.com
Fri Jul 20 03:01:37 PDT 2018


Christoph,

> Do I have to do things in a different order or way for this to work?

/vsigs/ implementation (and other cloud virtual file systems) only supports 
sequential writing, but in the general case, writing a GeoTIFF file requires 
random writing capabilities, particularly for compressed datasets.
See the "streaming operations" paragraph of http://gdal.org/frmt_gtiff.html
So you have to create a on-disk file first and then copy it to the bucket.

Even


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list