Browse Source

Fixed #33564 -- Confirmed support for PROJ 9.X.

David Smith 3 years ago
parent
commit
379bb201ed
1 changed files with 25 additions and 6 deletions
  1. 25 6
      docs/ref/contrib/gis/install/geolibs.txt

+ 25 - 6
docs/ref/contrib/gis/install/geolibs.txt

@@ -9,7 +9,7 @@ geospatial libraries:
 Program                   Description                           Required                          Supported Versions
 ========================  ====================================  ================================  ======================================
 :doc:`GEOS <../geos>`     Geometry Engine Open Source           Yes                               3.10, 3.9, 3.8, 3.7, 3.6
-`PROJ`_                   Cartographic Projections library      Yes (PostgreSQL and SQLite only)  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.4, 3.3, 3.2, 3.1, 3.0, 2.4, 2.3, 2.2
 :doc:`GeoIP <../geoip2>`  IP-based geolocation library          No                                2
 `PostGIS`__               Spatial extensions for PostgreSQL     Yes (PostgreSQL only)             3.2, 3.1, 3.0, 2.5, 2.4
@@ -39,6 +39,13 @@ totally fine with GeoDjango. Your mileage may vary.
     PostGIS 3.0.0 2019-10-20
     PostGIS 3.1.0 2020-12-18
     PostGIS 3.2.0 2021-12-18
+    PROJ 9.0.0 2022-03-01
+    PROJ 8.0.0 2021-03-01
+    PROJ 8.0.0 2021-03-01
+    PROJ 7.0.0 2020-02-25
+    PROJ 6.0.0 2019-02-26
+    PROJ 5.0.0 2018-03-01
+    PROJ 4.9.0 2014-09-14
     SpatiaLite 4.3.0 2015-09-07
     SpatiaLite 5.0.0 2020-08-23
 
@@ -175,14 +182,26 @@ done *prior* to configuration::
     $ tar xzf proj-X.Y.Z.tar.gz
     $ cd proj-X.Y.Z/data
     $ tar xzf ../../proj-data-X.Y.tar.gz
-    $ cd ..
+    $ cd ../..
+
+For PROJ 9.x and greater, releases only support builds using ``CMake`` (see
+`PROJ RFC-7`_).
+
+To build with ``CMake`` ensure your system meets the `build requirements`_.
+Then create a ``build`` folder in the PROJ directory, and step into it::
+
+    $ cd proj-X.Y.Z
+    $ mkdir build
+    $ cd build
 
 Finally, configure, make and install PROJ::
 
-    $ ./configure
-    $ make
-    $ sudo make install
-    $ cd ..
+    $ cmake ..
+    $ cmake --build .
+    $ sudo cmake --build . --target install
+
+.. _PROJ RFC-7: https://proj.org/community/rfc/rfc-7.html#rfc7
+.. _build requirements: https://proj.org/install.html#build-requirements
 
 .. _gdalbuild: