summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/gdal.txt20
-rw-r--r--docs/releases/5.2.txt6
2 files changed, 25 insertions, 1 deletions
diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt
index c2a333f895..726cd83756 100644
--- a/docs/ref/contrib/gis/gdal.txt
+++ b/docs/ref/contrib/gis/gdal.txt
@@ -611,6 +611,26 @@ coordinate transformation:
>>> polygon.geom_count
1
+ .. attribute:: has_curve
+
+ .. versionadded:: 5.2
+
+ A boolean indicating if this geometry is or contains a curve geometry.
+
+ .. method:: get_linear_geometry
+
+ .. versionadded:: 5.2
+
+ Returns a linear version of the geometry. If no conversion can be made, the
+ original geometry is returned.
+
+ .. method:: get_curve_geometry
+
+ .. versionadded:: 5.2
+
+ Returns a curved version of the geometry. If no conversion can be made, the
+ original geometry is returned.
+
.. attribute:: point_count
Returns the number of points used to describe this geometry:
diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt
index 9090f8b70a..507676d998 100644
--- a/docs/releases/5.2.txt
+++ b/docs/releases/5.2.txt
@@ -94,7 +94,11 @@ Minor features
:mod:`django.contrib.gis`
~~~~~~~~~~~~~~~~~~~~~~~~~
-* ...
+* GDAL now supports curved geometries ``CurvePolygon``, ``CompoundCurve``,
+ ``CircularString``, ``MultiSurface``, and ``MultiCurve`` via the new
+ :attr:`.OGRGeometry.has_curve` property, and the
+ :meth:`.OGRGeometry.get_linear_geometry` and
+ :meth:`.OGRGeometry.get_curve_geometry` methods.
:mod:`django.contrib.messages`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~