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
If point geometries are created with the the
pointsconveniance function and dask arrays the geometries are not returned lazily because inpygeos/pygeos/creation.py
Line 67 in ea76ac9
np.broadcastis called on the arrays.I worked around this by directly using
pygeos.lib.pointswhich works fine unless adask.distributedcluster is used in which case a critical errorFailed to deserializeis raised bydistributed.As a sidenote: using dask arrays and distributed to create box polygons works fine.
I use pygeos 0.10.2