summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOlivier Tabone <olivier.tabone@ripplemotion.fr>2023-07-26 23:18:29 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-08-05 18:23:38 +0200
commit0f3b1a783dfa36cb23aae0bb954756d0edcd9fc1 (patch)
tree8b0fff946225328e3f936d34cc563043c353febc /docs
parent8edaf07a28a3e3848ab1edbdcd2fdc25e6bd6015 (diff)
Fixed #34739 -- Added GEOSGeometry.equals_identical() method.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/geos.txt9
-rw-r--r--docs/releases/5.0.txt3
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index 564d49bbb6..471103bf97 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -483,6 +483,15 @@ return a boolean.
``poly1.equals_exact(poly2, 0.001)`` will compare equality to within
one thousandth of a unit.
+.. method:: GEOSGeometry.equals_identical(other)
+
+ .. versionadded:: 5.0
+
+ Returns ``True`` if the two geometries are point-wise equivalent by
+ checking that the structure, ordering, and values of all vertices are
+ identical in all dimensions. ``NaN`` values are considered to be equal to
+ other ``NaN`` values. Requires GEOS 3.12.
+
.. method:: GEOSGeometry.intersects(other)
Returns ``True`` if :meth:`GEOSGeometry.disjoint` is ``False``.
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index 030e16a054..8f15171d17 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -192,6 +192,9 @@ Minor features
* Added support for GEOS 3.12.
+* The new :meth:`.GEOSGeometry.equals_identical` method allows point-wise
+ equivalence checking of geometries.
+
:mod:`django.contrib.messages`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~