cast
cast_multilinestring(geom)
Cast a geometry to a MultiLineString.
If the geometry is a LineString, it will be converted to a single-part MultiLineString. MultiLineStrings are returned unchanged.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
geom
|
BaseGeometry
|
The geometry to cast. |
required |
Source code in src/rastr/gis/cast.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |