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

ShapelyDeprecationWarning: Directly calling the base class 'BaseGeometry()' is deprecated #320

Open
stertingen opened this issue Dec 4, 2024 · 0 comments

Comments

@stertingen
Copy link

Apparently, dask-geopandas uses deprecated shapely features in union_all. I'm getting the following warning:

https://github.com/geopandas/dask-geopandas/blob/v0.4.2/dask_geopandas/core.py#L296: ShapelyDeprecationWarning: Directly calling the base class 'BaseGeometry()' is deprecated, and will raise an error in the future. To create an empty geometry, use one of the subclasses instead, for example 'GeometryCollection()'.
  meta = BaseGeometry()
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

No branches or pull requests

1 participant