map2loop.thickness_calculator.multiline_to_line#

map2loop.thickness_calculator.multiline_to_line(geometry: LineString | MultiLineString) LineString#

Converts a multiline geometry to a single line geometry.

Parameters:

geometry (Union[LineString, MultiLineString]) – The input geometry to be converted.

Returns:

LineString – The converted line geometry.