Skip to content

ENH: C extension: use const GEOSGeometry pointers instead of plain GEOSGeometry pointers where appropriate #227

@brendan-ward

Description

@brendan-ward

Internal functions like GeometryObject_FromGEOS should accept const pointers instead of plain pointers, since those functions should not modify the GEOS Geometry.

Originally detected in #225 since we are getting const pointers back from GEOS functions but these were getting discarded on call to the PyGEOS C API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactorRestructure code without changing functionto-shapelyThis issue needs to be transferred to shapely

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions