Skip to content

points conveniance function does not evaluate lazily #397

@BENR0

Description

@BENR0

If point geometries are created with the the points conveniance function and dask arrays the geometries are not returned lazily because in

coords = _xyz_to_coords(coords, y, z)

np.broadcast is called on the arrays.

I worked around this by directly using pygeos.lib.points which works fine unless a dask.distributed cluster is used in which case a critical error Failed to deserialize is raised by distributed.

As a sidenote: using dask arrays and distributed to create box polygons works fine.

I use pygeos 0.10.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions