Skip to content

Commit cd9f4b0

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 6ac62f4 + d05c585 commit cd9f4b0

File tree

228 files changed

+12853
-1811
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+12853
-1811
lines changed

.github/workflows/code_checks.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
runs-on: ubuntu-24.04
162162
steps:
163163
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
164-
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
164+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
165165
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
166166

167167
other_checks:
@@ -190,7 +190,7 @@ jobs:
190190
- name: Checkout
191191
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
192192
- name: Set up Python
193-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
193+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
194194
with:
195195
python-version: 3.8
196196
- name: Install lint tool
@@ -223,7 +223,7 @@ jobs:
223223
- name: Checkout
224224
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
225225
- name: Set up Python
226-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
226+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
227227
with:
228228
python-version: 3.8
229229
- name: Check cmakelist

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
# We do that after running CMake to avoid CodeQL to trigger during CMake time,
109109
# in particular during HDF5 detection which is terribly slow (https://github.com/OSGeo/gdal/issues/9549)
110110
- name: Initialize CodeQL
111-
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
111+
uses: github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
112112
with:
113113
languages: ${{ matrix.language }}
114114
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -128,6 +128,6 @@ jobs:
128128
cmake --build build -j$(nproc)
129129
130130
- name: Perform CodeQL Analysis
131-
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
131+
uses: github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
132132
with:
133133
category: "/language:${{matrix.language}}"

.github/workflows/doc_checks.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
DEBIAN_FRONTEND: noninteractive
3232
run: |
3333
apt update
34-
apt install -y g++ cmake doxygen enchant-2 python3 python3-dev python3-pip python3-venv libproj-dev swig
34+
apt install -y g++ cmake doxygen enchant-2 python3 python3-dev python3-pip python3-venv libproj-dev swig libsqlite3-dev
3535
python3 -m venv create doc_env
3636
. doc_env/bin/activate
3737
python3 -m pip install -r doc/requirements.txt
@@ -50,7 +50,8 @@ jobs:
5050
-DDOXYGEN_FAIL_ON_WARNINGS=ON \
5151
-DGDAL_BUILD_OPTIONAL_DRIVERS=OFF \
5252
-DOGR_BUILD_OPTIONAL_DRIVERS=OFF \
53-
-DGDAL_ENABLE_DRIVER_GTI=ON
53+
-DGDAL_ENABLE_DRIVER_GTI=ON \
54+
-DOGR_ENABLE_DRIVER_GPKG=ON
5455
cmake --build . -j$(nproc)
5556
5657
- name: Print versions

.github/workflows/linux_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181

182182
- name: Login to Docker Hub
183183
if: env.CONTAINER_REGISTRY == 'docker.io'
184-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
184+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
185185
with:
186186
username: ${{ secrets.DOCKERHUB_USERNAME }}
187187
password: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,6 @@ jobs:
7171

7272
# Upload the results to GitHub's code scanning dashboard.
7373
- name: "Upload to code-scanning"
74-
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
74+
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
7575
with:
7676
sarif_file: results.sarif

.github/workflows/ubuntu_20.04/build.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ cmake "${GDAL_SOURCE_DIR:=..}" \
1515
-DCMAKE_INSTALL_PREFIX=/tmp/install-gdal \
1616
-DGDAL_USE_TIFF_INTERNAL=OFF \
1717
-DGDAL_USE_GEOTIFF_INTERNAL=OFF \
18-
-DGDAL_USE_EXPRTK=ON \
1918
-DECW_ROOT=/opt/libecwj2-3.3 \
2019
-DMRSID_ROOT=/usr/local \
2120
-DFileGDB_ROOT=/usr/local/FileGDB_API \

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ build:
2222
- doxygen
2323
- g++
2424
- libproj-dev
25+
- libsqlite3-dev
2526
- make
2627
- openjdk-11-jdk-headless
2728
- patchelf

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cff-version: 1.2.0
22
message: Please cite this software using these metadata or in the CITATION file.
33
type: software
44
title: GDAL
5-
version: 3.10.0
6-
date-released: 2024-11-01
5+
version: 3.11.0
6+
date-released: 2025-05-05
77
doi: 10.5281/zenodo.5884351
88
abstract: GDAL is a translator library for raster and vector geospatial data
99
formats that is released under an MIT style Open Source License by the Open

NEWS.md

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# GDAL/OGR 3.11.0 "Eganville" *Preliminary* Release Notes
2-
3-
In progress... up to revision 7587621a9c3ffe5cfaea482025c5f5a22e0a090a
1+
# GDAL/OGR 3.11.0 "Eganville" Release Notes
42

53
GDAL/OGR 3.11.0 is a feature release.
64
Those notes include changes since GDAL 3.10.0, but not already included in a
@@ -13,8 +11,9 @@ Highlight:
1311
* [RFC 104](https://gdal.org/en/latest/development/rfc/rfc104_gdal_cli.html):
1412
Adding a "gdal" front-end command line interface.
1513
- See the [list of commands](https://gdal.org/en/latest/programs/index.html#gdal-application)
16-
- Includes a completely new "gdal raster calc" utility.
17-
- Includes "gdal vsi list/copy/delete" (ports of Python sample scripts)
14+
- Includes new "gdal raster calc" and "gdal raster resclassify" utilities.
15+
- "gdal raster tile", C++ port of gdal2tiles, runs faster (3x to 6x in some cases)
16+
- Includes "gdal vsi list/copy/delete/move/sync" (ports of Python sample scripts)
1817
- Includes "gdal driver {driver_name}" for driver-specific commands.
1918
- Includes smart Bash autocompletion
2019
- Includes C, C++, Python API
@@ -94,7 +93,9 @@ See [MIGRATION_GUIDE.TXT](https://github.com/OSGeo/gdal/blob/release/3.11/MIGRAT
9493
* CMake: Switch from SameMinorVersion to SameMajorVersion compatibility
9594
* CMake: Fix PATHS keyword
9695
* CMake: Use NAMES_PER_DIR where needed
96+
* CMake: Export GDAL library targets
9797
* Fix compiler warning with libxml 2.14.0
98+
* Fix compiler warning with libarrow 20.0
9899

99100
## Docker
100101

@@ -137,6 +138,10 @@ See [MIGRATION_GUIDE.TXT](https://github.com/OSGeo/gdal/blob/release/3.11/MIGRAT
137138
* Add CPLQuietWarningsErrorHandler()
138139
* CPLGetPhysicalRAM(): cache result to avoid multiple file openings on repeated
139140
calls
141+
* infback9: Fix potential vulnerable cloned functions. (#12244, CVE-2016-9840)
142+
* Add VSIMove()
143+
* VSIMkdirRecursive(): fix VSIMdirRecursive('dir_name') (without slash)
144+
* CPLStrdod(): fix setting *endptr for values *starting* with inf/nan/etc. special values
140145

141146
### Core
142147

@@ -167,6 +172,16 @@ See [MIGRATION_GUIDE.TXT](https://github.com/OSGeo/gdal/blob/release/3.11/MIGRAT
167172
support APPEND_SUBDATASET=YES creation option
168173
* Add GDALIsValueInRangeOf()
169174
* Add GDALRasterBand::SetNoDataValueAsString()
175+
* Fix ComputeRasterMinMax() and ComputeStatistics() on a raster with all
176+
values to infinity
177+
* GDALComputeOvFactor(): try to return a power-of-two when possible (#12227)
178+
* Register KEA deferred plugin before HDF5
179+
* Improve error messages when creating a file with a known (deferred loading)
180+
driver but not installed
181+
* tilematrixset: add definitions of WorldMercatorWGS84Quad,
182+
PseudoTMS_GlobalMercator, GoogleCRS84Quad
183+
* GDALDriver::QuietDelete(): allow removing directories, except for containers
184+
of MapInfo and shapefiles
170185

171186
### Algorithms
172187

@@ -223,13 +238,19 @@ See [MIGRATION_GUIDE.TXT](https://github.com/OSGeo/gdal/blob/release/3.11/MIGRAT
223238
* gdalwarp: fail on invalid -et values
224239
* gdalwarp: in term progress, only display the short filename of the file being
225240
processed
241+
* gdalwarp: speed-up warping to COG with heavy transformers (TPS / geoloc)
242+
by avoiding to instantiate it twice (#12170)
243+
* gdalwarp: Emit error on invalid -srcnodata, -dstnodata
244+
* gdalwarp: Guard against numeric parsing failures in INIT_DEST
226245
* gdaldem: hillshade and slope: automatically set scale for geographic and
227246
projected CRS; add -xscale and -yscale
228247
* gdal_footprint: fix -lyr_name on a newly created dataset
248+
* gdal_rasterize: fix/simplify vertical/horizontal detection
229249
* add a gdal_minmax_location.py sample/unofficial script
230250
* gdal2tiles: apply srcnodata values in non-reprojected datasets
231251
* gdal2tiles: remap PIL (Python Imaging Library)' 'antialias' resampling to GDAL
232252
Lanczos (#12030)
253+
* gdal2tiles: fix wrong .kml file name and content at base resolution when --xyz is used
233254
* gdal2tiles: lealeft HTML: Enable the generated tile layer by default
234255
* gdal2tiles: change __version__ to be gdal.
235256
* rgb2pct: add --creation-option (#12031)
@@ -246,6 +267,9 @@ See [MIGRATION_GUIDE.TXT](https://github.com/OSGeo/gdal/blob/release/3.11/MIGRAT
246267
AVIF driver:
247268
* add read-only GeoHEIF support. Requires libavif master (#11333)
248269

270+
BMP driver:
271+
* fix reading files with BITMAPV4/BITMAPV5 headers (3.4 regression) (#12196)
272+
249273
COG driver:
250274
* add support for INTERLEAVE=BAND and TILE creation option (hyperspectral
251275
use cases)
@@ -288,9 +312,17 @@ HEIF driver:
288312
* add CreateCopy support (#11093)
289313
* add read-only GeoHEIF support. Requires libheif 1.19 (#11333)
290314

315+
HTTP driver:
316+
* Avoid warning with 'ogr2ogr out http://example.com/in.gpkg'
317+
291318
JPEGXL driver:
292319
* add support for reading Float16 (as Float32)
293320

321+
Leveller driver:
322+
* Fix for 64-bit platform compatibility (#12166)
323+
* Leveller: Increased highest supported document version number from 9 to 12.
324+
(#12191)
325+
294326
MBTiles driver:
295327
* Fix update with WEBP compression
296328

@@ -299,6 +331,7 @@ MEM driver:
299331

300332
MRF driver:
301333
* Fix JPEG max size and caching relative path handling (#11943)
334+
* DeflateBlock(): avoid potential buffer overrun
302335

303336
netCDF driver:
304337
* add support to identify a geolocation array for a variable that lacks a
@@ -336,6 +369,7 @@ STACIT driver:
336369
VRT driver:
337370
* VRT pixel functions: Add function to evaluate arbitrary expression (#11209)
338371
* VRT pixel functions: remove limitation to at least 2 sources for min/max builtin functions
372+
* VRT pixel functions: add 'reclassify' pixel function (#12232)
339373
* VRT pixel functions: Allow mul and sum to apply constant factor to a single
340374
band
341375
* allow to use a <VRTDataset> instead of a <SourceFilename> inside a
@@ -373,6 +407,7 @@ ZARR driver:
373407
* OGRGeometry classes: implement move constructor and move assignment operator
374408
* OGRGeometry classes: make clone() detect out-of-memory and return null
375409
* Add OGRPolygon::OGRPolygon(double x1, double y1, double x2, double y2)
410+
* Add OGRPolygon::OGRPolygon(const OGREnvelope &envelope) constructor
376411
* Add a OGRGeometryFactory::GetDefaultArcStepSize() method to get value of
377412
OGR_ARC_STEPSIZE config option
378413
* OGRGeometryToHexEWKB(): return empty string if out of memory happened
@@ -433,6 +468,8 @@ GeoJSON driver:
433468
* add a FOREIGN_MEMBERS=AUTO/ALL/NONE/STAC open option
434469
* writing: optimize speed of json_double_with_precision()
435470
* issue more warnings when invalid constructs are found (#11990)
471+
* do not advertise ODsCMeasuredGeometries, OLCMeasuredGeometries and
472+
ODsCMeasuredGeometries
436473

437474
GML driver:
438475
* add OGR_SCHEMA open option (RFC 103)
@@ -506,6 +543,10 @@ SQLite driver:
506543
* SQLite/GPKG: run PRELUDE_STATEMENTS after end of initialization, in
507544
particular after Spatialite loading (#11782)
508545

546+
TopoJSON driver:
547+
* do not advertise Z capabilities
548+
* read a top level 'crs' member (#12216)
549+
509550
VFK driver:
510551
* Fix invalid parcel "banana" geometries (#3376, #11688)
511552

@@ -515,12 +556,15 @@ XODR driver:
515556

516557
## SWIG Language Bindings
517558

559+
* Add Driver.CreateVector()
560+
518561
### CSharp bindings
519562

520563
* Add VSIGetMemFileBuffer
521564

522565
### Python bindings
523566

567+
* Accept CRS definition in osr.SpatialReference constructor
524568
* Add osgeo.gdal.VSIFile class
525569
* Add a osgeo.gdal_fsspec module that on import will register GDAL VSI file
526570
system handlers as fsspec AbstractFileSystem
@@ -534,6 +578,10 @@ XODR driver:
534578
* Accept NumPy types in Driver.Create
535579
* Support os.PathLike inputs to Driver.Rename, Driver.CopyFiles
536580
* Expose gdal_translate -epo and -eco from Python
581+
* Add Dataset.ReadAsMaskedArray()
582+
* Add mask_resample_alg arg to ReadAsArray methods
583+
* fix compatibility issue with SWIG 4.3.1 and PYTHONWARNINGS=
584+
* avoid deprecation warning with setuptools >= 77.0.3
537585

538586
# GDAL/OGR 3.10.3 Release Notes
539587

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11.0
1+
3.12.0

0 commit comments

Comments
 (0)