Open theroggy opened 2 months ago
Yes. It's because merging loses information, and takes slightly more time. So the design decision was to leave the results unmerged, and use a separate call to merge them if required.
Yes. It's because merging loses information, and takes slightly more time. So the design decision was to leave the results unmerged, and use a separate call to merge them if required.
It is a bit counter-intuitive because for polygons union
is the function to remove "redundant" lines between polygons... which also loses information... versus for lines union
just collects all input to a MultiLineString...?
union
on LineStrings does more than just collect them. It nodes lines that cross, and eliminates duplicate sections of linework.
Is there a particular reason that the
union
operation doesn't merge multiple linestrings that are touching to a single linestring, but that you need to uselinemerge
for that?Sample: