Re: [gdal-dev] testclosedondestroydm.test

2024-06-25 Thread Andrew C Aitchison via gdal-dev
On Tue, 25 Jun 2024, Even Rouault via gdal-dev wrote: ok, so the exception occurs in the embedded copy of tinyxml inside the ECW SDK ? You likely need to apply those community patches to your libecwjp2 3.3 sources: https://github.com/rouault/libecwj2-3.3-builds/blob/main/libecwj2-3.3.patch

Re: [gdal-dev] testclosedondestroydm.test

2024-06-25 Thread Andrew C Aitchison via gdal-dev
On Tue, 25 Jun 2024, Even Rouault via gdal-dev wrote: Le 25/06/2024 à 16:52, Andrew C Aitchison a écrit : On Tue, 25 Jun 2024, Even Rouault wrote: Le 25/06/2024 à 16:25, Andrew C Aitchison a écrit : On Tue, 25 Jun 2024, Even Rouault via gdal-dev wrote: Can you run "gdb

Re: [gdal-dev] testclosedondestroydm.test

2024-06-25 Thread Andrew C Aitchison via gdal-dev
On Tue, 25 Jun 2024, Even Rouault wrote: Le 25/06/2024 à 16:25, Andrew C Aitchison a écrit : On Tue, 25 Jun 2024, Even Rouault via gdal-dev wrote: Can you run "gdb autotest/cpp/testclosedondestroydm" , "run" , and when it crashed "bt" so we have a backtrace of where it crashes  (all of that

Re: [gdal-dev] testclosedondestroydm.test

2024-06-25 Thread Andrew C Aitchison via gdal-dev
O read error. but otherwise the same failures. I do not have the MrSID SDK, so not recognizing mercator.sid is expected. Would an strace be any use ? Any particular options ? Le 25/06/2024 à 15:14, Andrew C Aitchison via gdal-dev a écrit : This is not a new failure, so thre is no need for thi

[gdal-dev] testclosedondestroydm.test

2024-06-25 Thread Andrew C Aitchison via gdal-dev
This is not a new failure, so thre is no need for this to hold up 3.9.1. System: Ubuntu 24-04/Noble on Intel x86-64. # ctest --output-on-failure 8< 8< 8< 8< 8< 8< 8< 28/51 Test #28: test-closed-on-destroy-DM ***Failed0.19 sec [==]

Re: [gdal-dev] Motion: Adopt GDAL 3.9.1RC1 as 3.9.1 release

2024-06-21 Thread Andrew C Aitchison via gdal-dev
On Thu, 20 Jun 2024, Even Rouault via gdal-dev wrote: Motion: Adopt GDAL 3.9.1RC1 as 3.9.1 release Starting with my +1 As Greg said, 25 hours isn't long to test I've managed to build and run some tests on Ubuntu 24-04/Noble using clang compilers (v18 as shipped by Ubuntu and/or v19 from

[gdal-dev] clang-format variation - just for info

2024-05-30 Thread Andrew C Aitchison via gdal-dev
I don't think this affects any gdal code. If you put a comment after an #else an #endif or "}" (eg to aide finding the start of the block) then clang-format v15 and v18 will rearrange the whitespace differently. Ubuntu Noble 24-04 ships v18. -- Andrew C. Aitchison

Re: [gdal-dev] Bumping TileDB minimum from 2.7 to 2.15 for GDAL 3.9?

2024-04-24 Thread Andrew C Aitchison via gdal-dev
On Wed, 24 Apr 2024, Even Rouault via gdal-dev wrote: A future TileDB version will remove various deprecated API that the GDAL TileDB driver currently uses. https://github.com/OSGeo/gdal/pull/9725 migrates away from those deprecated APIs, but that causes the minimum requirement from TileDB

Re: [gdal-dev] Question on building multi band composite and going back to RGB GeoTiff

2024-04-22 Thread Andrew C Aitchison via gdal-dev
On Mon, 22 Apr 2024, Raley, Nathan via gdal-dev wrote: Hmm, good catch. Looking at the stats for the red band: Band 1 Block=128x128 Type=UInt16, ColorInterp=Gray Min=130.000 Max=36265.000 Minimum=130.000, Maximum=36265.000, Mean=10415.962, StdDev=3502.933 NoData Value=0 Metadata:

Re: [gdal-dev] Adding a CI "stale" workflow for pull requests without activity

2024-04-18 Thread Andrew C Aitchison via gdal-dev
On Thu, 18 Apr 2024, Even Rouault via gdal-dev wrote: I'm proposing in https://github.com/OSGeo/gdal/pull/9693 that we add a CI "stale" workflow for pull requests without activity. It is mostly a copy from QGIS similar workflow with the following changes: - restrict the scope to pull requests

[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

Re: [gdal-dev] Expiring token during paging on the WFS

2024-03-28 Thread Andrew C Aitchison via gdal-dev
On Thu, 28 Mar 2024, Michael Otto via gdal-dev wrote: Hello, I have an important question about the use of a 'GDAL_HTTP_HEADER_FILE'. If I request a WFS with "OGR_WFS_PAGING_ALLOWED=ON" and use a header file for authentication, will the header file be read with every new page? I am wondering

Re: [gdal-dev] Incorrect geolocation information using newer gdal versions

2024-03-26 Thread Andrew C Aitchison via gdal-dev
On Tue, 26 Mar 2024, Cristhian Rivera via gdal-dev wrote: Hi all, I'm trying to debug an issue with a NetCDF file where in previous gdal versions (up until 3.3.0) the geolocation was correctly identified by gdalinfo, but in newer versions (>= 3.3.1) it is not. I note that both versions

Re: [gdal-dev] Issue with using GDAL warp

2024-03-24 Thread Andrew C Aitchison via gdal-dev
On Sun, 24 Mar 2024, Ian Hannah via gdal-dev wrote: Hi, I am using 3.8.4 of GDAL .NET and running this code: string[] warpOptions = { "outputType", GdalConst.GDT_Byte.ToString(), "srcSRS", projectionWKT,

Re: [gdal-dev] Using a "standard" argument parser for command line utilities?

2024-03-08 Thread Andrew C Aitchison via gdal-dev
On Fri, 8 Mar 2024, Even Rouault via gdal-dev wrote: Hi, Our command line C++ utilities use ad-hoc manual parsing, which means that: -  the usage message must be manually composed, -  you must take care to check that there are enough remaining arguments for the ones that take value to avoid

Re: [gdal-dev] Testing the driver

2024-03-06 Thread Andrew C Aitchison via gdal-dev
On Wed, 6 Mar 2024, Daniel Evans via gdal-dev wrote: Is it worth moving this in-depth discussion to a PR or similar for the new driver? My thinking is that a lengthy discussion on memory leak detection techniques in C++, how to run tests in Python, etc., aren't topics relevant to most GDAL

Re: [gdal-dev] Testing the driver

2024-02-18 Thread Andrew C Aitchison via gdal-dev
On Sun, 18 Feb 2024, Even Rouault wrote: Le 10/02/2024 à 18:34, Andrew C Aitchison via gdal-dev a écrit : On Sat, 10 Feb 2024, Even Rouault via gdal-dev wrote: To test your own development, you may have a more pleasant experience by directly running just the tests for your driver

Re: [gdal-dev] Build question: GDAL with libwebp....

2024-02-13 Thread Andrew C Aitchison via gdal-dev
On Tue, 13 Feb 2024, Carl Godkin via gdal-dev wrote: Hi, Sorry if this is an elementary cmake question but I am curious if there is a cleaner solution than I came up with. I'm trying to build GDAL 3.8.3 with WEBP support. I built libwebp 1.3.2 (the latest) without any problems, also using

Re: [gdal-dev] Testing the driver

2024-02-10 Thread Andrew C Aitchison via gdal-dev
On Sat, 10 Feb 2024, Even Rouault via gdal-dev wrote: To test your own development, you may have a more pleasant experience by directly running just the tests for your driver with something like "pytest autotest/ogr/ogr_miramon.py"  (be careful on Windows, the content of $build_dir/autotest

Re: [gdal-dev] gdal_merge -of format

2024-01-11 Thread Andrew C Aitchison via gdal-dev
On Wed, 10 Jan 2024, ni hao via gdal-dev wrote: Hi list, question about: gdal_merge -of format besides GTiff, what other formats can I specify? May I specify USGS DEM format? Look in the output of gdalinfo --formats any raster format with rw for read-write can be used. #

Re: [gdal-dev] Virtual Raster Tile Index (VRTTI) driver, and associated gdaltindex improvements

2023-12-21 Thread Andrew C Aitchison via gdal-dev
On Wed, 20 Dec 2023, Even Rouault via gdal-dev wrote: Hi, For those not actively following github tickets & PR, I just want to point to a new pending major functionality to improve management of virtual mosaics with a very large number of tiles/sources (> tens of thousands of tiles), by

Re: [gdal-dev] Under what (if any) conditions would GDALWriteBlock modify data buffer?

2023-12-20 Thread Andrew C Aitchison via gdal-dev
On Mon, 18 Dec 2023, Even Rouault wrote: Le 18/12/2023 à 21:15, Andrew C Aitchison a écrit : On Mon, 18 Dec 2023, Even Rouault via gdal-dev wrote: Le 18/12/2023 à 16:18, Andrew C Aitchison via gdal-dev a écrit : On Mon, 18 Dec 2023, Even Rouault via gdal-dev wrote: Hi, interesting

Re: [gdal-dev] Under what (if any) conditions would GDALWriteBlock modify data buffer?

2023-12-18 Thread Andrew C Aitchison via gdal-dev
On Mon, 18 Dec 2023, Even Rouault via gdal-dev wrote: Le 18/12/2023 à 16:18, Andrew C Aitchison via gdal-dev a écrit : On Mon, 18 Dec 2023, Even Rouault via gdal-dev wrote: Hi, interesting question. No easy answer as it is highly driver dependent. I believe that all drivers make sure

Re: [gdal-dev] Under what (if any) conditions would GDALWriteBlock modify data buffer?

2023-12-18 Thread Andrew C Aitchison via gdal-dev
On Mon, 18 Dec 2023, Even Rouault via gdal-dev wrote: Hi, interesting question. No easy answer as it is highly driver dependent. I believe that all drivers make sure that the content of the buffer before and after the call is the same, but some drivers might temporarily modify it, to do

Re: [gdal-dev] Un-vendoring a number of third-party libraries?

2023-12-15 Thread Andrew C Aitchison via gdal-dev
On Fri, 15 Dec 2023, Even Rouault via gdal-dev wrote: If the scope of this were to unvendor just these four (libjpeg, libpng, zlib, giflib), I think it is enough to start, but it brings up the question of whether or not JPEG, PNG, and GIF support are hard dependencies in GDAL afterward.

Re: [gdal-dev] tps - gdalwarp vs ogr2ogr

2023-11-07 Thread Andrew C Aitchison via gdal-dev
https://raw.githubusercontent.com/craigshelley/QuickChart/master/Specification/The%20Quick%20Chart%20File%20Format%20Specification%201.03.pdf describes a file format which includes polynomials describing forward *and reverse* tranforms for this. I don't know how common, or accurate, such reverse