diff options
| author | Claude Paroz <claude@2xlibre.net> | 2021-04-03 16:23:19 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-04-08 09:36:29 +0200 |
| commit | 30e123ed351317b7527f632b3b7dc4e81e850449 (patch) | |
| tree | 4294ff86fa9235ea8c09208fdbecd0f7a1319993 /docs | |
| parent | b9d156761f459c889d0c51e6d421d29d8a2f8ae6 (diff) | |
Fixed #32575 -- Added support for SpatiaLite 5.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/gis/db-api.txt | 12 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/functions.txt | 9 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/install/geolibs.txt | 3 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 2 |
4 files changed, 14 insertions, 12 deletions
diff --git a/docs/ref/contrib/gis/db-api.txt b/docs/ref/contrib/gis/db-api.txt index 7921d53a8a..af2c1c04a0 100644 --- a/docs/ref/contrib/gis/db-api.txt +++ b/docs/ref/contrib/gis/db-api.txt @@ -344,9 +344,9 @@ functions are available on each spatial backend. .. currentmodule:: django.contrib.gis.db.models.functions -==================================== ======= ============== ============ =========== ========== +==================================== ======= ============== ============ =========== ================= Function PostGIS Oracle MariaDB MySQL SpatiaLite -==================================== ======= ============== ============ =========== ========== +==================================== ======= ============== ============ =========== ================= :class:`Area` X X X X X :class:`AsGeoJSON` X X X (≥ 10.2.4) X (≥ 5.7.5) X :class:`AsGML` X X X @@ -354,19 +354,19 @@ Function PostGIS Oracle MariaDB MySQL :class:`AsSVG` X X :class:`AsWKB` X X X X X :class:`AsWKT` X X X X X -:class:`Azimuth` X X (LWGEOM) +:class:`Azimuth` X X (LWGEOM/RTTOPO) :class:`BoundingCircle` X X :class:`Centroid` X X X X X :class:`Difference` X X X X X :class:`Distance` X X X X X :class:`Envelope` X X X X X :class:`ForcePolygonCW` X X -:class:`GeoHash` X X (≥ 5.7.5) X (LWGEOM) +:class:`GeoHash` X X (≥ 5.7.5) X (LWGEOM/RTTOPO) :class:`Intersection` X X X X X :class:`IsValid` X X X (≥ 5.7.5) X :class:`Length` X X X X X :class:`LineLocatePoint` X X -:class:`MakeValid` X X (LWGEOM) +:class:`MakeValid` X X (LWGEOM/RTTOPO) :class:`MemSize` X :class:`NumGeometries` X X X X X :class:`NumPoints` X X X X X @@ -379,7 +379,7 @@ Function PostGIS Oracle MariaDB MySQL :class:`Transform` X X X :class:`Translate` X X :class:`Union` X X X X X -==================================== ======= ============== ============ =========== ========== +==================================== ======= ============== ============ =========== ================= Aggregate Functions ------------------- diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index cf2c3217e4..82aaf1196d 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -44,7 +44,7 @@ Oracle, `PostGIS <https://postgis.net/docs/ST_Area.html>`__, SpatiaLite Accepts a single geographic field or expression and returns the area of the field as an :class:`~django.contrib.gis.measure.Area` measure. -MySQL and SpatiaLite without LWGEOM don't support area calculations on +MySQL and SpatiaLite without LWGEOM/RTTOPO don't support area calculations on geographic SRSes. ``AsGeoJSON`` @@ -208,7 +208,7 @@ __ https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry .. class:: Azimuth(point_a, point_b, **extra) *Availability*: `PostGIS <https://postgis.net/docs/ST_Azimuth.html>`__, -SpatiaLite (LWGEOM) +SpatiaLite (LWGEOM/RTTOPO) Returns the azimuth in radians of the segment defined by the given point geometries, or ``None`` if the two points are coincident. The azimuth is angle @@ -334,7 +334,8 @@ are returned unchanged. *Availability*: `MySQL <https://dev.mysql.com/doc/refman/en/spatial-geohash-functions.html#function_st-geohash>`__ (≥ 5.7.5), -`PostGIS <https://postgis.net/docs/ST_GeoHash.html>`__, SpatiaLite (LWGEOM) +`PostGIS <https://postgis.net/docs/ST_GeoHash.html>`__, SpatiaLite +(LWGEOM/RTTOPO) Accepts a single geographic field or expression and returns a `GeoHash`__ representation of the geometry. @@ -416,7 +417,7 @@ Returns a float between 0 and 1 representing the location of the closest point o .. class:: MakeValid(expr) *Availability*: `PostGIS <https://postgis.net/docs/ST_MakeValid.html>`__, -SpatiaLite (LWGEOM) +SpatiaLite (LWGEOM/RTTOPO) Accepts a geographic field or expression and attempts to convert the value into a valid geometry without losing any of the input vertices. Geometries that are diff --git a/docs/ref/contrib/gis/install/geolibs.txt b/docs/ref/contrib/gis/install/geolibs.txt index 058653c7d2..d24caec57f 100644 --- a/docs/ref/contrib/gis/install/geolibs.txt +++ b/docs/ref/contrib/gis/install/geolibs.txt @@ -13,7 +13,7 @@ Program Description Required :doc:`GDAL <../gdal>` Geospatial Data Abstraction Library Yes 3.2, 3.1, 3.0, 2.4, 2.3, 2.2, 2.1 :doc:`GeoIP <../geoip2>` IP-based geolocation library No 2 `PostGIS`__ Spatial extensions for PostgreSQL Yes (PostgreSQL only) 3.0, 2.5, 2.4 -`SpatiaLite`__ Spatial extensions for SQLite Yes (SQLite only) 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 @@ -36,6 +36,7 @@ totally fine with GeoDjango. Your mileage may vary. PostGIS 2.5.0 2018-09-23 PostGIS 3.0.0 2019-10-20 SpatiaLite 4.3.0 2015-09-07 + SpatiaLite 5.0.0 2020-08-23 .. note:: diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index ab06cbb40f..3792c4b716 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -100,7 +100,7 @@ Minor features :mod:`django.contrib.gis` ~~~~~~~~~~~~~~~~~~~~~~~~~ -* ... +* Added support for SpatiaLite 5. :mod:`django.contrib.messages` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
