mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #35058 -- Made centroid available on all geometry types.
Centroid is available on all geometry types since GDAL 1.8.0. Previously it was restricted to Polygon. https://gdal.org/doxygen/classOGRGeometry.html#a91787f669b2a148169667e270e7e40df
This commit is contained in:
committed by
Mariusz Felisiak
parent
9c6d7b4a67
commit
2005530920
@@ -83,6 +83,9 @@ Minor features
|
||||
via the new :attr:`.OGRGeometry.is_measured` and :attr:`.Point.m` properties,
|
||||
and the :meth:`.OGRGeometry.set_measured` method.
|
||||
|
||||
* :attr:`.OGRGeometry.centroid` is now available on all supported geometry
|
||||
types.
|
||||
|
||||
:mod:`django.contrib.messages`
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user