Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-27 Thread Even Rouault via gdal-dev
One point I should probably underline for packagers is the following 
part of NEWS.md


## New optional dependencies

* [muparser](https://github.com/beltoforion/muparser) is *strongly* 
recommended
  to be added as a build and runtime dependency, to provide nominal 
support for

  C++ VRT expressions.
* [exprtk](https://github.com/ArashPartow/exprtk) may be added as a build
  dependency (this is a header-only library) to provide support for 
advanced
  C++ VRT expressions. Note that it causes an increase in libgdal size 
of about
  8 MB. exprtk support is recommended to be an addition to muparser 
support, not

  as a replacement.

I'm raising this since I see that the Debian package hasn't muparser 
enabled (as far as I can see in 
https://salsa.debian.org/debian-gis-team/gdal/-/blob/experimental/debian/control?ref_type=heads), 
whereas muparser is available in Debian: 
https://packages.debian.org/sid/libmuparser2v5)


Even

--
http://www.spatialys.com
My software is free, but my time generally not.
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-21 Thread Sean Gillies via gdal-dev
Yep! I've made a PR to address this:
https://github.com/OSGeo/gdal/pull/12189.

On Mon, Apr 21, 2025 at 6:02 AM Daniel Baston  wrote:

> Sean,
>
> Can you post to the PR or create an issue that explains the problem? I'm
> generally not in favor of GDAL ignoring invalid user inputs, because in my
> experience they lead to difficult-to-track errors in user code.
>
> Dan
>
> On Sun, Apr 20, 2025 at 9:42 PM Sean Gillies via gdal-dev <
> [email protected]> wrote:
>
>> Hi Even, Dan, and everyone,
>>
>> https://github.com/OSGeo/gdal/pull/11978 breaks Rasterio's reproject().
>> Could we consider reverting the change at
>> https://github.com/OSGeo/gdal/pull/11978/files#diff-4ff2c1ac40e44d829d06107ff9d5ca0a19364b1793264488f41441da8e22R789?
>> I've never seen a problem with this before, and the PR does not reference a
>> specific bug or issue that requires this change.
>>
>> On Thu, Apr 17, 2025 at 1:04 PM Even Rouault via gdal-dev <
>> [email protected]> wrote:
>>
>>> Hi,
>>>
>>> I've prepared a beta1 of GDAL 3.11.0 to get feedback from early testers,
>>> for the following next 2 weeks before the release candidate.
>>>
>>> The NEWS file is here:
>>>
>>>   https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md
>>>
>>> The biggest highlight is:
>>>
>>>- RFC 104
>>>:
>>>Adding a "gdal" front-end command line interface.
>>>   - See the list of commands
>>>   
>>>   - Includes a completely new "gdal raster calc" utility.
>>>   - Includes "gdal vsi list/copy/delete" (ports of Python sample
>>>   scripts)
>>>   - Includes "gdal driver {driver_name}" for driver-specific
>>>   commands.
>>>   - Includes smart Bash autocompletion
>>>   - Includes C, C++, Python API
>>>
>>> This is an alternative interface to GDAL and OGR command line utilities.
>>> We would certainly welcome feedback from your testing to confirm that we
>>> are hopefully aiming at the right direction. Note that the naming of
>>> commands and options is not frozen at that point, and that not all
>>> traditional utilities have been ported yet (will continue during the 3.12
>>> cycle)
>>>
>>> Please file tickets at https://github.com/OSGeo/gdal/issues for issues
>>> you'd find (or pull requests to fix them!)
>>>
>>> Docker -latest images are just in the cooking and will reflect the state
>>> of beta1 when they'll be ready, hopefully by tomorrow, and should be a good
>>> start for testing:
>>> - ghcr.io/osgeo/gdal:alpine-small-latest
>>> - ghcr.io/osgeo/gdal:alpine-normal-latest
>>> - ghcr.io/osgeo/gdal:ubuntu-small-latest
>>> - ghcr.io/osgeo/gdal:ubuntu-full-latest
>>>
>>> I have *not* branched off yet master for release/3.11, so be careful
>>> with material that goes into master until that's done.
>>>
>>> Source snapshots at:
>>>
>>> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.gz
>>> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.xz
>>> - https://download.osgeo.org/gdal/3.11.0/gdal3110beta1.zip
>>>
>>> Autotest snapshots:
>>>
>>> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.tar.gz
>>> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.zip
>>>
>>> Even
>>>
>> --
>> Sean Gillies
>> ___
>> gdal-dev mailing list
>> [email protected]
>> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>

-- 
Sean Gillies
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-21 Thread Daniel Baston via gdal-dev
Sean,

Can you post to the PR or create an issue that explains the problem? I'm
generally not in favor of GDAL ignoring invalid user inputs, because in my
experience they lead to difficult-to-track errors in user code.

Dan

On Sun, Apr 20, 2025 at 9:42 PM Sean Gillies via gdal-dev <
[email protected]> wrote:

> Hi Even, Dan, and everyone,
>
> https://github.com/OSGeo/gdal/pull/11978 breaks Rasterio's reproject().
> Could we consider reverting the change at
> https://github.com/OSGeo/gdal/pull/11978/files#diff-4ff2c1ac40e44d829d06107ff9d5ca0a19364b1793264488f41441da8e22R789?
> I've never seen a problem with this before, and the PR does not reference a
> specific bug or issue that requires this change.
>
> On Thu, Apr 17, 2025 at 1:04 PM Even Rouault via gdal-dev <
> [email protected]> wrote:
>
>> Hi,
>>
>> I've prepared a beta1 of GDAL 3.11.0 to get feedback from early testers,
>> for the following next 2 weeks before the release candidate.
>>
>> The NEWS file is here:
>>
>>   https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md
>>
>> The biggest highlight is:
>>
>>- RFC 104
>>:
>>Adding a "gdal" front-end command line interface.
>>   - See the list of commands
>>   
>>   - Includes a completely new "gdal raster calc" utility.
>>   - Includes "gdal vsi list/copy/delete" (ports of Python sample
>>   scripts)
>>   - Includes "gdal driver {driver_name}" for driver-specific
>>   commands.
>>   - Includes smart Bash autocompletion
>>   - Includes C, C++, Python API
>>
>> This is an alternative interface to GDAL and OGR command line utilities.
>> We would certainly welcome feedback from your testing to confirm that we
>> are hopefully aiming at the right direction. Note that the naming of
>> commands and options is not frozen at that point, and that not all
>> traditional utilities have been ported yet (will continue during the 3.12
>> cycle)
>>
>> Please file tickets at https://github.com/OSGeo/gdal/issues for issues
>> you'd find (or pull requests to fix them!)
>>
>> Docker -latest images are just in the cooking and will reflect the state
>> of beta1 when they'll be ready, hopefully by tomorrow, and should be a good
>> start for testing:
>> - ghcr.io/osgeo/gdal:alpine-small-latest
>> - ghcr.io/osgeo/gdal:alpine-normal-latest
>> - ghcr.io/osgeo/gdal:ubuntu-small-latest
>> - ghcr.io/osgeo/gdal:ubuntu-full-latest
>>
>> I have *not* branched off yet master for release/3.11, so be careful with
>> material that goes into master until that's done.
>>
>> Source snapshots at:
>>
>> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.gz
>> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.xz
>> - https://download.osgeo.org/gdal/3.11.0/gdal3110beta1.zip
>>
>> Autotest snapshots:
>>
>> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.tar.gz
>> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.zip
>>
>> Even
>>
> --
> Sean Gillies
> ___
> gdal-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-20 Thread Sean Gillies via gdal-dev
Hi Even, Dan, and everyone,

https://github.com/OSGeo/gdal/pull/11978 breaks Rasterio's reproject().
Could we consider reverting the change at
https://github.com/OSGeo/gdal/pull/11978/files#diff-4ff2c1ac40e44d829d06107ff9d5ca0a19364b1793264488f41441da8e22R789?
I've never seen a problem with this before, and the PR does not reference a
specific bug or issue that requires this change.

On Thu, Apr 17, 2025 at 1:04 PM Even Rouault via gdal-dev <
[email protected]> wrote:

> Hi,
>
> I've prepared a beta1 of GDAL 3.11.0 to get feedback from early testers,
> for the following next 2 weeks before the release candidate.
>
> The NEWS file is here:
>
>   https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md
>
> The biggest highlight is:
>
>- RFC 104
>:
>Adding a "gdal" front-end command line interface.
>   - See the list of commands
>   
>   - Includes a completely new "gdal raster calc" utility.
>   - Includes "gdal vsi list/copy/delete" (ports of Python sample
>   scripts)
>   - Includes "gdal driver {driver_name}" for driver-specific commands.
>   - Includes smart Bash autocompletion
>   - Includes C, C++, Python API
>
> This is an alternative interface to GDAL and OGR command line utilities.
> We would certainly welcome feedback from your testing to confirm that we
> are hopefully aiming at the right direction. Note that the naming of
> commands and options is not frozen at that point, and that not all
> traditional utilities have been ported yet (will continue during the 3.12
> cycle)
>
> Please file tickets at https://github.com/OSGeo/gdal/issues for issues
> you'd find (or pull requests to fix them!)
>
> Docker -latest images are just in the cooking and will reflect the state
> of beta1 when they'll be ready, hopefully by tomorrow, and should be a good
> start for testing:
> - ghcr.io/osgeo/gdal:alpine-small-latest
> - ghcr.io/osgeo/gdal:alpine-normal-latest
> - ghcr.io/osgeo/gdal:ubuntu-small-latest
> - ghcr.io/osgeo/gdal:ubuntu-full-latest
>
> I have *not* branched off yet master for release/3.11, so be careful with
> material that goes into master until that's done.
>
> Source snapshots at:
>
> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.gz
> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.xz
> - https://download.osgeo.org/gdal/3.11.0/gdal3110beta1.zip
>
> Autotest snapshots:
>
> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.tar.gz
> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.zip
>
> Even
>
-- 
Sean Gillies
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-20 Thread Even Rouault via gdal-dev

Hi,

The below mentioned Docker images are available, as well as the GDAL 
master Conda builds that have been restored after being broken last 
week. This was due to the update to SWIG 4.3.1 which requires a patch on 
our side (work around to a SWIG upstream reported bug)


This SWIG 4.3.1 issue also affects the 3.10 series, so people 
maintaining 3.10 builds that could be done against SWIG 4.3.1, please 
cherry-pick 
https://github.com/OSGeo/gdal/commit/0ec70359083cae73b03ea6d354b2e2754cd50dbd


Docker -latest images are just in the cooking and will reflect the 
state of beta1 when they'll be ready, hopefully by tomorrow, and 
should be a good start for testing:

- ghcr.io/osgeo/gdal:alpine-small-latest
- ghcr.io/osgeo/gdal:alpine-normal-latest
- ghcr.io/osgeo/gdal:ubuntu-small-latest
- ghcr.io/osgeo/gdal:ubuntu-full-latest


Even

--

http://www.spatialys.com
My software is free, but my time generally not.
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-18 Thread Greg Troxel via gdal-dev
Even Rouault  writes:

> those errors are related to the new float16 (RFC100) support. Support
> for that type is a bit weak with some compilers / C/C++ libraries. Can
> you give a try at https://github.com/OSGeo/gdal/pull/12165 ?

Thanks for the quick fix!  With that patch, I get a successful build.

I have a few remaining warnings, which I don't claim are new in 3.11,
but they don't seem like incorrect warnings at first glance.  The first
file may also have missing std::, resulting in calling the C function abs
rather than C++ std::abs, but that's still not float?

I've trimmed the build log; happy to send the whole thing if helpful.
The rest of it, aside from some harmless-looking cmake warnings, is
clean.

[106/1299] Building CXX object alg/CMakeFiles/alg.dir/gdal_homography.cpp.o
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg/gdal_homography.cpp: In 
function 'int GDALGCPsToHomography(int, const GDAL_GCP*, double*)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg/gdal_homography.cpp:265:25:
 warning: conversion from 'double' to 'int' may change value 
[-Wfloat-conversion]
  265 | if (abs(h_normalized(6, 0)) < 1.0e-15)
  | ^~
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg/gdal_homography.cpp: In 
function 'int GDALApplyHomography(const double*, double, double, double*, 
double*)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg/gdal_homography.cpp:394:13:
 warning: conversion from 'double' to 'int' may change value 
[-Wfloat-conversion]
  394 | if (abs(w) < 1.0e-15)
  | ^
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg/gdal_homography.cpp: In 
function 'int GDALHomographyTransform(void*, int, int, double*, double*, 
double*, int*)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg/gdal_homography.cpp:573:17:
 warning: conversion from 'double' to 'int' may change value 
[-Wfloat-conversion]
  573 | if (abs(w) < 1.0e-15)
  | ^


[956/1299] Building CXX object 
ogr/ogrsf_frmts/sqlite/CMakeFiles/ogr_SQLite.dir/ogrsqlitevirtualogr.cpp.o
In file included from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitesqlfunctionscommon.cpp:22,
 from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitesqlfunctions.cpp:34,
 from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp:140:
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:
 In function 'void OGRSQLiteREGEXPFunction(sqlite3_context*, int, 
sqlite3_value**)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:212:62:
 warning: use of old-style cast to 'const char*' [-Wold-style-cast]
  212 | const char *re = (const char *)sqlite3_value_text(argv[0]);
  |  ^
  |  --
  |  reinterpret_cast ( )
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:225:63:
 warning: use of old-style cast to 'const char*' [-Wold-style-cast]
  225 | const char *str = (const char *)sqlite3_value_text(argv[1]);
  |   ^
  |   --
  |   reinterpret_cast ( )
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:233:62:
 warning: use of old-style cast to 'struct cache_entry*' [-Wold-style-cast]
  233 | cache_entry *cache = (cache_entry *)sqlite3_user_data(ctx);
  |  ^
  |  -
  |  static_cast<  -
  |> ()
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-18 Thread Even Rouault via gdal-dev

I have a few remaining warnings, which I don't claim are new in 3.11,
but they don't seem like incorrect warnings at first glance.  The first
file may also have missing std::, resulting in calling the C function abs
rather than C++ std::abs, but that's still not float?
No, std::abs() is fine there. Fixed per 
https://github.com/OSGeo/gdal/commit/2d169a75c24aece05be9bba588d50bc055e9b9ac




[956/1299] Building CXX object 
ogr/ogrsf_frmts/sqlite/CMakeFiles/ogr_SQLite.dir/ogrsqlitevirtualogr.cpp.o
In file included from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitesqlfunctionscommon.cpp:22,
  from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitesqlfunctions.cpp:34,
  from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqlitevirtualogr.cpp:140:
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:
 In function 'void OGRSQLiteREGEXPFunction(sqlite3_context*, int, 
sqlite3_value**)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/sqlite/ogrsqliteregexp.cpp:212:62:
 warning: use of old-style cast to 'const char*' [-Wold-style-cast]


Those ones are related to the use of the old PCRE library. Should be 
fixed per 
https://github.com/OSGeo/gdal/commit/0e38a13e0c7784ddde0361d57d508b8e16fdd4b4 
, but you should consider using PCRE2 instead


--
http://www.spatialys.com
My software is free, but my time generally not.
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-18 Thread Javier Jimenez Shaw via gdal-dev
Thanks Even.
The NEWS.md include a lot of things! I need more time to read it completely.

On Thu, 17 Apr 2025 at 21:04, Even Rouault via gdal-dev <
[email protected]> wrote:

> Hi,
>
> I've prepared a beta1 of GDAL 3.11.0 to get feedback from early testers,
> for the following next 2 weeks before the release candidate.
>
> The NEWS file is here:
>
>   https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md
>
> The biggest highlight is:
>
>- RFC 104
>:
>Adding a "gdal" front-end command line interface.
>   - See the list of commands
>   
>   - Includes a completely new "gdal raster calc" utility.
>   - Includes "gdal vsi list/copy/delete" (ports of Python sample
>   scripts)
>   - Includes "gdal driver {driver_name}" for driver-specific commands.
>   - Includes smart Bash autocompletion
>   - Includes C, C++, Python API
>
> This is an alternative interface to GDAL and OGR command line utilities.
> We would certainly welcome feedback from your testing to confirm that we
> are hopefully aiming at the right direction. Note that the naming of
> commands and options is not frozen at that point, and that not all
> traditional utilities have been ported yet (will continue during the 3.12
> cycle)
>

Just to make it clear. What is included in 3.11 (about "gdal" command)
could change in 3.12? I see it will be extended, but I do not have clear
how stable is the new CLI/API.


> Please file tickets at https://github.com/OSGeo/gdal/issues for issues
> you'd find (or pull requests to fix them!)
>
> Docker -latest images are just in the cooking and will reflect the state
> of beta1 when they'll be ready, hopefully by tomorrow, and should be a good
> start for testing:
> - ghcr.io/osgeo/gdal:alpine-small-latest
> - ghcr.io/osgeo/gdal:alpine-normal-latest
> - ghcr.io/osgeo/gdal:ubuntu-small-latest
> - ghcr.io/osgeo/gdal:ubuntu-full-latest
>
> I have *not* branched off yet master for release/3.11, so be careful with
> material that goes into master until that's done.
>
> Source snapshots at:
>
> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.gz
> - https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.xz
> - https://download.osgeo.org/gdal/3.11.0/gdal3110beta1.zip
>
> Autotest snapshots:
>
> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.tar.gz
> - https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.zip
>
> Even
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
> ___
> gdal-dev mailing list
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-18 Thread Even Rouault via gdal-dev


Le 18/04/2025 à 03:47, Scott via gdal-dev a écrit :

On the following page:
https://gdal.org/en/latest/programs/gdal_raster_calc.html#gdal-raster-calc-subcommand 



Example 3 at the very bottom has:
gdal_calc -i 


fixed, thanks


--
http://www.spatialys.com
My software is free, but my time generally not.

___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-17 Thread Scott via gdal-dev

On the following page:
https://gdal.org/en/latest/programs/gdal_raster_calc.html#gdal-raster-calc-subcommand

Example 3 at the very bottom has:
gdal_calc -i 

I think it should be:
gdal raster calc -i 

...like example 1 and 2?

Scott

On 4/17/25 12:03, Even Rouault via gdal-dev wrote:

Hi,

I've prepared a beta1 of GDAL 3.11.0 to get feedback from early testers, 
for the following next 2 weeks before the release candidate.


The NEWS file is here:

https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md

The biggest highlight is:

  * RFC 104 : Adding a "gdal" front-end command line
interface.
  o See the list of commands 
  o Includes a completely new "gdal raster calc" utility.
  o Includes "gdal vsi list/copy/delete" (ports of Python sample
scripts)
  o Includes "gdal driver {driver_name}" for driver-specific commands.
  o Includes smart Bash autocompletion
  o Includes C, C++, Python API

This is an alternative interface to GDAL and OGR command line utilities. 
We would certainly welcome feedback from your testing to confirm that we 
are hopefully aiming at the right direction. Note that the naming of 
commands and options is not frozen at that point, and that not all 
traditional utilities have been ported yet (will continue during the 
3.12 cycle)


Please file tickets at https://github.com/OSGeo/gdal/issues for issues 
you'd find (or pull requests to fix them!)


Docker -latest images are just in the cooking and will reflect the state 
of beta1 when they'll be ready, hopefully by tomorrow, and should be a 
good start for testing:

- ghcr.io/osgeo/gdal:alpine-small-latest
- ghcr.io/osgeo/gdal:alpine-normal-latest
- ghcr.io/osgeo/gdal:ubuntu-small-latest
- ghcr.io/osgeo/gdal:ubuntu-full-latest

I have *not* branched off yet master for release/3.11, so be careful 
with material that goes into master until that's done.


Source snapshots at:

- https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.gz
- https://download.osgeo.org/gdal/3.11.0/gdal-3.11.0beta1.tar.xz
- https://download.osgeo.org/gdal/3.11.0/gdal3110beta1.zip

Autotest snapshots:

- https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.tar.gz
- https://download.osgeo.org/gdal/3.11.0/gdalautotest-3.11.0beta1.zip

Even

--
http://www.spatialys.com
My software is free, but my time generally not.


___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-17 Thread Greg Troxel via gdal-dev
Even Rouault  writes:

> No, std::abs() is fine there. Fixed per
> https://github.com/OSGeo/gdal/commit/2d169a75c24aece05be9bba588d50bc055e9b9ac

great, thanks.

> Those ones are related to the use of the old PCRE library. Should be
> fixed per
> https://github.com/OSGeo/gdal/commit/0e38a13e0c7784ddde0361d57d508b8e16fdd4b4
> , but you should consider using PCRE2 instead

Flipped to pcre2 and all seems ok; thanks for pointing that out.  I
missed the new pcre2 support/deprecation of pcre in 2022 -- but it is in
the NEWS I pasted into the commit log :-)

I'm rebuilding pdal, qgis, and will actually run this, but it looks good
from here and I'll be testing the later betas/rcs as they come.
___
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-17 Thread Even Rouault via gdal-dev

Greg,

those errors are related to the new float16 (RFC100) support. Support 
for that type is a bit weak with some compilers / C/C++ libraries. Can 
you give a try at https://github.com/OSGeo/gdal/pull/12165 ?


Even

Le 18/04/2025 à 01:00, Greg Troxel via gdal-dev a écrit :

Even Rouault via gdal-dev  writes:


https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md

I'm seeing errors on two or three files about what I think is referring
to std::isinf and std::isnan with just isinf and isnan.

Adding std:: before isinf/isnan seems to make it build.  And, I see
existing std:: prefixes for these functions.

I think I'm just using regular gcc10, which should meet the c++17
requirement.  I am not enough of a C++ wizard to know if prefixing std::
is the right fix, or if it's wrong of a compiler to object to bare
isinf().  (I don't understand why this builds for anyone else.)



=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in gdal-lib-3.11.0beta1
===> Building for gdal-lib-3.11.0beta1
[1/37] cd /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr && 
/usr/pkg/bin/cmake -DIN_FILE=swq_parser.y -DTARGET=generate_swq_parser 
-DEXPECTED_MD5SUM=c3eaca734f3005e73586cc697e481f94 
-DFILENAME_CMAKE=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/CMakeLists.txt 
-P /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/check_md5sum.cmake
[2/37] cd /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/ods 
&& /usr/pkg/bin/cmake -DIN_FILE=ods_formula_parser.y 
-DTARGET=generate_ods_formula_parser -DEXPECTED_MD5SUM=4471312c8be1baeef3509fb36ab668df 
-DFILENAME_CMAKE=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/ods/CMakeLists.txt
 -P /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/check_md5sum.cmake
[3/37] cd /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build 
&& /usr/pkg/bin/cmake 
-DSOURCE_DIR=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/../.. 
-DBINARY_DIR=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build 
-DGDAL_SHA1SUM= -DGDAL_RELEASE_DATE= -P 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/../../cmake/helpers/generate_gdal_version_h.cmake
[4/37] Building CXX object gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o
FAILED: gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o
/tmp/work/geography/gdal-lib/work/.cwrapper/bin/c++ -DDONT_DEPRECATE_SPRINTF 
-DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_GEOS -DHAVE_LIBXML2 
-DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_TIFF 
-DPAM_ENABLED -DSQLITE_ENABLED 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/apps 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build/gcore 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/port 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build/port 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/frmts 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/frmts/mem 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/generic 
-I/tmp/work/geography/gdal-lib/work/g
  dal-3.11.0beta1/frmts/vrt 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/frmts/gtiff 
-I/tmp/work/geography/gdal-lib/work/.buildlink/include/xercesc 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/geojson/libjson
 -I/tmp/work/geography/gdal-lib/work/.buildlink/include/libxml2 
-I/tmp/work/geography/gdal-lib/work/.buildlink/include/geos -isystem 
/tmp/work/geography/gdal-lib/work/.buildlink/include -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/minizip -fvisibility=hidden -std=gnu++17 
-fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations 
-Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security 
-Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time 
-Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor 
-Woverloaded-virtual -Wsuggest-override -fno-operator-names 
-Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT 
gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o -MF gcore/CMa
  keFiles/gcore.dir/gdalnodatamaskband.cpp.o.d -o 
gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o -c 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore/gdalnodatamaskband.cpp
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore/gdalnodatamaskband.cpp:
 In static member function 'static bool 
GDALNoDataMaskBand::IsNoDataInRange(double, GDALDataType)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore/gdalnodatamaskband.cpp:191:20:
 error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
   191 | return 

Re: [gdal-dev] GDAL 3.11.0 "Eganville" beta1 available for testing

2025-04-17 Thread Greg Troxel via gdal-dev
Even Rouault via gdal-dev  writes:

> https://github.com/OSGeo/gdal/blob/v3.11.0beta1/NEWS.md

I'm seeing errors on two or three files about what I think is referring
to std::isinf and std::isnan with just isinf and isnan.

Adding std:: before isinf/isnan seems to make it build.  And, I see
existing std:: prefixes for these functions.

I think I'm just using regular gcc10, which should meet the c++17
requirement.  I am not enough of a C++ wizard to know if prefixing std::
is the right fix, or if it's wrong of a compiler to object to bare
isinf().  (I don't understand why this builds for anyone else.)



=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in gdal-lib-3.11.0beta1
===> Building for gdal-lib-3.11.0beta1
[1/37] cd /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr && 
/usr/pkg/bin/cmake -DIN_FILE=swq_parser.y -DTARGET=generate_swq_parser 
-DEXPECTED_MD5SUM=c3eaca734f3005e73586cc697e481f94 
-DFILENAME_CMAKE=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/CMakeLists.txt
 -P 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/check_md5sum.cmake
[2/37] cd 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/ods && 
/usr/pkg/bin/cmake -DIN_FILE=ods_formula_parser.y 
-DTARGET=generate_ods_formula_parser 
-DEXPECTED_MD5SUM=4471312c8be1baeef3509fb36ab668df 
-DFILENAME_CMAKE=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/ods/CMakeLists.txt
 -P 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/check_md5sum.cmake
[3/37] cd /tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build 
&& /usr/pkg/bin/cmake 
-DSOURCE_DIR=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/../..
 
-DBINARY_DIR=/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build
 -DGDAL_SHA1SUM= -DGDAL_RELEASE_DATE= -P 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake/helpers/../../cmake/helpers/generate_gdal_version_h.cmake
[4/37] Building CXX object gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o
FAILED: gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o 
/tmp/work/geography/gdal-lib/work/.cwrapper/bin/c++ -DDONT_DEPRECATE_SPRINTF 
-DGDAL_COMPILATION -DHAVE_AVX_AT_COMPILE_TIME -DHAVE_GEOS -DHAVE_LIBXML2 
-DHAVE_SSE_AT_COMPILE_TIME -DHAVE_SSSE3_AT_COMPILE_TIME -DHAVE_TIFF 
-DPAM_ENABLED -DSQLITE_ENABLED 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/apps 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/alg 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build/gcore 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/port 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/cmake-pkgsrc-build/port 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/frmts 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/frmts/mem 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/generic 
-I/tmp/work/geography/gdal-lib/work/g
 dal-3.11.0beta1/frmts/vrt 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/frmts/gtiff 
-I/tmp/work/geography/gdal-lib/work/.buildlink/include/xercesc 
-I/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/ogr/ogrsf_frmts/geojson/libjson
 -I/tmp/work/geography/gdal-lib/work/.buildlink/include/libxml2 
-I/tmp/work/geography/gdal-lib/work/.buildlink/include/geos -isystem 
/tmp/work/geography/gdal-lib/work/.buildlink/include -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/minizip -fvisibility=hidden -std=gnu++17 
-fPIC -Wall -Wextra -Winit-self -Wunused-parameter -Wmissing-declarations 
-Wlogical-op -Wshadow -Wmissing-include-dirs -Wformat -Werror=format-security 
-Wno-format-nonliteral -Werror=vla -Wno-clobbered -Wdate-time 
-Wnull-dereference -Wextra-semi -Wfloat-conversion -Wnon-virtual-dtor 
-Woverloaded-virtual -Wsuggest-override -fno-operator-names 
-Wzero-as-null-pointer-constant -Wold-style-cast -Weffc++ -MD -MT 
gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o -MF gcore/CMa
 keFiles/gcore.dir/gdalnodatamaskband.cpp.o.d -o 
gcore/CMakeFiles/gcore.dir/gdalnodatamaskband.cpp.o -c 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore/gdalnodatamaskband.cpp
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore/gdalnodatamaskband.cpp:
 In static member function 'static bool 
GDALNoDataMaskBand::IsNoDataInRange(double, GDALDataType)':
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/gcore/gdalnodatamaskband.cpp:191:20:
 error: 'isnan' was not declared in this scope; did you mean 'std::isnan'?
  191 | return isnan(dfNoDataValue) || isinf(dfNoDataValue) ||
  |^
  |std::isnan
In file included from 
/tmp/work/geography/gdal-lib/work/gdal-3.11.0beta1/port/cpl_port.h:129,
 from