Skip to content

Commit

Permalink
Prepare for GDAL 3.5.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Oct 21, 2022
1 parent 43a784a commit d85335f
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 8 deletions.
2 changes: 1 addition & 1 deletion GDALmake.opt.in
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ GDAL_INCLUDE = -iquote $(GDAL_ROOT)/port -iquote $(GDAL_ROOT)/generated_headers
# libtool targets and help variables
LIBGDAL := libgdal.la
LIBGDAL_CURRENT := 31
LIBGDAL_REVISION := 2
LIBGDAL_REVISION := 3
LIBGDAL_AGE := 0

# native build targets and variables
Expand Down
104 changes: 104 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,107 @@
# GDAL/OGR 3.5.3 Release Notes

## Build

* Fix compiler warnings with clang 15
* CMake: fix build with Ubuntu 18
* CMake: fix issue with gdal_target_interafaces

## GDAL 3.5.3

### Port

* CPLODBCStatement::Fetch(): do not emit error message when fetching backwards or with offset > 0 when there is no more rows (#6368)
* CPLHTTPFetch(): ignore SSL/TLS errors about non-properly terminated connections

### Algorithms

* Geoloc: optimize backmap generation time when using temporary GTiff dataset backing
* Waper: fix issue with min/max/med/etc. down sampling on edges (#6526)

### Utilities

* gdal2tiles: remove likely useless Python 2.x era code related to UTF-8 support (#6338)
* GDALScript.main(): properly output backtrace when an exception occurs (#6417)
* gdal_calc.py: add missing data types (64 bit integer, complex ones) in DefaultNDVLookup map (#6417)

### Raster drivers

DIMAP driver:
* Parse and emit geometric metadatas (#6343)

NITF driver:
* RPFTOC use fixed values for frame size in case of CADRG and CIB (as specified)
* RPF use more robust way to detect legends/overviews

GTiff driver:
* be robust to leading <?xml version=1.0 encoding=UTF-8?> marker before the root GDALMetadata element
* CreateCopy: fix marking alpha channels that are not the last one (#6399)

MAP driver:
* fix nullptr dereference on invalid files (ossfuzz #52359)

NITF driver:
* writing: avoid CLEVEL to go down when writing several images of different sizes

SENTINEL2 driver:
* avoid potential stack-buffer-overflow (ossfuzz #52499)

VRT driver:
* serialization: do not (generally) open source band when serialization of a ComplexSource with NODATA (qgis/QGIS#48052)

ZARR driver:
* do not open non-existant dataset when prefixing with ZARR:, and add more informative error messages for quoting errors and/or lack of /vsicurl/ prefix

## OGR 3.5.3

### Utilities

* ogr2ogr: fix -makevalid on geometry collections (#6340)

### Vector drivers

CAD driver:
* libopencad: avoid use of invalid memory/crash on corrupted files (ossfuzz #51091)
* libopencad: avoid casting an invalid value as ResolutionUnit (ossfuzz #51826)

CSV driver:
* fix reading point of coord 0,0 with X/Y_POSSIBLE_NAMES open options (#6366)
* push the maximum size of a line to 10 million by default, and make it configurable with a MAX_LINE_SIZE open option

GeoJSON driver:
* reader/OGRParseDate(): do not recognize 'YYYY/MM/DD sometext' as a valid date (#6351)

GeoJSONSeq driver:
* fix opening of files starting with a large 'properties' (#3892)

GML driver:
* geometry type detection: handle case where first feature(s) have no geometry (refs qgis/QGIS#50215)
* geometry parser: fix issue with ring ending with a ArcByCenterPoint being detected as non-closed (#6492)

GPKG driver:
* add a IMMUTABLE=YES/NO open option and automatically turn it on (with warning) when not being able to open a WAL file in read-only mode
* allow 'GPKG:filename' connection string
* fix writing a CRS with a unknown ID and a coordinate epoch

HANA driver:
* inform about missing mandatory connection parameters

MITAB driver:
* AddField(): fix nullptr dereference in error code path (ossfuzz #52339)

OGR_GMT driver:
* writer: make sure region/extent is written in header (fixes regression of 3.5.0) (#6370)

SQLite driver:
* allow NOLOCK option on a /vsicurl/http file
* remove use of std::regex (#6358)
* open: avoid potential double creation of OGRVFS
* allow creating layers named like 'foo(bar)' (#6548)

## Python bindings

* emit exceptions in UseExceptions() mode on failed OpenMDArray(), OpenGroup(), GetAttribute()

# GDAL/OGR 3.5.2 Release Notes

## Build
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.2
3.5.3
6 changes: 3 additions & 3 deletions gcore/gdal_version.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef GDAL_VERSION_MAJOR
# define GDAL_VERSION_MAJOR 3
# define GDAL_VERSION_MINOR 5
# define GDAL_VERSION_REV 2
# define GDAL_VERSION_REV 3
# define GDAL_VERSION_BUILD 0
#endif

Expand All @@ -24,9 +24,9 @@

#if !defined(DO_NOT_DEFINE_GDAL_DATE_NAME)
#ifndef GDAL_RELEASE_DATE
# define GDAL_RELEASE_DATE 20220902
# define GDAL_RELEASE_DATE 20221021
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "3.5.2"
# define GDAL_RELEASE_NAME "3.5.3"
#endif
#endif
2 changes: 1 addition & 1 deletion swig/python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ reference documentation, but the `GDAL API Tutorial`_ includes Python examples.
Dependencies
------------

* libgdal (3.5.2 or greater) and header files (gdal-devel)
* libgdal (3.5.3 or greater) and header files (gdal-devel)
* numpy (1.0.0 or greater) and header files (numpy-devel) (not explicitly
required, but many examples and utilities will not work without it)

Expand Down
2 changes: 1 addition & 1 deletion swig/python/gdal-utils/osgeo_utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__package_name__ = 'gdal-utils'
gdal_utils_version = (3, 5, 2, 0)
gdal_utils_version = (3, 5, 3, 0)
__version__ = '.'.join(str(i) for i in gdal_utils_version)
__author__ = "Frank Warmerdam"
__author_email__ = "warmerdam@pobox.com"
Expand Down
2 changes: 1 addition & 1 deletion swig/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Howard Butler hobu.inc@gmail.com


gdal_version = '3.5.2'
gdal_version = '3.5.3'

import sys
import os
Expand Down

0 comments on commit d85335f

Please sign in to comment.