Re: [gdal-dev] Potential geopackage rtree problem on MacOS ARM64

2024-04-16 Thread Even Rouault via gdal-dev
Hi, I've investigated that today, and I can quite reliably trigger a similar error with our existing tests on CI, but this is impossible to diagnose further without direct access to a machine where the error triggers (when simulating taking the the error code path on Linux, the fallback code

[gdal-dev] Potential geopackage rtree problem on MacOS ARM64

2024-04-16 Thread Rahkonen Jukka via gdal-dev
Hi, It seems that at least two MacOS ARM64 users have faced a problem with the new, faster rtree creation method so maybe it is worth having a look. Obviously a big dataset and right hardware is needed for testing

Re: [gdal-dev] advice on python style - get file/dataset as bytes

2024-04-16 Thread Norman Vine via gdal-dev
If using Numpy ReadAsArray maybe your friendOn Apr 14, 2024, at 7:48 PM, Michael Sumner via gdal-dev wrote:Hi, I'm getting some pushback on my code style. I just want the raw bytes in-memory of a file in Python, for a manageable tiny dataset. Is there anything especially wrong with the following?