1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00

Fixed #34208 -- Confirmed support for GDAL 3.6.

This commit is contained in:
Mariusz Felisiak 2022-12-29 11:35:41 +01:00 committed by GitHub
parent 298d02a77a
commit ecbb5db65d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 17 deletions

View File

@ -22,6 +22,7 @@ if lib_path:
elif os.name == "nt": elif os.name == "nt":
# Windows NT shared libraries # Windows NT shared libraries
lib_names = [ lib_names = [
"gdal306",
"gdal305", "gdal305",
"gdal304", "gdal304",
"gdal303", "gdal303",
@ -37,6 +38,7 @@ elif os.name == "posix":
lib_names = [ lib_names = [
"gdal", "gdal",
"GDAL", "GDAL",
"gdal3.6.0",
"gdal3.5.0", "gdal3.5.0",
"gdal3.4.0", "gdal3.4.0",
"gdal3.3.0", "gdal3.3.0",

View File

@ -5,16 +5,16 @@ Installing Geospatial libraries
GeoDjango uses and/or provides interfaces for the following open source GeoDjango uses and/or provides interfaces for the following open source
geospatial libraries: geospatial libraries:
======================== ==================================== ================================ =========================================== ======================== ==================================== ================================ ================================================
Program Description Required Supported Versions Program Description Required Supported Versions
======================== ==================================== ================================ =========================================== ======================== ==================================== ================================ ================================================
:doc:`GEOS <../geos>` Geometry Engine Open Source Yes 3.11, 3.10, 3.9, 3.8, 3.7, 3.6 :doc:`GEOS <../geos>` Geometry Engine Open Source Yes 3.11, 3.10, 3.9, 3.8, 3.7, 3.6
`PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x, 5.x, 4.x `PROJ`_ Cartographic Projections library Yes (PostgreSQL and SQLite only) 9.x, 8.x, 7.x, 6.x, 5.x, 4.x
:doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 2.4, 2.3, 2.2 :doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.6, 3.5, 3.4, 3.3, 3.2, 3.1, 3.0, 2.4, 2.3, 2.2
:doc:`GeoIP <../geoip2>` IP-based geolocation library No 2 :doc:`GeoIP <../geoip2>` IP-based geolocation library No 2
`PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.3, 3.2, 3.1, 3.0, 2.5 `PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.3, 3.2, 3.1, 3.0, 2.5
`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.0, 4.3 `SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 5.0, 4.3
======================== ==================================== ================================ =========================================== ======================== ==================================== ================================ ================================================
Note that older or more recent versions of these libraries *may* also work Note that older or more recent versions of these libraries *may* also work
totally fine with GeoDjango. Your mileage may vary. totally fine with GeoDjango. Your mileage may vary.
@ -36,6 +36,7 @@ totally fine with GeoDjango. Your mileage may vary.
GDAL 3.3.0 2021-05-03 GDAL 3.3.0 2021-05-03
GDAL 3.4.0 2021-11-04 GDAL 3.4.0 2021-11-04
GDAL 3.5.0 2022-05-13 GDAL 3.5.0 2022-05-13
GDAL 3.6.0 2022-11-03
PostGIS 2.5.0 2018-09-23 PostGIS 2.5.0 2018-09-23
PostGIS 3.0.0 2019-10-20 PostGIS 3.0.0 2019-10-20
PostGIS 3.1.0 2020-12-18 PostGIS 3.1.0 2020-12-18
@ -219,27 +220,25 @@ First download the latest GDAL release version and untar the archive::
$ wget https://download.osgeo.org/gdal/X.Y.Z/gdal-X.Y.Z.tar.gz $ wget https://download.osgeo.org/gdal/X.Y.Z/gdal-X.Y.Z.tar.gz
$ tar xzf gdal-X.Y.Z.tar.gz $ tar xzf gdal-X.Y.Z.tar.gz
For GDAL 3.6.x and greater, releases only support builds using ``CMake``. To
build with ``CMake`` create a ``build`` folder in the GDAL directory, and step
into it::
$ cd gdal-X.Y.Z $ cd gdal-X.Y.Z
$ mkdir build
$ cd build
Configure, make and install:: Finally, configure, make and install GDAL::
$ ./configure $ cmake ..
$ make # Go get some coffee, this takes a while. $ cmake --build .
$ sudo make install $ sudo cmake --build . --target install
$ cd ..
.. note::
Because GeoDjango has its own Python interface, the preceding instructions
do not build GDAL's own Python bindings. The bindings may be built by
adding the ``--with-python`` flag when running ``configure``. See
`GDAL/OGR In Python`__ for more information on GDAL's bindings.
If you have any problems, please see the troubleshooting section below for If you have any problems, please see the troubleshooting section below for
suggestions and solutions. suggestions and solutions.
__ https://gdal.org/ __ https://gdal.org/
__ https://gdal.org/api/python.html
.. _gdaltrouble: .. _gdaltrouble: