Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refs #35058 -- Deprecated OGRGeometry.coord_dim setter. #17768

Merged
merged 1 commit into from Jan 23, 2024

Conversation

smithdc1
Copy link
Member

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'.

@felixxm -- what do you think about this as a next step for #17696?

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().
Copy link
Member

@felixxm felixxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smithdc1 Thanks 👍

I pushed tiny edits.

value would be 2 for two-dimensional geometries.

.. versionchanged:: 5.1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.. versionchanged:: 5.1
.. deprecated:: 5.1

@felixxm felixxm merged commit f4c5973 into django:main Jan 23, 2024
35 checks passed
@smithdc1 smithdc1 deleted the coord_dim branch January 23, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants