Refs #34406 -- Added support for GDAL curved geometries.

Co-authored-by: Fabien Le Frapper <contact@fabienlefrapper.me>
This commit is contained in:
David Smith 2024-10-22 21:24:36 +01:00 committed by GitHub
parent dd0a116b93
commit 04adff9f98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 292 additions and 23 deletions

View file

@ -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: