Skip to content

ENH: release the GIL in spatial operations (intersection, union, etc) that return geometries #155

@jorisvandenbossche

Description

@jorisvandenbossche

This needs an extension to the current GEOS_INIT_THEADS / GEOS_FINISH_THREADS mechanism that is already used for eg spatial predicates like intersects etc (ufuncs that do not return geometries).

For ufuncs returning geometries (eg the YY_Y ufuncs), this needs some additional logic, possibly a two-step loop (first loop creating the GEOSGeometry objects, second loop wrapping them in python objects). See also #113 (comment) for a brief discussion about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions