[geos-devel] Union of linestrings

Mateusz Loskot mateusz at loskot.net
Tue Mar 1 06:41:37 PST 2016


On 1 March 2016 at 15:09, Sandro Santilli <strk at keybit.net> wrote:
> On Tue, Mar 01, 2016 at 02:52:32PM +0100, Mateusz Loskot wrote:
>
>> What about constructing a single LineString from connected
>> segments, instead of a MultiLineString?
>
> LineMerge operation, aka GEOSLineMerge_r in C-API.

Right, makes sense.

So, by design, union of connected segments always yields MultiLineString.
Safe assumption?

Best regards,
-- 
Mateusz Łoskot, http://mateusz.loskot.net


More information about the geos-devel mailing list