Currently, the geos crate provides a line_merge function that can be used like this:
let multi_line = geos::Geometry::create_multiline_string(lines)?;
let merged = multi_line.line_merge()?;
However, this implementation relies on the GEOS C library, not pure Rust.
Feature Request
Would you consider adding a pure Rust implementation of line_merge in the geo crate?
This would make it possible to perform line merging without depending on native GEOS bindings, improving portability and ease of integration in pure-Rust environments.