Skip to content

una service_area: TypeError due to clipping #7

@a-albashir

Description

@a-albashir

Hello,
I was using the una.service_area function. I followed the steps as explained in the documentation.

and faced the error TypeError: 'mask' should be GeoDataFrame, GeoSeries,(Multi)Polygon or list-like, got <class 'shapely.geometry.collection.GeometryCollection'>.

The detailed error indicating line #330 in tools.py is performing a clip process using Geodataframe inside the iteration might cause the error.

Thank you.

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