From 7ca88116f5a46d429251361634eb24629f315076 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Mon, 17 Apr 2023 13:45:28 +0200 Subject: [PATCH] Prepare for GDAL 3.6.4 --- CITATION.cff | 4 +- NEWS.md | 102 ++++++++++++++++++ VERSION | 2 +- gcore/gdal_version.h.in | 6 +- swig/python/README.rst | 2 +- .../python/gdal-utils/osgeo_utils/__init__.py | 2 +- 6 files changed, 110 insertions(+), 8 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 6af4d00d48de..2965790c1754 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -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.3 -date-released: 2023-03-07 +version: 3.6.4 +date-released: 2023-04-17 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 diff --git a/NEWS.md b/NEWS.md index d2a06b66bb8b..c4c3a8413f9c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,105 @@ +# GDAL/OGR 3.6.4 Release Notes + +GDAL 3.6.4 is a bugfix release. + +## GDAL 3.6.4 + +### Port + +* userfaultfd: avoid it to stall on 32bit and test real working of syscall in + CPLIsUserFaultMappingSupported() + +### Core + +* RawRasterBand::FlushCache(): avoid crash in some situations +* RawRasterBand::IRasterIO(): fix wrong byte swapping in Direct IO multiline + writing code path +* RawRasterBand::IRasterIO(): fix optimized code path that wrongly triggered + on BIL layout +* RawRasterBand::IRasterIO(): avoid reading and writing too many bytes +* RawRasterBand::IRasterIO(): fix floating-point issues with ICC that could + result in wrong lines/cols being read/written + +### Algorithms + +* Rasterize all touched: tighten(decrease) the tolerance to consider that edge + of geometries match pixel obundaries (#7523) + +### Utilities + +* gdal_translate: fix crash when specifying -ovr on a dataset that has no + overviews (#7376) +* gdalcompare.py: correctly take into account NaN nodata value (#7394) +* gdal2xyz.py: fix -srcnodata and -dstnodata options (#7410) +* gdal2tiles: update 'ol-layerswitcher' widget to v4.1.1 (#7544) + +### Raster drivers + +GTiff driver: + * correctly read GCPs from ArcGIS 9 .aux.xml when TIFFTAG_RESOLUTIONUNIT=3 + (pixels/cm) (#7484) + +HDF5 driver: + * fix detecting if HDF5 library is thread-safe (refs #7340) + +LCP driver: + * CreateCopy(): fix crash on negative pixel values (#7561) + +MRF driver: + * restore SetSpatialRef() that was wrongly deleted in 3.6.0 + +netCDF driver: + * restore capability of reading CF-1.6-featureType vector layers even if the + conventions >= CF 1.8, and improve featureType=trajectory by adding the + time attribute (fixes #7550) + +## OGR 3.6.4 + +### Core + +* OGRSQL: fix 'SELECT ... WHERE ... AND ... AND ... AND ... UNION ALL ...' + (#3395) +* OGRUnionLayer::GetExtent(): do not emit error on no-geometry layer +* OGREditableLayer::IUpsertFeature(): fix memleak + +### OGRSpatialReference + +* Fix OGRSpatialReference::SetProjCS() on an existing BoundCRS; + affects GeoTIFF SRS reader (fixes gdal-dev/2023-March/057011.html) + +### Utilities + +* ogr2ogr: fix and automate conversion from list types to String(JSON) when the + output driver doesn't support list types but String(JSON) (#7397) + +### Vector drivers + +CSV driver: + * CSVSplitLine(): do not treat in a special way double quotes that appear in + the middle of a field + +FlatGeobuf driver: + * improve handling of null geoms (#7483) + +GeoPackage driver: + * Update definition of gpkg_data_columns to remove unique constraint on "name" + +OpenFileGDB driver: + * fix write corruption when re-using freespace slots in some editing scenarios + (#7504) + * relax test to detect broken .spx + * CreateField(): in approxOK mode, do not error out if default value of a + DateTime field is CURRENT_TIMESTAMP, just ignore it with a warning (#7589) + +OSM driver: + * Fix handling of closed_ways_are_polygons setting in osmconf.ini (#7488) + +S57 driver: + * s57objectclasses.csv: apply S-57 Edition 3.1 Supplement No. 2 + +SQLite driver: + * GDAL as a SQLite3 loadable extension: avoid crash on Linux + # GDAL/OGR 3.6.3 Release Notes GDAL 3.6.3 is a bugfix release. diff --git a/VERSION b/VERSION index 4a788a01dad4..0f44168a4d54 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.6.3 +3.6.4 diff --git a/gcore/gdal_version.h.in b/gcore/gdal_version.h.in index a2a1708ba58a..7215d44350bc 100644 --- a/gcore/gdal_version.h.in +++ b/gcore/gdal_version.h.in @@ -7,7 +7,7 @@ #ifndef GDAL_VERSION_MAJOR # define GDAL_VERSION_MAJOR 3 # define GDAL_VERSION_MINOR 6 -# define GDAL_VERSION_REV 3 +# define GDAL_VERSION_REV 4 # define GDAL_VERSION_BUILD 0 #endif @@ -24,9 +24,9 @@ #if !defined(DO_NOT_DEFINE_GDAL_DATE_NAME) #ifndef GDAL_RELEASE_DATE -# define GDAL_RELEASE_DATE 20230307 +# define GDAL_RELEASE_DATE 20230417 #endif #ifndef GDAL_RELEASE_NAME -# define GDAL_RELEASE_NAME "3.6.3" +# define GDAL_RELEASE_NAME "3.6.4" #endif #endif diff --git a/swig/python/README.rst b/swig/python/README.rst index 7819183a565f..52532b6c8cf5 100644 --- a/swig/python/README.rst +++ b/swig/python/README.rst @@ -16,7 +16,7 @@ reference documentation, but the `GDAL API Tutorial`_ includes Python examples. Dependencies ------------ - * libgdal (3.6.3 or greater) and header files (gdal-devel) + * libgdal (3.6.4 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) diff --git a/swig/python/gdal-utils/osgeo_utils/__init__.py b/swig/python/gdal-utils/osgeo_utils/__init__.py index 18a7624f3712..c1b4331e0665 100644 --- a/swig/python/gdal-utils/osgeo_utils/__init__.py +++ b/swig/python/gdal-utils/osgeo_utils/__init__.py @@ -1,5 +1,5 @@ __package_name__ = "gdal-utils" -gdal_utils_version = (3, 6, 3, 0) +gdal_utils_version = (3, 6, 4, 0) __version__ = ".".join(str(i) for i in gdal_utils_version) __author__ = "Frank Warmerdam" __author_email__ = "warmerdam@pobox.com"