From e8e99ef212c7eb409f5991a7b85b81635c83371b Mon Sep 17 00:00:00 2001 From: David Smith Date: Sat, 14 Dec 2024 20:20:04 +0000 Subject: [PATCH] Fixed #35891 -- Confirmed support for GDAL 3.10. --- django/contrib/gis/gdal/libgdal.py | 2 ++ docs/ref/contrib/gis/install/geolibs.txt | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/django/contrib/gis/gdal/libgdal.py b/django/contrib/gis/gdal/libgdal.py index c9757a546f..49d6363878 100644 --- a/django/contrib/gis/gdal/libgdal.py +++ b/django/contrib/gis/gdal/libgdal.py @@ -22,6 +22,7 @@ if lib_path: elif os.name == "nt": # Windows NT shared libraries lib_names = [ + "gdal310", "gdal309", "gdal308", "gdal307", @@ -37,6 +38,7 @@ elif os.name == "posix": lib_names = [ "gdal", "GDAL", + "gdal3.10.0", "gdal3.9.0", "gdal3.8.0", "gdal3.7.0", diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt index 54c9789720..b5499bd23d 100644 --- a/docs/ref/contrib/gis/install/geolibs.txt +++ b/docs/ref/contrib/gis/install/geolibs.txt @@ -5,16 +5,16 @@ Installing Geospatial libraries GeoDjango uses and/or provides interfaces for the following open source geospatial libraries: -======================== ==================================== ================================ =========================================== +======================== ==================================== ================================ ================================================= Program Description Required Supported Versions -======================== ==================================== ================================ =========================================== +======================== ==================================== ================================ ================================================= :doc:`GEOS <../geos>` Geometry Engine Open Source Yes 3.13, 3.12, 3.11, 3.10, 3.9, 3.8 `PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x -:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1 +:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.10, 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1 :doc:`GeoIP <../geoip2>` IP-based geolocation library No 2 `PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.4, 3.3, 3.2, 3.1 `SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.1, 5.0, 4.3 -======================== ==================================== ================================ =========================================== +======================== ==================================== ================================ ================================================= Note that older or more recent versions of these libraries *may* also work totally fine with GeoDjango. Your mileage may vary. @@ -36,6 +36,7 @@ totally fine with GeoDjango. Your mileage may vary. GDAL 3.7.0 2023-05-10 GDAL 3.8.0 2023-11-13 GDAL 3.9.0 2024-05-10 + GDAL 3.10.0 2024-11-06 PostGIS 3.1.0 2020-12-18 PostGIS 3.2.0 2021-12-18 PostGIS 3.3.0 2022-08-27