summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurak Kadir Er <mcking.banner01@gmail.com>2022-05-20 17:47:10 +0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-05-20 16:48:43 +0200
commite85ed998d55035b21c37dc4693be3ed94371c8e8 (patch)
tree69e5cb1ac2c9015368da78993f7f772f2e62bd39
parent1dec0c07de64ccf85eceb635cdb2a7af3e7a0554 (diff)
downloaddjango-e85ed998d55035b21c37dc4693be3ed94371c8e8.tar.gz
[4.0.x] Fixed #33721 -- Added DE-9IM link in GEOS docs.
Backport of 1be9585d73c50df733eb4d1484651bb8548a1205 from main
-rw-r--r--docs/ref/contrib/gis/geos.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index ed8dc2d893..2a0227f8b6 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -410,7 +410,7 @@ return a boolean.
The ``covers`` predicate has the following equivalent definitions:
* Every point of the other geometry is a point of this geometry.
- * The DE-9IM Intersection Matrix for the two geometries is
+ * The `DE-9IM`_ Intersection Matrix for the two geometries is
``T*****FF*``, ``*T****FF*``, ``***T**FF*``, or ``****T*FF*``.
If either geometry is empty, returns ``False``.
@@ -423,6 +423,8 @@ return a boolean.
added benefit, ``covers()`` is more amenable to optimization and hence
should outperform :meth:`~GEOSGeometry.contains`.
+ .. _DE-9IM: https://en.wikipedia.org/wiki/DE-9IM
+
.. method:: GEOSGeometry.crosses(other)
Returns ``True`` if the DE-9IM intersection matrix for the two Geometries