Skip to content

Commit 258d73a

Browse files
committed
Prepare for GDAL 3.2.1
1 parent 0ce239f commit 258d73a

8 files changed

Lines changed: 153 additions & 10 deletions

File tree

‎gdal/GDALmake.opt.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ GDAL_INCLUDE = -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore \
127127
# libtool targets and help variables
128128
LIBGDAL := libgdal.la
129129
LIBGDAL_CURRENT := 28
130-
LIBGDAL_REVISION := 0
130+
LIBGDAL_REVISION := 1
131131
LIBGDAL_AGE := 0
132132

133133
# native build targets and variables

‎gdal/NEWS‎

Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,146 @@
1+
= GDAL/OGR 3.2.1 Release Notes =
2+
3+
The 3.2.1 release is a bug fix release.
4+
5+
== Build ==
6+
7+
* Windows: add missing makefile.vc for HEIF driver
8+
* Windows: add missing build support for OGCAPI driver
9+
* gdal-config (non installed): add -I/gnm in CFLAGS
10+
* Add some missing <limits> includes for gcc11 or recent clang
11+
12+
== Resource files ==
13+
14+
* tms_MapML_CBMTILE.json: fix it to use correct resolution / scaleDenominator. Unfortunately this makes it non-usable by gdal2tiles, but still by the COG driver
15+
16+
== GDAL algorithms ==
17+
18+
* GDALSuggestedWarpOutput2(): avoid potential crash if an approximate transformer is provided
19+
* Warper ComputeSourceWindow(): avoid potential integer overflow with a ill-behaved transformer/inverse projection
20+
Warper: fix assertion/crash in debug mode in GWKCheckAndComputeSrcOffsets()
21+
* Pansharpening: fix wrong band assingment when input multispectral bands not in order 1,2,... and NoData set as PansharpeningOptions and not present in input bands
22+
23+
== GDAL core ==
24+
25+
* /vsimem/: fix memleak if destroying the C++ handle with delete instead of using VSIFCloseL(). (oss-fuzz #28422)
26+
* /vsisubfile/: fix memleak if destroying the C++ handle with delete instead of using VSIFCloseL(). (oss-fuzz #28446)
27+
* Python embedding: fix symbol conflicts with python library (#3215)
28+
29+
== GDAL utilities ==
30+
31+
* gdal_rasterize: make -i work again (#3124)
32+
* gdal_translate -tr: make non-nearest resampling honour the specified resolution to avoid potential sub-pixel misalignment when the spatial extent, resolution and dimensions in pixels don't perfectly match
33+
* gdalwarp: make -of COG work with multiple input sources when BigTIFF temporary output is needed (#3212)
34+
* gdalwarp: preserve scale/offset settings of source bands to output (#3232)
35+
36+
== GDAL drivers ==
37+
38+
Multi-driver:
39+
* gdal2tiles/COG/MBTiles/GeoPackage: adjustments for EPSG:3857 output (due to PROJ 8 changes)
40+
* Raw datasets: increase the default max mem alloc to 1 GB for 64 bit processes, and add a RAW_MEM_ALLOC_LIMIT_MB config option to allow the user to specify a higher value (#3213)
41+
42+
BLX driver:
43+
* fix potential free of uninitialized variable in case memory allocation would fail
44+
45+
FIT driver:
46+
* avoid potential integer overflow with PAGESIZE creation option (oss-fuzz #26673)
47+
48+
FITS driver:
49+
* display more informative error message when opening raster dataset in vector mode, or vice-verca
50+
* avoid stack smash overflow with 32 bit Linux builds in GetRawBinaryLayout()
51+
* set physical filename when opening subdataset
52+
* add support for creation and update of binary tables
53+
54+
GRIB driver:
55+
* avoid erroneous unit conversion when section 4 has vertical values coordinates (#3158)
56+
* add surface type 150 = Generalized Vertical Height Coordinate (#3158)
57+
58+
HDF5 driver:
59+
* fix reading netCDF4/HDF5 files whose HDF5 signature is not at offset 0 (#3188)
60+
61+
HFA driver:
62+
* fix reading SRS with NAD83 favors, like 'NAD83(CORS96)'
63+
64+
MRF driver:
65+
* Restore raw Lerc1 detection (#3109)
66+
67+
netCDF driver:
68+
* fix reading netCDF4/HDF5 files whose HDF5 signature is not at offset 0 (#3188)
69+
* accept relative variations in X/longitude and Y/latitude spacing of up to 0.05%. Add a GDAL_NETCDF_IGNORE_EQUALLY_SPACED_XY_CHECK config option to ignore those checks if needed (#3244)
70+
71+
PCRaster / libcsf:
72+
* validate value before cast. (oss-fuzz #28928 and #29029)
73+
74+
VRT driver:
75+
* VRTPansharpenedDataset: fix crash when the spectral bands have no nodata value, but we have one declared in PansharpeningOptions, and when the VRTPansharpenedDataset exposes overviews (#3189)
76+
77+
WCS driver:
78+
* fix memory leak in error code path (oss-fuzz #28345)
79+
80+
WMS driver:
81+
* properly deal with northing,easting ordered CRS in WMS 1.3.0 when using connection string being a GetMap URL request (#3191)
82+
83+
WMTS driver:
84+
* Map CURLE_FILE_COULDNT_READ_FILE to 404 (#3187)
85+
86+
XYZ driver:
87+
* support reading datasets organized by columns, such as the ones of https://www.opengeodata.nrw.de/produkte/geobasis/hm/dgm1_xyz/dgm1_xyz
88+
* avoid harmless floating point division by zero (oss-fuzz #27740)
89+
90+
== OGR core ==
91+
92+
* OGRFeature::GetFieldAsString() and GeoJSON output: do not output Float32 with excessive precision
93+
* OGR SQL: fix potential crash or incorrect result on multi column ORDER BY (#3249)
94+
* OGRSpatialReference::GetEPSGGeogCS(): make it use database lookups if needed (and avoid misidentification of 'NAD83(CORS96)' for example
95+
* OGRSpatialReference::exportToWKT(): add a option to allow export of Geographic/Projected 3D CRS in WKT1_GDAL
96+
* GetEPSGGeogCS(): fix when projected CRS can't be exported to WKT2
97+
* OGRShapeCreateCompoundCurve(): fix memory leak in error code path. (oss-fuzz #28923)
98+
99+
== OGR drivers ==
100+
101+
DXF driver:
102+
* Skip hatch polyline segments with one vertex
103+
104+
Elasticsearch driver:
105+
* support WKT geo_shape encoding
106+
* make GetExtent() use server-side query for geo_shape if ES >= 7.8 and XPack is installed
107+
* fix GetFeatureCount() when SetAttributeFilter() is a ElasticSearch JSON filter
108+
* add open options for timeouts and maximum number of features
109+
110+
FlatGeobuf driver:
111+
* add editable capabilities (#3169)
112+
* Port upstream changes to fix oss-fuzz #27530
113+
114+
GeoJSON driver:
115+
* accept files starting with {"bbox":...,"features":[... (#1537)
116+
* accept file containing a Feature object and starting with a large properties (#3280)
117+
* writer: avoid CPLDebug() messages when writing BBOX in RFC7946 mode
118+
* writer: avoid invalid .0 suffix to be added to numeric values like 1eXX (#3172)
119+
120+
GML driver:
121+
* GML geometry parsing: handle km unit for radius of arcs (#3118)
122+
* GML geometry parsing: avoid potential exponential complexity on broken XML (oss-fuzz #27301)
123+
* GML geometry parsing: fix nullptr dereference on invalid GML (oss-fuzz #28040)
124+
125+
MITAB driver:
126+
* avoid casting invalid value to enumerated type (oss-fuzz #26770)
127+
128+
NAS driver:
129+
* don't skip prescan, if NAS_GFS_TEMPLATE is given, but still don't write .gfs
130+
131+
PostgreSQL driver:
132+
* on reading, instantiate SRS from EPSG when possible instead of srtext to avoid axis order issues, and strip TOWGS84 on known datum (#3174)
133+
* when detecting srid from table contents, ignore null geometries
134+
135+
WFS driver:
136+
* fix CreateFeature() for WFS 2 (#3323). And for WFS 2, make CreateFeature() and SetFeature() use GML 3
137+
138+
== Python bindings ==
139+
140+
* osgeo/__init__.py - add python version check and deprecation warning. GDAL 3.2.X will be the last release supporting Python 2.7. Python 3.6 or above will be required for GDAL 3.3
141+
* Remove swig/python/[gdal|ogr|osr|gdalconst|gdalnumeric].py (#3149)
142+
* Implement correct behavior for copy.copy() and copy.deepcopy() on a Geometry object (#3278)
143+
1144
= GDAL/OGR 3.2.0 Release Notes =
2145

3146
== In a nutshell... ==

‎gdal/VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.2.0
1+
3.2.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 2
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 20201026
27+
# define GDAL_RELEASE_DATE 20201229
2828
#endif
2929
#ifndef GDAL_RELEASE_NAME
30-
# define GDAL_RELEASE_NAME "3.2.0"
30+
# define GDAL_RELEASE_NAME "3.2.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.0200';
147-
our $GDAL_VERSION = '3.2.0';
146+
our $VERSION = '3.0201';
147+
our $GDAL_VERSION = '3.2.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.0200'; # this needs to be the same as that in gdal_perl.i
129+
our $VERSION = '3.0201'; # 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.2.0 or greater) and header files (gdal-devel)
19+
* libgdal (3.2.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/setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# Howard Butler hobu.inc@gmail.com
88

99

10-
gdal_version = '3.2.0'
10+
gdal_version = '3.2.1'
1111

1212
import sys
1313
import os

0 commit comments

Comments
 (0)