Re: [gdal-dev] Linking issue in Windows

2025-06-02 Thread Andrew Bell via gdal-dev
Hi Daniel, Symbols that start with "__" are reserved for system libraries. It appears that you're not linking the C++ standard library or are linking with an incompatible version. GDAL requires C++17 support. On Mon, Jun 2, 2025 at 5:25 AM Daniel Perez Rodriguez via gdal-dev < gdal-dev@lists.osg

Re: [gdal-dev] [External] : Re: libgdal.so.36 refers to sqlite library with full path

2025-05-14 Thread Andrew Bell via gdal-dev
You can use patchelf or a similar program to modify dependencies. -- Andrew Bell andrew.bell...@gmail.com On Wed, May 14, 2025, 6:10 PM Fengting Chen via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Both GDAL and PROJ refer to my custom build sqlite3 library. The sqlite3 > entry in PROJ library

[gdal-dev] RFCs

2025-05-14 Thread Andrew Bell via gdal-dev
Hi, I was wondering if some of the RFCs should be placed somewhere other than on the web site because they are obsolete/superseded. I think this would make it easier to find relevant current information. Some of the RFCs are marked as superseded, but from the standpoint of a web search, the more t

[gdal-dev] OSX Dev Build

2025-05-02 Thread Andrew Bell via gdal-dev
Hi, I'm trying to get an OSX dev build going against the current master branch with test support. When I try to run the import as is being done by the CI script, I get an error. It fails when trying to resolve _CPLQuietWarningsErrorHandler, which I see is a new function. That function is contained

[gdal-dev] Search This Mailing List?

2025-05-02 Thread Andrew Bell via gdal-dev
Hi, Is there an easy way to search the archives of this mailing list? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] How can I avoid absolute path to shared libraries in libgdal.so

2025-04-30 Thread Andrew Bell via gdal-dev
Shawn, Without details on your build configuration, it's not going to be easy to figure out what's up. I wouldn't spend time looking at cmake-generated makefiles. cmake works, so if you've having issues, it's because you haven't properly told cmake where to find things in a way that generates the

Re: [gdal-dev] Improving GDAL production in our release

2025-01-06 Thread Andrew Bell via gdal-dev
Hi David, It's not clear what the issues are that you're having. Some specifics as to the details of your problems would help. On Mon, Jan 6, 2025 at 6:16 PM David Klaus via gdal-dev wrote: > > Dear GDAL-DEV Community, > > I apologize if this isn’t the right forum for this inquiry. If so, please

Re: [gdal-dev] Call for review on RFC 104: Adding a "gdal" front-end command line interface

2024-11-18 Thread Andrew Bell via gdal-dev
My biggest question is why you would mix vector and raster operations in the CLI. And since we're taking on changing things, I would wonder why those two parts of the codebase are commingled. Is there a strong reason not to have an OGR project that does vector operations and a GDAL project that do

Re: [gdal-dev] Call to GDALDestroy results in occasional core dump, GDAL 3.4.2

2024-09-18 Thread Andrew Bell via gdal-dev
On Wed, Sep 18, 2024 at 8:32 PM Fox, Shawn D (US) via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > In our case we have a singleton class that acts as a façade and all of our > calls to GDAL Apis are done by the methods of this class. The rest of our > code base only interacts with the singleton

Re: [gdal-dev] Call to GDALDestroy results in occasional core dump, GDAL 3.4.2

2024-09-18 Thread Andrew Bell via gdal-dev
There are many potential causes. Providing code and a backtrace would allow someone else to look. On Wed, Sep 18, 2024, 7:28 PM Fox, Shawn D (US) via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Could someone help me understand this sentence from the documentation at > gdal.h: > Raster C API —

[gdal-dev] Band Initialization

2024-07-29 Thread Andrew Bell via gdal-dev
Hi, Is a newly created raster band initialized to zero? If not, is there some trivial way to perform such an initialization (this is a MEM driver raster, if that matters). -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists

[gdal-dev] gdal2xyz

2024-06-11 Thread Andrew Bell via gdal-dev
Hi, The documentation describes an application `gdal2xyz`, but I don't see one built in my development environment. I also don't see anything in the CMakeLists.txt that refers to it. Is it named something I'm not expecting? Does it still exist? Thanks, -- Andrew Bell andrew.bell...@gmail.com __

[gdal-dev] pre-commit hook failure

2024-06-07 Thread Andrew Bell via gdal-dev
Hi, I'm getting an error when flake8 runs as a pre-commit hook and it won't allow me to commit code. My understanding was that the pre-commit stuff was supposed to make sure the proper versions were found. Ideas? (gdal) [viewshed-oor] $ git commit black

[gdal-dev] get_cli_utility_path_internal

2024-06-06 Thread Andrew Bell via gdal-dev
The function in the subject returns a path to a utility on which to run a test. But in the process, it tries to run the utility itself. This seems strange. In my case, the test itself failed, but the code reported "Could not find {file}", which is incorrect. It also causes the actual tests to get s

Re: [gdal-dev] Thread-safe raster access

2024-06-05 Thread Andrew Bell via gdal-dev
ing thread-specific instances > of VSILFILE* and third-party "reader" objects could be a way of solving > this. But realistically doing a pass in all GDAL drivers would be a > multi-month-man to multi-year-man type of effort. A realistic plan should > be designed to allow combini

[gdal-dev] Thread-safe raster access

2024-06-03 Thread Andrew Bell via gdal-dev
Hi, I am aware that there isn't thread-safe raster access with the current GDAL interface for various reasons. Given the state of processors, I was wondering if it would be valuable to take a look at providing the ability to do Raster I/O (at least reads) in a thread-safe way. This could be done t

[gdal-dev] Threading and Datasets

2024-05-22 Thread Andrew Bell via gdal-dev
Hi, Are there any issues with opening the same input multiple times as distinct datasets so that simultaneous read access can be done by threads? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https:

[gdal-dev] Data Type Conversion

2024-05-20 Thread Andrew Bell via gdal-dev
Hi, The documentation for GDALRasterBand::RasterIO says that it will convert data from the source data type to the destination data type. I searched the source code a bit I'm not sure I located the bit that does this conversion. I'm trying to understand what happens in this conversion process. Is

Re: [gdal-dev] Doxygen Arguments

2024-05-09 Thread Andrew Bell via gdal-dev
, the parameters were still missing. Updating > to Doxygen 1.9.8 as now used by our CI fixed things) > > Even > Le 09/05/2024 à 15:20, Andrew Bell via gdal-dev a écrit : > > Hi, > > I'm looking at the documentation for GDALRasterBand::RasterIO and it's > surprising

[gdal-dev] Doxygen Arguments

2024-05-09 Thread Andrew Bell via gdal-dev
Hi, I'm looking at the documentation for GDALRasterBand::RasterIO and it's surprising that the names of the arguments aren't included in the function prototype despite them being in the doxygen function definition. The arguments are described well below the function prototype, making it hard to ma

[gdal-dev] Warning/Error Update?

2024-05-08 Thread Andrew Bell via gdal-dev
Hi, I don't know the history but I'm getting failures from warnings like this: [ 75%] Building CXX object frmts/raw/CMakeFiles/gdal_raw.dir/dipxdataset.cpp.obj 1169In file included from ../../alg/viewshed.cpp:36: 1170../../alg/viewshed.h: In constructor 'gdal::Viewshed::Viewshed(const Options&)':

[gdal-dev] Mass operations to raster block?

2024-05-06 Thread Andrew Bell via gdal-dev
Hi, Is there any support in the library for applying some arithmetic operations to all entries in a block? For example, can I optimally subtract or add some scalar to every entry? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing li

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Andrew Bell via gdal-dev
On Tue, Apr 30, 2024 at 9:18 AM Even Rouault wrote: Even, > Also try in a Python interpreter "from osgeo import gdal" to see if the > exception is more verbose. If your GDAL lib links against libraries that > are not in the default library search path, GDAL command line utilities > might still b

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Andrew Bell via gdal-dev
Hi all, I removed all files from the build and started over, building using the same procedure that I used with the source from a couple of weeks ago without problem and now I get the following error: (gdal) [master] $ pytest -v autotest/utilities/test_gdal_viewshed.py ImportError while loading c

[gdal-dev] Test problem After Merge

2024-04-29 Thread Andrew Bell via gdal-dev
Hi, I just merged master into my branch and I'm now getting an error when trying to run a test. If someone might know what happened, I'd appreciate a tip. (gdal) [master] $ pytest -v autotest/utilities/test_gdal_viewshed.py ImportError while loading conftest '/Users/abell/gdal.2/build/autotest/co

[gdal-dev] Hungarian Notation

2024-04-17 Thread Andrew Bell via gdal-dev
Hi, I was going to make some changes to some GDAL code and I generally want to follow along. I see that most of the code is still using Hungarian notation for identifier names. I haven't seen this anywhere else in like 20 years. Is it OK to submit code without this naming convention or do we stil