diff options
| author | David Smith <smithdc@gmail.com> | 2024-01-22 17:55:40 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-23 05:37:59 +0100 |
| commit | f4c597346453c44769726d2ac061fbc028b2fd5b (patch) | |
| tree | 643d315a856a875df5977b2ec769b7782db58812 /docs/ref | |
| parent | 8570e091d025c4aacc6b76597a3322030c2f8162 (diff) | |
Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.
Reflecting a change in the underlying GDAL library (since GDAL 2.1)
using coord_dim to set a geometries dimensions is deprecated in favor
of set_3d().
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/gis/gdal.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt index c98c76cd10..4b7a706fc4 100644 --- a/docs/ref/contrib/gis/gdal.txt +++ b/docs/ref/contrib/gis/gdal.txt @@ -553,8 +553,12 @@ coordinate transformation: .. attribute:: coord_dim - Returns or sets the coordinate dimension of this geometry. For example, the - value would be 2 for two-dimensional geometries. + Returns the coordinate dimension of this geometry. For example, the value + would be 2 for two-dimensional geometries. + + .. deprecated:: 5.1 + + The ``coord_dim`` setter is deprecated. Use :meth:`.set_3d` instead. .. attribute:: is_3d |
