Skip to content

Conversion to Shapely objects #54

@jorisvandenbossche

Description

@jorisvandenbossche

For GeoPandas (and for interoperability with Shapely), I need a way to convert geometries from pygeos to Shapely and vice versa.

As discussed in #47, one way is to go through WKB. In that PR I had a way to directly clone the GEOSGeometry pointer, but if pygeos and shapely are not using the same GEOS library, this can cause problems.

However, going through WKB is also not fully faithful. For example, empty points don't have a WKB representation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions