Skip to content

Commit

Permalink
Prepare for GDAL 3.8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Dec 16, 2023
1 parent 5b8e10d commit f0925c2
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
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.8.1
date-released: 2023-11-23
version: 3.8.2
date-released: 2023-12-16
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
84 changes: 84 additions & 0 deletions NEWS.md
@@ -1,3 +1,87 @@
# GDAL/OGR 3.8.2 Release Notes

GDAL 3.8.2 is a bugfix release.

## GDAL 3.8.2

### Port

* /vsis3/: takes into account AWS_CONTAINER_CREDENTIALS_FULL_URI environment
variable (#8858)
* cpl_safemaths.hpp: fix compilation with clang targeting Windows (#8898)
* CPLGetPhysicalRAM(): fix getting right value when running inside Docker on a
cgroups v1 system (like Amazon Linux 2) (#8968)

### Algorithms

* Rasterization: avoid burning pixel that we only touch (with an empty
intersection) (#8918)

### Utilities

* gdal_footprint: return an error if the requested output layer doesn't exist
* gdal_translate: avoid useless extra GDALOpen() call on a target GeoRaster
* pct2rgb.py: emit explicit exception when source file has no color table (#8793)

### Raster drivers

HDF5 driver:
* classic 2D API: handle char,ushort,uint,int64,uint64 attributes when
reading them as double
* multidim: better warning when nodata value is out of range

JPEGXL driver:
* add compatibility with latest libjxl git HEAD

NGSGEOID driver:
* make dataset identification robust to NaN values (#8879)

OGCAPI driver:
* make it robust to missing 'type' on 'self' link (#8912)

STACTA driver:
* use GDAL_DISABLE_READDIR_ON_OPEN=EMPTY_DIR instead of
CPL_VSIL_CURL_ALLOWED_EXTENSIONS
* use STAC Raster extension to get number of bands, their data type, nodata
value, scale/offset, units, and avoid fetching a metatile
* add support for upcoming STAC 1.1 which merges eo:bands and raster:bands
into bands

netCDF, HDF4, HDF5:
* SubdatasetInfo API: fix various issues (#8869, #8881)

VRT driver:
* VRTComplexSource: fix excessive RAM usage with many sources (#8967, 3.8.0 regression)

### OGR 3.8.2

### Core

* OGRGeometryFactory::transformWithOptions(): fix WRAPDATELINE=YES on
multipoint geometries (#8889)
* OGRSpatialReference::importFromUrl(): changes to no longer use a
'Accept: application/x-ogcwkt' header
* OSRPJContextHolder: call pthread_atfork() once for the process, and
re-enable it for MacOS
* OGRWKBIntersectsPessimisticFixture: handle all geometry types

### Utilities

* ogrinfo: really honours -if (refs #8590)
* ogr2ogr: implement -if

### Vector drivers

* PMTiles: Correct extension for temporary mbtiles file

## Python bindings

* gdal.Footprint(): add a minRingArea option
* fix build/install when there's a gdal-config from a pre-installed version in
the PATH (#8882)
* add missing reference increment on Py_None in error case of
Geometry.GetPoints() (#8945)

# GDAL/OGR 3.8.1 Release Notes

GDAL 3.8.1 is a bugfix release.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
3.8.1
3.8.2
6 changes: 3 additions & 3 deletions gcore/gdal_version.h.in
Expand Up @@ -7,7 +7,7 @@
#ifndef GDAL_VERSION_MAJOR
# define GDAL_VERSION_MAJOR 3
# define GDAL_VERSION_MINOR 8
# 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 20231128
# define GDAL_RELEASE_DATE 20231612
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "3.8.1"
# define GDAL_RELEASE_NAME "3.8.2"
#endif
#endif
4 changes: 2 additions & 2 deletions scripts/gdal-bash-completion.sh
Expand Up @@ -782,7 +782,7 @@ _ogr2ogr()
_get_comp_words_by_ref cur prev
case "$cur" in
-*)
key_list="--help --help-general -skipfailures -append -upsert -update -select -where -progress -sql -dialect -preserve_fid -fid -limit -spat -spat_srs -geomfield -a_srs -t_srs -s_srs -ct -f -overwrite -dsco -lco -nln -nlt -dim --version --build --license --formats --format --optfile --config --debug --pause --locale "
key_list="--help --help-general -skipfailures -append -upsert -update -select -where -progress -sql -dialect -preserve_fid -fid -limit -spat -spat_srs -geomfield -a_srs -t_srs -s_srs -ct -if -f -overwrite -dsco -lco -nln -nlt -dim --version --build --license --formats --format --optfile --config --debug --pause --locale "
mapfile -t COMPREPLY < <(compgen -W "$key_list" -- "$cur")
return 0
;;
Expand All @@ -808,7 +808,7 @@ _ogrinfo()
_get_comp_words_by_ref cur prev
case "$cur" in
-*)
key_list="--help --help-general -json -ro -q -where -spat -geomfield -fid -sql -dialect -al -rl -so -features -fields={YES -geom={YES -oo -nomd -listmdd -mdd -nocount -noextent -nogeomtype -wkt_format -fielddomain --version --build --license --formats --format --optfile --config --debug --pause --locale "
key_list="--help --help-general -if -json -ro -q -where -spat -geomfield -fid -sql -dialect -al -rl -so -features -fields={YES -geom={YES -oo -nomd -listmdd -mdd -nocount -noextent -nogeomtype -wkt_format -fielddomain --version --build --license --formats --format --optfile --config --debug --pause --locale "
mapfile -t COMPREPLY < <(compgen -W "$key_list" -- "$cur")
return 0
;;
Expand Down
2 changes: 1 addition & 1 deletion swig/python/README.rst
Expand Up @@ -13,7 +13,7 @@ reference documentation, but the https://gdal.org/api/python_bindings.html#tutor
Dependencies
------------

* libgdal (3.8.1 or greater) and header files (gdal-devel)
* libgdal (3.8.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
@@ -1,5 +1,5 @@
__package_name__ = "gdal-utils"
gdal_utils_version = (3, 8, 1, 0)
gdal_utils_version = (3, 8, 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 f0925c2

Please sign in to comment.