From 5f30fd2358fd60a514bdba31594bfc8122f30167 Mon Sep 17 00:00:00 2001 From: Andrew Harris Date: Fri, 10 Jan 2025 10:11:03 -0500 Subject: Refs #36036 -- Added support for GEOSHasM. --- docs/ref/contrib/gis/geos.txt | 9 ++++++++- docs/releases/6.0.txt | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt index b3825e09c4..58097434e8 100644 --- a/docs/ref/contrib/gis/geos.txt +++ b/docs/ref/contrib/gis/geos.txt @@ -312,7 +312,14 @@ Properties .. attribute:: GEOSGeometry.hasz - Returns a boolean indicating whether the geometry is three-dimensional. + Returns a boolean indicating whether the geometry has the Z dimension. + +.. attribute:: GEOSGeometry.hasm + + .. versionadded:: 6.0 + + Returns a boolean indicating whether the geometry has the M dimension. + Requires GEOS 3.12. .. attribute:: GEOSGeometry.ring diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 03b1c52c1d..9dd7100c74 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -65,7 +65,8 @@ Minor features :mod:`django.contrib.gis` ~~~~~~~~~~~~~~~~~~~~~~~~~ -* ... +* The new :attr:`.GEOSGeometry.hasm` property checks whether the geometry has + the M dimension. :mod:`django.contrib.messages` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- cgit v1.3