[gdal-dev] Building GDAL with autoconf for Android on Windows

2023-03-30 Thread Andrew Patterson
Hello! We've been using a custom CMakeLists.txt for years to build a subset of GDAL for Android but I'm attempting to move us to building it properly. Unfortunately, we can't move to 3.5+ quite yet (I'm hoping soon) so I'm stuck with autoconf. I was happily surprised at how quickly I passed throug

[gdal-dev] Data corruption when using OpenFileGDB writing and SetFeature()

2023-03-30 Thread Even Rouault
Hi, just to notify that we have had recently a few reports of users using the write side of the OpenFileGDB driver, and SetFeature() to update existing features. This proved to cause data corruptions in some situations, sometimes with an error message on re-reading or when regenerating the s

Re: [gdal-dev] Cannot find proj.db

2023-03-30 Thread Thomas Knudsen
Elena, If your environment variables are set exactly as you write: > PROJ_LIB= “D:\MDT\V9\bin\gdal\gdal_latest\share” > PROJ_DATA= “D:\MDT\V9\bin\gdal\gdal_latest\share” you should leave out the apostrophes and the extra space after the equals sign, i.e. set PROJ_LIB=D:\MDT\V9\bin\gdal\gdal_lat

Re: [gdal-dev] Cannot find proj.db

2023-03-30 Thread Chris Smemoe via gdal-dev
Elena, I have had this same problem. We have a few methods of setting the location of the proj.db file. When we call from C++ (or from python), there’s a function called OSRSetPROJSearchPaths that’s handy. If you’re calling from a command line, you could try setting your environment variable

[gdal-dev] Cannot find proj.db

2023-03-30 Thread Elena Ruiz
Hello, I am using GDAL 3.6.2 on Windows 11 and am having problems with the following error: ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db I have set as environment variable PROJ_LIB= "D:\MDT\V9\bin\gdal\gdal_latest\share" and PROJ_DATA= "D:\MDT\V9\bin\gdal\gdal_latest\share",