Skip to content

Conversation

@martinfleis
Copy link
Member

Fix the CRS removal to be future-proof.

Copy link
Member

@knaaptime knaaptime left a comment

Choose a reason for hiding this comment

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

got it. So in newer geopandas it's invalid to set the crs "directly" via the attribute, but instead needs to be done via the setter?

@martinfleis
Copy link
Member Author

Yes. Setting it directly is considered unsafe as it easily allows you to assign wrong CRS without transforming the coords. Leads to issues typically with beginners or non-spatial folks code.

@martinfleis martinfleis merged commit 8330393 into pysal:main Dec 8, 2025
10 checks passed
@martinfleis martinfleis deleted the gpd-future branch December 8, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants