Skip to content

Commit f7f80b3

Browse files
committed
Prepare for GDAL 3.3.1
1 parent 6de923c commit f7f80b3

File tree

9 files changed

+171
-11
lines changed

9 files changed

+171
-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 = -I$(GDAL_ROOT)/port -I$(GDAL_ROOT)/gcore \
128128
# libtool targets and help variables
129129
LIBGDAL := libgdal.la
130130
LIBGDAL_CURRENT := 29
131-
LIBGDAL_REVISION := 0
131+
LIBGDAL_REVISION := 1
132132
LIBGDAL_AGE := 0
133133

134134
# native build targets and variables

gdal/NEWS

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,163 @@
1+
= GDAL/OGR 3.3.1 Release Notes =
2+
3+
The 3.3.1 release is a bug fix release.
4+
5+
== Build ==
6+
7+
* configure: fix explicit disabling of geos/sfcgal
8+
* fix build against OpenEXR 3.0.1 (#3770)
9+
* fix lack of compilation of nasakeywordhandler.o with some old/non-gnu
10+
versions of grep (#3836)
11+
12+
== Port ==
13+
14+
* /vsiaz/: avoid appending same chunk several times
15+
* /vsiaz/: advertize missing AZURE_NO_SIGN_REQUEST option
16+
* IVSIS3LikeFSHandler::Sync(): add missing lock
17+
* VSIS3FSHandler::GetOptions(): fix non-XML conformity (fixes
18+
https://github.com/postgis/postgis/pull/618#discussion_r652143176)
19+
* /vsiswift/: Fix openstack swift endpoint detection, add application_credential
20+
authentication support (#3960)
21+
* /vsiswift/: advertize missing options
22+
* Fix incorrect ODBC type mapping for a number of SQL types
23+
24+
== GDAL utilities ==
25+
26+
* gdal_contour: fix bad coordinate order when outputing from raster with
27+
geographic CRS to KML driver (#3757)
28+
* gdalasyncread.cpp: add missing .h to gdal_version include. (#3951)
29+
30+
== Python scripts ==
31+
32+
* gdalattachpct.py: and add types hints and init `driver_name` variable
33+
* osgeo_utils/auxiliary/color_table.py - fix type hints
34+
* osgeo_utils/auxiliary/array_util.py - add ArrayLike, ScalarLike,
35+
ArrayOrScalarLike types (to be used instead of NumpyCompatibleArray,
36+
NumpyCompatibleArrayOrReal), removes numpy dependency
37+
* osr_util.py, gdallocationinfo.py, numpy_util.py - use new types
38+
* osgeo_utils/auxiliary/osr_util.py - get_srs() - add `default_axis_order` flag
39+
(with get and set) to allow the user to change the default; add get_srs_pj(),
40+
are_srs_equivalent() support functions
41+
* osgeo_utils/samples/gdallocationinfo.py - adapt for the new axis_order variable
42+
* util.py - `get_bands(ovr_idx)` to support also negative `ovr_idx` and resolution
43+
* osgeo_utils/auxiliary/base.py - fix `num()`
44+
* osgeo_utils/auxiliary/util.py - fix `get_bands()` for `ovr_idx==0`
45+
* batch_creator.py - accept also `root: str`
46+
* gdal_calc.py - fix type hint - color_table: Optional[ColorTableLike]
47+
* osgeo_utils/auxiliary/color_palette.py - merge read() + read_color_file()
48+
logic and fix the functions for reading qlr, qml files; rename some internal
49+
functions
50+
* osgeo_utils/auxiliary/color_table.py - get_color_palette now raises an
51+
Exception to indicate a failure
52+
53+
== GDAL core ==
54+
55+
* GDALRasterBand::AsMDArray(): fix data axis to SRS Axis mapping in the return
56+
of GetSpatialRef()
57+
* GDALMDArray::AsClassicDataset(): fix RasterIO() when buffer data type is not
58+
native data type
59+
* fixed issue with GDALLoadRPBFile failing when RPB file does not contain
60+
errBias or errRand fields
61+
* GMLJP2v2 writing: fix axis order issue for gml:Envelope (#3866)
62+
* Overview/rasterio: fix RMS on large Float32 values
63+
64+
== GDAL algorithms ==
65+
66+
* Warp kernel: prevent potential int overflows for > 2 GB work buffers
67+
68+
== GDAL drivers ==
69+
70+
COG driver:
71+
* don't crash if GDALCreateGenImgProjTransformer2() fails
72+
73+
GRIB driver:
74+
* add/fill a few GRIB1 ECMWF table to read a ERA5 product
75+
* turn debug messages about unknown GRIB1 table as warnings
76+
77+
GTiff driver:
78+
* GTiff/COG: fix overviews with NaN nodata value
79+
* Fix RAT SetDefaultRAT for GTiff driver (#3783)
80+
* when reading NoData value of Float32 dataset, cast it to float to avoid
81+
overprecision (#3791)
82+
* GTiff signedbyte: do not write 0 values for tiles/strips entirely at a
83+
negative nodata value (#3984)
84+
* Internal libtiff: fix when writing a IFD with a single tile that is a sparse
85+
one, on big endian hosts
86+
* Internal libtiff: merge upstream changes to make JPEG-in-TIFF generation work
87+
with mozjpeg and libjpeg 9d
88+
89+
HDF5 driver:
90+
* multidim API: fix crash when extracting a field from a compound HDF5 data type
91+
92+
netCDF driver:
93+
* fix wrong offseting by -360 of longitude values when huge nodata value found
94+
at beginning or end of line
95+
* be more restrictive on axis to decide if to advertize a geotransform
96+
97+
PostgisRaster driver:
98+
* support for libpq services (#3820)
99+
100+
== OGR core ==
101+
102+
* Support multiline WKT geometry input
103+
* OGRSQL: fix wrong evaluation of attribute filter when a OR with >= 3 clauses
104+
is nested inside in another OR
105+
* OGRSQL: Support ISO-8601 literal dates with IN operator (#3977)
106+
* OGRFeature::GetFieldAsSerializedJSon(): fix nullptr dereference on empty
107+
string list (#3831)
108+
109+
== OGRSpatialReference ==
110+
111+
* Fix crash in AutoIdentifyEPSG/GetEPSGGeogCS() on some WKTs (#3915)
112+
* WKT: prevent putting quotes around spatial CS type
113+
* Add `DERIVEDPROJCRS` to WKT keywords for `OGRSpatialReference::SetFromUserInput`
114+
* Support GetLinearUnits for ellipsoidal and spherical coordinate systems that
115+
have a height axis (#4030)
116+
117+
== OGR drivers ==
118+
119+
FlatGeobuf driver:
120+
* accept COORDINATEMETADATA[] construct on reading but ignore it
121+
122+
GeoJSON driver:
123+
* GeoJSON writer: emit error msg when geometry type is not supported in
124+
GeoJSON (#4006)
125+
126+
GeoPackage driver:
127+
* accept CreateField with a column with the fid column name and type=real,
128+
width=20, precision=0
129+
* add code to correct files with wrong gpkg_metadata_reference_column_name_update
130+
trigger definition.
131+
132+
MapInfo driver:
133+
* Fix mapping of mapinfo symbol numbers to corresponding OGR symbol IDs
134+
135+
OCI driver:
136+
* Fix the Oracle DB connection when user and pwd are empty, while Oracle wallet
137+
is used. (#3768)
138+
* Don't try to create new layer with TRUNCATE option (#4027)
139+
140+
PLScenes driver:
141+
* add PSScene and SkySatVideo item types to conf, and update other item types
142+
143+
Shapefile driver:
144+
* fix wrong SRS when reading a WGS 84 SRS with a TOWGS84[0,0,0,0,0,0,0] (#3958)
145+
146+
SQLite driver:
147+
* fix crash when calling GetMetadataItem() with domain==nullptr
148+
* VirtualOGR module: avoid bad interaction with PROJ 8.1 database handling
149+
150+
VRT driver:
151+
* Fix vrt spatial filter for geometry columns with space
152+
153+
== Python bindings ==
154+
155+
* Python >= 3.8 import: fix FileNotFoundError when PATH has nonexistent paths
156+
on Windows (#3898)
157+
* fix MDArray.ReadAsArray() with CInt16/CInt32 data type
158+
* fix crash when reading null strings with MDArray.Read()
159+
* fix memleak in gdal|ogr|osr.DontUseExceptions()
160+
1161
= GDAL/OGR 3.3.0 Release Notes
2162

3163
== In a nutshell... ==

gdal/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.3.0
1+
3.3.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 3
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 20210426
27+
# define GDAL_RELEASE_DATE 20210628
2828
#endif
2929
#ifndef GDAL_RELEASE_NAME
30-
# define GDAL_RELEASE_NAME "3.3.0"
30+
# define GDAL_RELEASE_NAME "3.3.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.0300';
147-
our $GDAL_VERSION = '3.3.0';
146+
our $VERSION = '3.0301';
147+
our $GDAL_VERSION = '3.3.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.0300'; # this needs to be the same as that in gdal_perl.i
129+
our $VERSION = '3.0301'; # 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.3.0 or greater) and header files (gdal-devel)
19+
* libgdal (3.3.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, 3, 0, 7)
2+
gdal_utils_version = (3, 3, 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.3.0'
10+
gdal_version = '3.3.1'
1111

1212
import sys
1313
import os

0 commit comments

Comments
 (0)