Skip to content

Commit 1d418c1

Browse files
authored
Merge pull request #9593 from rouault/prepare_for_gdal_3_8_5
Prepare for GDAL 3.8.5
2 parents 355020a + 1b5b090 commit 1d418c1

File tree

10 files changed

+144
-12
lines changed

10 files changed

+144
-12
lines changed

CITATION.cff

+2-2
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.8.4
6-
date-released: 2024-02-08
5+
version: 3.8.5
6+
date-released: 2024-04-02
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

+132
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,135 @@
1+
# GDAL/OGR 3.8.5 Release Notes
2+
3+
GDAL 3.8.5 is a bugfix release.
4+
5+
## Build
6+
7+
* Disable my_test_sqlite3_ext in static builds
8+
* Fix false-positive -Wformat-truncation with clang 18 on fedora:rawhide CI
9+
* cpl_vsil_unix_stdio_64.cpp: avoid compiler warning related to ftello()
10+
* Fix compiler crash on gcore/overview.cpp with ICC 2024.0.2.29 (#9508)
11+
* CMake: Fix FindGEOS to remove use of deprecated exec_program()
12+
* CMake: fix NumPy detection when Intel MKL library is installed
13+
* CMake: add modern Apple OS (visionOS|tvOS|watchOS) support (#9550)
14+
* Minimal support for TileDB 2.21 to avoid build & test issues
15+
16+
## GDAL 3.8.5
17+
18+
### Port
19+
20+
* /vsiaz/: handle properly BlobEndpoint ending with a slash (#9519)
21+
22+
### Core
23+
24+
* QuietDeleteForCreateCopy(): forward source dataset open options (#9424)
25+
* Overview/RasterIO resampling: fix infinite looping when nodata has a big
26+
absolute value (#9427)
27+
28+
### Utilities
29+
30+
* gdalinfo_output.schema.json: add comment about size and proj:shape ordering
31+
* gdalinfo -json/gdal.Info(format='json'): avoid error/exception on engineering
32+
CRS (#9396)
33+
* gdalwarp: cutline zero-width sliver enhancement: avoid producing invalid
34+
polygons
35+
* gdal2tiles.py: fix exception when -v flag is used and overview tiles are
36+
generated (3.7.0 regression) (#9272)
37+
* gdalattachpct.py: fix it when output file is a VRT (#9513)
38+
39+
### Raster drivers
40+
41+
DIMAP driver:
42+
* add radiometric metadata
43+
44+
ERS driver:
45+
* avoid 'Attempt at recursively opening ERS dataset' when the .ers file
46+
references a .ecw (#9352)
47+
48+
GPKG driver:
49+
* avoid invalid use of pointer aliasing that caused ICC 2024.0.2.29 to
50+
generate invalid code (#9508)
51+
52+
GRIB driver:
53+
* avoid floating-point issues with ICC 2024.0.2.29 (#9508)
54+
55+
GTiff driver:
56+
* fix read error/use-after-free when reading COGs with mask from network
57+
storage (#9563)
58+
59+
JP2OpenJPEG driver:
60+
* CreateCopy(): limit number of resolutions taking into account minimum block
61+
width/height (#9236)
62+
63+
OGCAPI driver:
64+
* fix potential use-after-free on vector tiled layers
65+
66+
VRT driver:
67+
* VRTDerivedRasterBand: Support Int8, (U)Int64 with Python pixel functions
68+
* VRT/gdal_translate -of 200% 200%: make sure that the synthetized virtual
69+
overviews match the dimension of the source ones when possible
70+
* VRTPansharpenedDataset: allow to specify <OpenOptions> for <PanchroBand> and
71+
<SpectralBand>
72+
73+
## OGR 3.8.5
74+
75+
### Core
76+
77+
* OGRGeometry::getCurveGeometry(): avoid failures when building some compound
78+
curves with inferred circular strings (#9382)
79+
* OGRLayer::GetArrowSchema(): remove potential unaligned int32_t writes
80+
* CreateFieldFromArrowSchema(): don't propagate native subtype if we have to
81+
use a fallback main type
82+
83+
### Vector drivers
84+
85+
Arrow/Parquet driver:
86+
* fix inverted logic regarding spatial filtering of multipolygon with GeoArrow
87+
interleaved encoding
88+
89+
FlatGeoBuf driver:
90+
* Make sure vendored flatbuffers copy has a unique namespace
91+
* implement OGRLayer::GetDataset() (#9568)
92+
93+
GMLAS driver:
94+
* fix crash when reading CityGML files (r-spatial/sf#2371)
95+
96+
GPKG driver:
97+
* Ensure that mapping tables are inserted into gpkg_contents
98+
* Ensure that tables present in gpkgext_relations can be read
99+
100+
ILI2 driver:
101+
* emit an error and not just a warning when creating a dataset without a model
102+
file
103+
104+
ODS driver:
105+
* declare OLCStringsAsUTF8 on newly created layers
106+
107+
OpenFileGDB driver:
108+
* Correctly use "features" as related table type (instead of "feature")
109+
* writer: fix corrupted maximum blob size header field in some SetFeature()
110+
scenarios (#9388)
111+
* avoid issue with -fno-sanitize-recover=unsigned-integer-overflow with recent
112+
clang
113+
114+
Parquet driver:
115+
* avoid potential assertion/out-of-bounds access when a subset of row groups
116+
is selected
117+
118+
PMTiles driver:
119+
* fix 'Non increasing tile_id' error when opening some files (#9288)
120+
121+
Shapefile driver:
122+
* Fix bug when reading some .sbn spatial indices
123+
124+
XLSX driver:
125+
* declare OLCStringsAsUTF8 on newly created layers
126+
127+
## Python bindings
128+
129+
* gdal.Translate()/gdal.Warp()/etc.: make sure not to modify provided options[]
130+
array (#9259)
131+
* Fix gdal.Warp segfault with dst=None
132+
1133
# GDAL/OGR 3.8.4 Release Notes
2134

3135
GDAL 3.8.4 is a bugfix release.

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.8.4
1+
3.8.5

gcore/gdal_version.h.in

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef GDAL_VERSION_MAJOR
88
# define GDAL_VERSION_MAJOR 3
99
# define GDAL_VERSION_MINOR 8
10-
# define GDAL_VERSION_REV 4
10+
# define GDAL_VERSION_REV 5
1111
# define GDAL_VERSION_BUILD 0
1212
#endif
1313

@@ -24,9 +24,9 @@
2424

2525
#if !defined(DO_NOT_DEFINE_GDAL_DATE_NAME)
2626
#ifndef GDAL_RELEASE_DATE
27-
# define GDAL_RELEASE_DATE 20240208
27+
# define GDAL_RELEASE_DATE 20240402
2828
#endif
2929
#ifndef GDAL_RELEASE_NAME
30-
# define GDAL_RELEASE_NAME "3.8.4"
30+
# define GDAL_RELEASE_NAME "3.8.5"
3131
#endif
3232
#endif

ogr/ogrsf_frmts/arrow_common/ograrrowlayer.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4407,7 +4407,7 @@ inline int OGRArrowLayer::GetNextArrowArray(struct ArrowArrayStream *stream,
44074407
const auto nFeatureIdxCur = m_nFeatureIdx;
44084408
// TODO: We likely have an issue regarding FIDs based on m_nFeatureIdx
44094409
// when m_iFIDArrowColumn < 0, only a subset of row groups is
4410-
// selected, and this batch goes accross non consecutive row groups.
4410+
// selected, and this batch goes across non consecutive row groups.
44114411
for (int64_t i = 0; i < m_nIdxInBatch; ++i)
44124412
IncrFeatureIdx();
44134413

ogr/ogrsf_frmts/gpkg/ogrgeopackagedatasource.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9970,7 +9970,7 @@ bool GDALGeoPackageDataset::AddRelationship(
99709970
*
99719971
* However, if we don't insert the mapping table into gpkg_contents then it is no longer
99729972
* visible to some clients (eg ESRI software only allows opening tables that are present
9973-
* in gpkg_contents). So we'll do this anyway, for maximum compatiblity and flexibility.
9973+
* in gpkg_contents). So we'll do this anyway, for maximum compatibility and flexibility.
99749974
*
99759975
* More related discussion is at https://github.com/OSGeo/gdal/pull/9258
99769976
*/

ogr/ogrsf_frmts/parquet/ogr_parquet.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class OGRParquetLayer final : public OGRParquetLayerBase
8989
//! Iterator over m_asFeatureIdxRemapping
9090
std::vector<std::pair<int64_t, int64_t>>::iterator
9191
m_oFeatureIdxRemappingIter{};
92-
//! Feature index among the potentially restricted set of selected row gropus
92+
//! Feature index among the potentially restricted set of selected row groups
9393
int64_t m_nFeatureIdxSelected = 0;
9494
std::vector<int> m_anRequestedParquetColumns{}; // only valid when
9595
// m_bIgnoredFields is set

swig/python/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ reference documentation, but the https://gdal.org/api/python_bindings.html#tutor
1313
Dependencies
1414
------------
1515

16-
* libgdal (3.8.4 or greater) and header files (gdal-devel)
16+
* libgdal (3.8.5 or greater) and header files (gdal-devel)
1717
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
1818
required, but many examples and utilities will not work without it)
1919

swig/python/gdal-utils/osgeo_utils/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__package_name__ = "gdal-utils"
2-
gdal_utils_version = (3, 8, 4, 0)
2+
gdal_utils_version = (3, 8, 5, 0)
33
__version__ = ".".join(str(i) for i in gdal_utils_version)
44
__author__ = "Frank Warmerdam"
55
__author_email__ = "[email protected]"

swig/python/gdal-utils/osgeo_utils/gdalattachpct.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def doit(
127127

128128
if driver_name.upper() == "VRT":
129129
# For VRT, create the VRT first from the source dataset, so it
130-
# correctly referes to it
130+
# correctly refers to it
131131
out_ds = dst_driver.CreateCopy(dst_filename or "", src_ds)
132132
if out_ds is None:
133133
print(f"Cannot create {dst_filename}")

0 commit comments

Comments
 (0)