Skip to content

Commit

Permalink
Prepare for GDAL 3.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Aug 11, 2024
1 parent 30a771e commit 09e8d86
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cff-version: 1.2.0
message: Please cite this software using these metadata or in the CITATION file.
type: software
title: GDAL
version: 3.9.1
date-released: 2024-06-22
version: 3.9.2
date-released: 2024-08-11
doi: 10.5281/zenodo.5884351
abstract: GDAL is a translator library for raster and vector geospatial data
formats that is released under an MIT style Open Source License by the Open
Expand Down
155 changes: 155 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,158 @@
# GDAL/OGR 3.9.2 Release Notes

GDAL 3.9.2 is a bugfix release.

## Build

* Fix compilation against openssl-libs-3.2.2-3 of fedora:rawhide
* Fix compilation against libarchive-3.3.3-5 as shipped by RHEL 8 (#10428)
* Fix -Wnull-dereference warnings of gcc 14.2

## GDAL 3.9.2

### Port

* CPLFormFilename()/CPLGetDirname()/CPLGetPath(): make it work with
'vsicurl/http://example.com?foo' type of filename, to fix Zarr driver

### Core

* GDALCopyWords(): Fix double->uint64 when input value > UINT64_MAX that was
wrongly converted to 0

### Raster utilities

* gdalinfo_output.schema.json: pin stac-extensions/eo to v1.1.0
* gdal_translate: fix -a_nodata to accept '-inf' as input (3.9.0 regression)
* gdalwarp: fix -srcnodata/-dstnodata to accept negative value in first position
(3.9.0 regression)
* gdalbuildvrt: -fix -srcnodata/-vrtnodata to accept negative value in first
position (3.9.0 regression)
* gdallocationinfo: avoid extra newline character in -valonly mode if coordinate
is outside raster extent (3.9.0 regression)
* gdal_rasterize: on a int64 band, set nodata value as int64 (#10306)
* gdal_rasterize: restrict to defaulting to Int64 raster data type only if
output driver supports it (and the burned field is Int64)
* gdal_retile: error out with clear message when trying to retile a file with a
geotransform with rotation terms, or several input files with inconsistent SRS
(#10333)
* gdal2tiles: update links in generate_leaflet(), remove OSM Toner (#10304)
* gdal2tiles: uUse correct OpenStreetMap tile url (openstreetmap/operations#737)
* gdal2tiles: fix exception with --nodata-values-pct-threshold but not
--excluded-values on a multi-band raster

### Raster drivers

COG driver:
* properly deal with mask bands w.r.t resampling when generating JPEG output,
or when input has a mask band (3.5 regression) (#10536)

GTI driver:
* start looking for OVERVIEW_<idx>_xxxx metadata items at index 0
* automatically add overviews of overviews, unless the OVERVIEW_LEVEL=NONE open
option is specified

GTiff driver:
* make SetNoDataValue(double) work on a Int64/UInt64 band (#10306)

KEA driver:
* don't derive from PAM classes (#10355)

JPEG driver:
* ReadFLIRMetadata(): avoid potential infinite loop

NITF driver:
* 12-bit JPEG writer: fix crash if raster width > block width (#10441)

OGCAPI driver:
* do not emit 'Server does not support specified IMAGE_FORMAT: AUTO' when
opening a vector layer with MVT tiles only
* fix reading encodingInfo/dataType for Coverage API

SRTMHGT driver:
* add support for 0.5 deg resolution datasets (#10514)

WMTS driver:
* make sure not to request tiles outside of tile matrix / tile matrix limits,
if the dataset extent goes beyond them
* clip layer extent with union of extent of tile matrices (#10348)

## OGR 3.9.2

### Core

* WKT geometry importer: accept (non conformant) PointZ/PointZM without space as
generated by current QGIS versions
* OGR SQL: do not make backslash a special character inside single-quoted
strings, to improve compliance with SQL92 (#10416)
* OGRSQL: return in error when 'Did not find end-of-string character' is emitted
(#10515)

### OGRSpatialReference

* EPSGTreatsAsNorthingEasting(): make it work correctly with compound CRS

### Vector drivers

GeoJSON driver:
* writer: make sure geometry is reprojected even when it is invalid after
coordinate rounding (3.9.0 regression) (qgis/QGIS#58169)

GML driver:
* writer: fix missing SRS in Featurecollection's boundedBy element (3.9.1
regression) (#10332)

GMLAS driver:
* avoid crash on a OSSFuzz generated xsd (ossfuzz#70511)

GTFS:
* fix error when applying an attribute filter on a field whose advertized data
type is not string (duckdb/duckdb_spatial#343)

JSONFG driver:
* fix reading non-FeatureCollection documents larger than 6,000 bytes (#10525)

LIBKML driver:
* fix writing a .kmz to cloud storage (#10313)
* fix LIBKML_RESOLVE_STYLE=YES when reading a KML file with dataset-level
styles (3.9.1 regression) (qgis/qgis#58208)
* fix reading/writing style URL in KMZ files (#10478)

MiraMonVector driver:
* fix oss-fuzz#70860

OAPIF driver:
* fix resolving of relative links (#10410)

OpenFileGDB driver:
* fix attribute filter when an equality comparison is involved with a field
with an index created with a LOWER(field_name) expression (#10345)

OSM driver:
* avoid creating /vsimem/osm_importer directory (#10566)

PG driver:
* fix ogr2ogr scenarios to PostgreSQL when there are several input layer names
like schema_name.layer_name (3.9.0 regression)
* fix support for geometry/geography OID in range between 2^31 and 2^32 (#10486)

PG/PGDump drivers:
* make sure spatial index name is unique, even if several tables have a long
enough prefix (#10522, #7629)

Shapefile driver:
* fix recognizing an empty string as a NULL date (#10405)
* fix off-by-one write heap buffer overflow when deleting exactly 128, 232,
etc. features and repacking (#10451)

XLSX driver:
* support documents whose XML elements have a prefix (duckdb
/duckdb_spatial#362)

## Python bindings

* fix typos in gdal.Footprint() help message

# GDAL/OGR 3.9.1 Release Notes

GDAL 3.9.1 is a bugfix release.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.1
3.9.2
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 9
# define GDAL_VERSION_REV 1
# define GDAL_VERSION_REV 2
# 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 20240622
# define GDAL_RELEASE_DATE 20240811
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "3.9.1"
# define GDAL_RELEASE_NAME "3.9.2"
#endif
#endif
2 changes: 1 addition & 1 deletion swig/python/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ reference documentation, but the https://gdal.org/api/python_bindings.html#tutor
Dependencies
------------

* libgdal (3.9.1 or greater) and header files (gdal-devel)
* libgdal (3.9.2 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, 9, 1, 0)
gdal_utils_version = (3, 9, 2, 0)
__version__ = ".".join(str(i) for i in gdal_utils_version)
__author__ = "Frank Warmerdam"
__author_email__ = "warmerdam@pobox.com"
Expand Down

0 comments on commit 09e8d86

Please sign in to comment.