Skip to content

Commit

Permalink
Prepare for GDAL 3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault committed Jan 2, 2023
1 parent b6d958f commit 516e10a
Show file tree
Hide file tree
Showing 6 changed files with 112 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.6.1
date-released: 2022-12-14
version: 3.6.2
date-released: 2023-01-02
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
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.6.2 Release Notes

GDAL 3.6.2 is a bugfix release.

## General

[RFC69](https://gdal.org/development/rfc/rfc69_cplusplus_formatting.html):
Whole code base C/C++ reformatting

## Build

* Avoid warning with curl >= 7.55 about CURLINFO_CONTENT_LENGTH_DOWNLOAD being
deprecated
* Avoid warning with curl >= 7.87 about CURLOPT_PROGRESSFUNCTION being
deprecated
* fix nitfdump build against external libtiff (#6968)
* fix compilation with gcc 4.8.5 of Centos 7.9 (#6991)

## Data files

* tms_MapML_CBMTILE.json: fix wrong matrixWidth value (#6922)

## GDAL 3.6.2

### Port

* CPLGetUsablePhysicalRAM(): take into account RSS limit (ulimit -m) (#6669)
* CPLGetNumCPUs(): take into sched_getaffinity() (#6669)

### Algorithms

* Warp: fix crash in multi-threaded mode when doing several warping runs with
the same WarpOperation
* RasterizeLayer: prevent out-of-bounds index/crash on some input data (#6981)

### Core

* gdal_pam.h: workaround for code including it after windows.h

### Raster drivers

AAIGRID driver:
* fix CreateCopy() of source raster with south-up orientation (#6946)

BAG driver:
* conform to the final BAG georeferenced metadata layer specification (#6933)

ESRIC driver:
* Fix DCAP_VECTOR metadata

JPEGXL driver:
* advertise COMPRESSION_REVERSIBILITY=LOSSY when there is a JPEG
reconstruction box

netCDF driver:
* deal with files with decreasing latitudes/north-up orientation and presence
of actual_range attribute (#6909)

VRT driver:
* VRTSourcedRasterBand: replace potentially unsafe cpl::down_cast<> by
dynamic_cast<>

## OGR 3.6.2

### Core

* OGRGenSQLResultsLayer::GetFeatureCount(): fix it to return -1 when base layer
also returns -1 (#6925)
* OGRXercesInstrumentedMemoryManager::deallocate(): avoid (likely harmless)
unsigned integer overflow in error code path.
* GPKG/SQLite dialect: fix issues when SQL statement provided to ExecuteSQL()
starts with space/tabulation/newline (#6976)
* ArrowArray generic: FillBoolArray(): avoid out-of-bounds write access

### Utilities

* ogr2ogr: make -nln flag with GeoJSON output even if a name exists in input
GeoJSON (#6920)
* ogr2ogr: silent reprojection errors related to IsPolarToWGS84() in
OGRGeometryFactory::transformWithOptions()

### Drivers

GML driver:
* fix recognizing WFS GetFeature response with a very long initial XML element
(#6940)
* default srsDimension to 3 for CityGML files (#6989)
* fix incorrect behavior when using GFS_TEMPLATE open option with a .gfs that
refers to FeatureProperty/FeaturePropertyList fields (#6932)

GeoPackage driver:
* fix threaded RTree building when creating several layers (3.6.0 regression),
by disabling async RTree building
* avoid SQLite3 locking in CreateLayer() due to RemoveOGREmptyTable()

NGW driver:
* remove DCAP_ items set to NO (#6994)

Parquet driver:
* update to read and write GeoParquet 1.0.0-beta.1 specification (#6646)

Selafin driver:
* Fix DCAP_VECTOR metadata

# GDAL/OGR 3.6.1 Release Notes

GDAL 3.6.1 is a bugfix release. It officially retracts GDAL 3.6.0 which
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.6.1
3.6.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 6
# 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 20221214
# define GDAL_RELEASE_DATE 20230102
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "3.6.1"
# define GDAL_RELEASE_NAME "3.6.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 @@ -16,7 +16,7 @@ reference documentation, but the `GDAL API Tutorial`_ includes Python examples.
Dependencies
------------

* libgdal (3.6.1 or greater) and header files (gdal-devel)
* libgdal (3.6.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, 6, 1, 0)
gdal_utils_version = (3, 6, 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 516e10a

Please sign in to comment.