Re: [gdal-dev] Thread safety of RasterIO

2020-10-03 Thread Even Rouault
Hi, > I am trying to add an async interface to node-gdal (the Node.js bindings > for GDAL) and I can't find any official statement on the library's > thread safety. The default for standard C/C++ libraries: you can't use any object/handle concurrently from multiple threads, unless it is explici

[gdal-dev] Thread safety of RasterIO

2020-10-03 Thread Momtchil Momtchev
Hello, I am trying to add an async interface to node-gdal (the Node.js bindings for GDAL) and I can't find any official statement on the library's thread safety. There is an old FAQ on the trac server which states that one should not access the same GDALDataset from multiple threads but it

Re: [gdal-dev] rasterize in gdal_alg.h

2020-10-03 Thread Even Rouault
On vendredi 2 octobre 2020 18:55:22 CEST Pieter Kempeneers wrote: > I was using GDALRasterizeLayersBuf from gdal_alg.h from the C++ API (on > Linux, version lilbgdal-dev 2.4.0). In the documentation for the different > rasterize functions, it is stated that: > > "The output raster may be of any GD