Skip to content

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

Open
@stertingen

Description

@stertingen

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()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions