shapely.multilinestrings#
- multilinestrings(geometries, indices=None, out=None, **kwargs)#
Create multilinestrings from arrays of linestrings
- Parameters:
- geometriesarray_like
An array of linestrings or coordinates (see linestrings).
- 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
See NumPy ufunc docs for other keyword arguments. Ignored if
indicesis provided.
See also