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

2024-04-15 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 https://gis.stackexchange.com/questions/479958/how-to-fix-failed-to-prepare-sql-e

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

2024-04-15 Thread Norman Vine via gdal-dev
If you are using numpy ReadAsArray maybe your friend > On 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 especi

Re: [gdal-dev] Printing a size_t variable on all github platforms ?

2024-04-15 Thread Even Rouault via gdal-dev
Andrew, some hints at https://stackoverflow.com/questions/44382862/how-to-printf-a-size-t-without-warning-in-mingw-w64-gcc-7-1 Otherwise an alternative is to cast to uint64_t and use PRIu64 Even Le 15/04/2024 à 19:49, Andrew C Aitchison via gdal-dev a écrit : I am trying to print a size_t

[gdal-dev] Printing a size_t variable on all github platforms ?

2024-04-15 Thread Andrew C Aitchison via gdal-dev
I am trying to print a size_t variable* with CPLDebug, but am struggling to find a format that works for all the guthub builds. The main problem is that the "build-windows-msys2-mingw" build does not support the format option %zu ../../../frmts/vrc/VRC.cpp:159:47: error: unknown conversion typ

Re: [gdal-dev] GDAL DATA PATH - test

2024-04-15 Thread Even Rouault via gdal-dev
The following fails if GDAL_DATA is incorrect:     srs = osr.SpatialReference()    srs.SetStatePlane(403, 1)  # California III NAD83. Le 15/04/2024 à 14:26, Paul Harwood via gdal-dev a écrit : I have an interesting little problem. I want to write (in the code using the API - not as a

[gdal-dev] GDAL DATA PATH - test

2024-04-15 Thread Paul Harwood via gdal-dev
I have an interesting little problem. I want to write (in the code using the API - not as a test script - actually in C#) a command that will fail if the GDAL data path is set incorrectly. I am having difficulty finding a command that will fail if the path is incorrect. I thought that some of th

[gdal-dev] 3.9 release schedule

2024-04-15 Thread Even Rouault via gdal-dev
Hi, here's the updated proposed 3.9 release schedule - Monday April 22: feature freeze, creation of release/3.9 branch and issue a 3.9.0beta1 - Monday May 6th: issue of 3.9.0rc1 Even -- http://www.spatialys.com My software is free, but my time generally not. ___

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

2024-04-15 Thread Even Rouault via gdal-dev
Hi Michael, I can't think of a better way with the current API. There has been some work in progress in https://github.com/OSGeo/gdal/pull/8222 to make VSIFile accessible as a regular Python file, but this isn't merged Even Le 15/04/2024 à 01:48, Michael Sumner via gdal-dev a écrit : Hi, I'