Community

SQL Server Spatial: Extract LineStrings in GeometryCollection to create LineString

(Simon Greener) I had need today to create a function that extracts all linestring elements from a GeometryCollection and returns a LineString or a MultiLineString.