shapely.geometrycollections
shapely.geometrycollections#
- geometrycollections(geometries, indices=None, out=None, **kwargs)#
Create geometrycollections from arrays of geometries
- Parameters
- geometriesarray_like
An array of geometries
- indicesarray_like, optional
Indices into the target array where input geometries belong. If provided, both geometries and indices should be 1D and have matching sizes. Indices should be in increasing order. Missing indices result in a ValueError unless
outis provided, in which case the original value inoutis kept.- outndarray, optional
An array (with dtype object) to output the geometries into.
- **kwargs
For other keyword-only arguments, see the NumPy ufunc docs. Ignored if
indicesis provided.
See also