From 0f3b1a783dfa36cb23aae0bb954756d0edcd9fc1 Mon Sep 17 00:00:00 2001 From: Olivier Tabone Date: Wed, 26 Jul 2023 23:18:29 +0200 Subject: Fixed #34739 -- Added GEOSGeometry.equals_identical() method. --- docs/ref/contrib/gis/geos.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/ref') 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``. -- cgit v1.3