Skip to content

Commit a2f0fcb

Browse files
committed
Prepare for GDAL 3.4.1
1 parent e7456d3 commit a2f0fcb

File tree

9 files changed

+181
-11
lines changed

9 files changed

+181
-11
lines changed

gdal/GDALmake.opt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ GDAL_INCLUDE = -iquote $(GDAL_ROOT)/port -iquote $(GDAL_ROOT)/gcore \
128128
# libtool targets and help variables
129129
LIBGDAL := libgdal.la
130130
LIBGDAL_CURRENT := 30
131-
LIBGDAL_REVISION := 0
131+
LIBGDAL_REVISION := 1
132132
LIBGDAL_AGE := 0
133133

134134
# native build targets and variables

gdal/NEWS.md

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,173 @@
1+
# GDAL/OGR 3.4.1 Release Notes
2+
3+
## Build
4+
5+
* configure.ac: fix detection of OpenEXR >= 3 (#4766)
6+
* Add support for PCRE2 (to replace deprecated PCRE) (#4822)
7+
* nmake.opt: fix wrong variable name in example MSODBCSQL_LIB
8+
* Add support for external libqhull_r (#4040)
9+
10+
## GDAL 3.4.1 - Overview of Changes
11+
12+
### Algorithms
13+
14+
* viewshed.cpp: remove hidden bidirectional unicode character in code comment
15+
16+
### Port
17+
18+
* CPLRecodeIconv(): avoid potential unsigned integer overflow (ossfuzz #41201)
19+
* CPLRecode(): ZIP support: avoid warnings on MacOS
20+
* IVSIS3LikeFSHandler::CopyFile(): always take into account ret code of CopyObject()
21+
* CPLZLibInflate(): workaround issue with /opt/intel/oneapi/intelpython/latest/lib/libz.so.1 from intel/oneapi-basekit Docker image
22+
23+
### Core
24+
25+
* GDALDataset::MarkSuppressOnClose(): delete auxiliary files (#4791)
26+
* GDALPamRasterBand::CloneInfo(): deal correctly with NaN nodata to avoid generating useless .aux.xml file (#4847)
27+
* External overviews: automatically turn PLANARCONFIG_CONTIG for WebP overviews
28+
29+
### Utilities
30+
31+
* gdaladdo -clean: remove overviews of mask (#1047)
32+
* gdalwarp -crop_to_cutline: fix extremely long loop (#4826)
33+
* gdalwarp: do not emit "Point outside of projection domain" / "tolerance condition error" (#4934)
34+
* gdal_polygonize.py: remove use of Unicode double quote characters
35+
* gdal_polygonize.py: make -8 switch work again (#5000)
36+
* gdal_sieve.py: fix exception when source dataset has no nodata value (3.4.0 regression) (#4899)
37+
* gdal2tiles: making --no-kml option takes effect (#4936)
38+
* gdal2tiles: XML escape input filename (#5032)
39+
40+
### Raster drivers
41+
42+
COG driver:
43+
* only create RGB JPEG with mask if 4-band is alpha (#4853)
44+
* fix potential generation failure when main imagery has overview and mask none
45+
46+
ECW driver:
47+
* do not try to open UInt32 JPEG2000 if the SDK is buggy (#3860)
48+
49+
ERS driver:
50+
* Add support for comments in ERS files (#4835)
51+
52+
GRIB driver:
53+
* fix thread-safetey of errSprintf()
54+
* avoid read heap buffer overflow due to inappropriate split-and-swap on dataset with weird georeferencing (ossfuzz #41260, #41637)
55+
* fix writing negative longitude of natural origin for Transverse Mercator
56+
57+
GTiff driver:
58+
* only emit warnings on libgeotiff PROJ errors (#4801)
59+
* Initialize jxl structures with zeros.
60+
* LERC overview related improvements (#4848):
61+
+ COMPRESS_OVERVIEW configuration option now honours LERC_DEFLATE and LERC_ZSTD for external overviews
62+
+ MAX_Z_ERROR_OVERVIEW configuration option is added for LERC compressed internal and external overviews.
63+
+ ZLEVEL_OVERVIEW configuration option is added for DEFLATE/LERC_DEFLATE compressed internal and external overviews.
64+
+ ZSTD_LEVEL_OVERVIEW configuration option is added for ZSTD/LERC_ZSTD compressed internal and external overviews.
65+
* fix performance issue when reading transfer functions (#4923)
66+
* propagate SPARSE_OK to overviews (#4932)
67+
* avoid huge memory allocation when generating overviews on large single-band 1-bit tiled files (#4932)
68+
* make SetGCPs(), SetGeoTransform(), SetSpatialRef(), SetNoDataValue(), SetMetadata[Item]() write to PAM .aux.xml on read only files (#4877)
69+
* add support for reading/writing color table from/into PAM .aux.xml (#4897)
70+
* do not warn about buggy Sentinel1 geotiff files use a wrong 4326 code for the ellipsoid
71+
* Internal libtiff: fix issue with rewrite-in-place logic of libtiff #309
72+
73+
KEA driver:
74+
* print error message when opening of kea file fails
75+
76+
NITF driver:
77+
* Add ISO-8859-1 decoding for file and image header metadata
78+
79+
PCIDSK driver:
80+
* fix write heap-buffer-overflow (ossfuzz #41993)
81+
82+
PDS4 driver:
83+
* write conformant Equirectangular when input raster is a geographic CRS
84+
85+
USGSDEM driver:
86+
* fix reading datasets with 1025 byte records ending with line feed (#5007)
87+
88+
VRT driver:
89+
* Warped VRT: fix issue with blocks without sources and alpha band (#4997)
90+
91+
XYZ driver:
92+
* Fix incorrect failure to open ASCII-file due to floating point comparison
93+
94+
Zarr driver:
95+
* be robust to duplicated array and group names in NCZarr metadata, which could lead to performance issues
96+
* fixes 'runtime error: reference binding to null pointer of type 'unsigned char' (ossfuzz #41517)
97+
98+
## OGR 3.4.1 - Overview of Changes
99+
100+
### OGRSpatialReference
101+
102+
* OGR_CT: add a OGR_CT_PREFER_OFFICIAL_SRS_DEF config option
103+
104+
### Vector drivers
105+
106+
DXF driver:
107+
* Do not copy final DXF when MarkSuppressOnClose was called
108+
109+
DWG/DGNv8 drivers:
110+
* avoid potential crash with ODA 2022 on Linux when driver unloading doesn't occur properly
111+
* DWG: Add block attributes to entities layer (#5013)
112+
113+
ElasticSearch driver:
114+
* do not try to open reserved .geoip_databases to avoid error message with recent Elastic versions
115+
116+
GPKG driver:
117+
* fix nullptr dereference on corrupted databases with sqlite >= 3.35
118+
119+
MSSQL driver:
120+
* fix compilation warnings on Linux
121+
* avoid GetLayerDefn() to return null, and call it in GetExtent()
122+
* DeleteLayer(): remove suspicious test 'strlen(pszTableName) == 0' that causes a read after free
123+
* fix issue when inserting strings in bulk copy mode on Linux
124+
* make GetNextFeature() end bulk copy mode
125+
* CreateFeature in bulk copy mode: make it use feature geometry SRID when set
126+
* disable bulk mode when a UUID field is found, as this doesn't work currently
127+
* do not set field width when reading smallint/int/bigint/float/real columns, and correctly roundtrip smallint/Int16 (#3345)
128+
129+
ODS driver:
130+
* avoid crashing 'floating-point exception' when evaluating -2147483648 % -1 (ossfuzz #41541)
131+
132+
OpenFileGDB driver:
133+
* correctly parse raster fields of type == 2 which are inlined binary content (#4881)
134+
135+
PG driver:
136+
* skip all leading whitespace in SQL statements. (#4787)
137+
138+
Selafin driver:
139+
* fix time step count when none dataset in the file
140+
141+
Shape driver:
142+
* better deal with ETRS89 based CRS with TOWGS84[0,0,0,0,0,0,0]
143+
144+
SQLite driver:
145+
* Various fixes for MacOS system SQLite
146+
147+
S57 driver:
148+
* enable recoding to UTF-8 by default (RECODE_BY_DSSI=YES open option) (#4751)
149+
150+
TopoJSON driver:
151+
* fix duplicate 'id' field, and other potential issues when reading fields
152+
153+
WFS driver:
154+
* if COUNT is present in WFS >= 2, use it as the page size. Also clarify doc
155+
156+
## SWIG Language Bindings
157+
158+
All bindings:
159+
* add missing CPLES_SQLI constant (#4878)
160+
161+
CSharp bindings:
162+
* Re-target apps to netcoreapp2.2, fix broken build (#4792)
163+
164+
Java bindings:
165+
* add_javadoc.c: robustness fixes and fix crash on MacOS
166+
167+
Python bindings:
168+
* Change GetFieldAsBinary to use VSIMalloc. (#4774)
169+
* install target: fix/workaround for setuptools 60.0 and Debian --install-layout
170+
1171
# GDAL/OGR 3.4.0 Release Notes
2172

3173
## In a nutshell...

gdal/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.0
1+
3.4.1

gdal/gcore/gdal_version.h.in

Lines changed: 3 additions & 3 deletions
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 4
10-
# define GDAL_VERSION_REV 0
10+
# define GDAL_VERSION_REV 1
1111
# define GDAL_VERSION_BUILD 0
1212
#endif
1313

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

2525
#if !defined(DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME)
2626
#ifndef GDAL_RELEASE_DATE
27-
# define GDAL_RELEASE_DATE 20211104
27+
# define GDAL_RELEASE_DATE 20211227
2828
#endif
2929
#ifndef GDAL_RELEASE_NAME
30-
# define GDAL_RELEASE_NAME "3.4.0"
30+
# define GDAL_RELEASE_NAME "3.4.1"
3131
#endif
3232
#endif

gdal/swig/include/perl/gdal_perl.i

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ use Geo::GDAL::Const;
143143
# Note that the 1/100000 digits may be used to create more than one
144144
# CPAN release from one GDAL release.
145145

146-
our $VERSION = '3.0400';
147-
our $GDAL_VERSION = '3.4.0';
146+
our $VERSION = '3.0401';
147+
our $GDAL_VERSION = '3.4.1';
148148

149149
=pod
150150

gdal/swig/include/perl/ogr_perl.i

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ALTERED_DESTROY(OGRGeometryShadow, OGRc, delete_Geometry)
126126
%perlcode %{
127127

128128
package Geo::OGR;
129-
our $VERSION = '3.0400'; # this needs to be the same as that in gdal_perl.i
129+
our $VERSION = '3.0401'; # this needs to be the same as that in gdal_perl.i
130130

131131
Geo::GDAL->import(qw(:INTERNAL));
132132

gdal/swig/python/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ reference documentation, but the `GDAL API Tutorial`_ includes Python examples.
1616
Dependencies
1717
------------
1818

19-
* libgdal (3.4.0 or greater) and header files (gdal-devel)
19+
* libgdal (3.4.1 or greater) and header files (gdal-devel)
2020
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
2121
required, but many examples and utilities will not work without it)
2222

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

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

gdal/swig/python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Howard Butler [email protected]
88

99

10-
gdal_version = '3.4.0'
10+
gdal_version = '3.4.1'
1111

1212
import sys
1313
import os

0 commit comments

Comments
 (0)