Re: [gdal-dev] Odd date conversion from geojson file in OGR - rounding up to invalid value

2025-06-26 Thread Andrew C Aitchison via gdal-dev
On Thu, 26 Jun 2025, Smith, Michael ERDC-RDE-CRREL-NH CIV via gdal-dev wrote: I have a geojson file that has a date field that is: "AOI_TASKING_DATE_END": "2025-11-30T23:59:59.99Z", Gdal vector info is reporting this as: AOI_TASKING_DATE_END (DateTime) = 2025/11/30 23:59:60+00 Is this a g

Re: [gdal-dev] Out of tree drivers

2025-06-22 Thread Andrew C Aitchison via gdal-dev
On Wed, 18 Jun 2025, Norman Barker via gdal-dev wrote: Now GDAL supports plugins, are there any out of tree open source drivers? I am looking for a template for a driver I am working on. Particularly around how to update the drivers.ini. If not then I will write one. I have a driver at https

Re: [gdal-dev] raster reproject fails without error message with GCP_HOMOGRAPHY option

2025-05-21 Thread Andrew C Aitchison via gdal-dev
On Wed, 21 May 2025, Schumacher, Mia via gdal-dev wrote: I am trying to use new gdal raster reproject to georeference image chunks using ground control points. I figured that for some of these chunks, due to ship movement, the lower left & lower right image coordinates are switched, which (und

[gdal-dev] Revert "Undo executive order 14172"

2025-02-14 Thread Andrew C Aitchison via gdal-dev
Whilst some of the language was unprofessional, and I can imagine the reasoning, I regret the decision to revert commit bf9d1e0dda54f1a0360300f170ef1afa90a8ccc1. -- Andrew C. Aitchison Kendal, UK and...@aitchison.me.uk

Re: [gdal-dev] Motion: adopt RFC106: Metadata items to reflect driver update capabilities

2025-01-27 Thread Andrew C Aitchison via gdal-dev
On Mon, 27 Jan 2025, Even Rouault via gdal-dev wrote: Hi, The RFC text has been adjusted to reflect the candidate implementation which is now ready Motion: Adopt RFC106: Metadata items to reflect driver update capabilities (https://github.com/OSGeo/gdal/pull/11708) +1, -- Andre

Re: [gdal-dev] Killing useless write side of drivers

2025-01-19 Thread Andrew C Aitchison via gdal-dev
On Thu, 16 Jan 2025, Even Rouault via gdal-dev wrote: I strongly suspect a number of drivers are hardly used, in particular their write/edition side My list of candidate victims for removal (of the write side) is at https://docs.google.com/spreadsheets/d/12yk0p8rRK4rAYO_VwXboatWkiILAjE2Cepu32

Re: [gdal-dev] DXF MLTIPOINT

2025-01-16 Thread Andrew C Aitchison via gdal-dev
On Thu, 16 Jan 2025, Michał Kowalczuk via gdal-dev wrote: Thank you, Jukka. I saw this post. The main question is why the DXF driver implementation can explode MultiPolylines and MultiPolygons (which is more complex) and MultiPoint *not*? As I read the DXF 2014 spec http://images.autodesk.com/

Re: [gdal-dev] Removing write side of (SDK based) FileGDB driver ?

2025-01-14 Thread Andrew C Aitchison via gdal-dev
On Tue, 14 Jan 2025, Even Rouault via gdal-dev wrote: Hi, You all know my ever appetite to remove useless code (especially when I have to do painful exercices such as RFC 105 changes). This time I'd be very well tempted to axe the write side of the FileGDB driver (the one based on the Esri S

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

2025-01-06 Thread Andrew C Aitchison via gdal-dev
On Mon, 6 Jan 2025, David Klaus via gdal-dev wrote: So, given the challenges of maintaining our current custom build process, we are exploring simpler alternatives for producing a GDAL that meets our needs. However, our research hasn't yet yielded actionable improvements. We would greatly apprec

Re: [gdal-dev] GDAL Maintainers Meeting Minutes

2024-12-02 Thread Andrew C Aitchison via gdal-dev
On Mon, 2 Dec 2024, Howard Butler via gdal-dev wrote: * Two people claimed to have Frank Warmerdam -level experience with GDAL :) If Even claims that level of experience with *current* GDAL, I think only Frank can dispute it, so two sounds right. -- Andrew C. Aitchison Ke

[gdal-dev] java.sun.com

2024-11-15 Thread Andrew C Aitchison via gdal-dev
warning: URL http://java.sun.com/javase/6/docs/api/element-list was redirected to https://docs.oracle.com/javase/6/docs/api/ -- Update the command-line options to suppress this warning. Trivial patch attached, but Java 6 is a little out of date. Is there a better replacement URL ? -- Andrew

Re: [gdal-dev] Abou R sf library and GDAL

2024-10-29 Thread Andrew C Aitchison via gdal-dev
On Mon, 28 Oct 2024, Abel Pau via gdal-dev wrote: Hi Michael, Thank you for your response. I am working on a Windows 10 or 11 system (though I believe this detail is not particularly relevant). I am looking for the simplest method to install GDAL, as RStudio requires it as a dependency for th

Re: [gdal-dev] GDAL 3.10.0 beta1 available for testing

2024-10-15 Thread Andrew C Aitchison via gdal-dev
On Tue, 15 Oct 2024, Even Rouault via gdal-dev wrote: I've prepared a beta1 of GDAL 3.10.0 to get feedback from early testers, for the following next 2 weeks before the release candidate. For 3.9.0beta1 we got useful feedback, so let's do it again. The NEWS file is here:   https://github.com/O

[gdal-dev] Github, AI and the proposed RFC 8 amendment

2024-10-08 Thread Andrew C Aitchison via gdal-dev
On Tue, 8 Oct 2024, Greg Troxel via gdal-dev wrote: ElPaso via gdal-dev writes: I find it ironic that as an open source developer who probably contributed a lot of training material to feed the AI model I myself am banned to use it. It's not ironic; it's taking the high moral ground and acti

Re: [gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-08-29 Thread Andrew C Aitchison via gdal-dev
On Thu, 29 Aug 2024, Even Rouault via gdal-dev wrote: I was wondering if there exists a way to get standalone OGR GML Driver. Please suggest. No, it must be built-in in core libgdal as part of its functionality is re-used by other drivers (NAS, WFS) through direct function calls Would d

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 autotest/cpp/testclo

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
to I/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 ne

[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 [==] R

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 Kendal,

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 t

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: STATIS

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&paste from QGIS similar workflow with the following changes: - restrict the scope to pull requ

[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] 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 output

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 mail

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 with

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 cma

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. # gdalinfo

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 refe

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 that

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 byte

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. They'r

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