Merges this LineString instance with the given Geometry instance.
Merges this LineString instance with the given Geometry instance.
This method attempts to merge the attributes and data of the current LineString instance with the provided Geometry instance if it is of type LineString. The merging process involves combining tessellations, geometry data, and coordinate sequences, with each step subject to specific merge rules.
Value parameters
g
the Geometry instance to merge with.
mergeName
a Boolean indicating whether to merge names (default is true).
Attributes
Returns
an Option containing the merged LineString instance if successful, or None otherwise.