Re: [gdal-dev] cannot write to gdal_array

2020-03-13 Thread Even Rouault
On vendredi 13 mars 2020 16:23:27 CET Jon Morris wrote: > Thanks for the quick fix, Even! Glad it wasn't just something I'd missed. > > I'm not entirely clear on the uses for gdal_array. Are there cases where it > is better than using a MEM raster? I don't think so. It uses the MEM driver underne

Re: [gdal-dev] cannot write to gdal_array

2020-03-13 Thread Jon Morris
n Rouault Sent: 13 March 2020 15:42 To: gdal-dev@lists.osgeo.org Cc: Jon Morris Subject: Re: [gdal-dev] cannot write to gdal_array Jon, > I'm trying to upgrade from GDAL 2.2.0 to 3.0.4 and some of our tests > are failing. We're using gdal_array.OpenArray() to create temporary > d

Re: [gdal-dev] cannot write to gdal_array

2020-03-13 Thread Even Rouault
Jon, > I'm trying to upgrade from GDAL 2.2.0 to 3.0.4 and some of our tests are > failing. We're using gdal_array.OpenArray() to create temporary datasets > and all the tests where we call band.WriteArray() are failing with the > error "CPLError: Write operation not permitted on dataset opened in

[gdal-dev] cannot write to gdal_array

2020-03-13 Thread Jon Morris
Hello all, I'm trying to upgrade from GDAL 2.2.0 to 3.0.4 and some of our tests are failing. We're using gdal_array.OpenArray() to create temporary datasets and all the tests where we call band.WriteArray() are failing with the error "CPLError: Write operation not permitted on dataset opened in