Re: [geos-devel] Union of linestrings

2016-02-29 Thread Mateusz Loskot
On 29 February 2016 at 20:10, Sandro Santilli wrote: > On Mon, Feb 29, 2016 at 07:18:08PM +0100, Mateusz Loskot wrote: >> >> I've started adding tests for OverlayOp [1] and I noticed >> curious results for basic test case. >> >> OverlayOp(UNION) on Four segments of a sqare >> always construct a Mu

Re: [geos-devel] Union of linestrings

2016-02-29 Thread Sandro Santilli
On Mon, Feb 29, 2016 at 07:18:08PM +0100, Mateusz Loskot wrote: > Hi, > > I've started adding tests for OverlayOp [1] and I noticed > curious results for basic test case. > > OverlayOp(UNION) on Four segments of a sqare > always construct a MultiLineString. > I'd have expected a polygon, shouldn'

[geos-devel] Union of linestrings

2016-02-29 Thread Mateusz Loskot
Hi, I've started adding tests for OverlayOp [1] and I noticed curious results for basic test case. OverlayOp(UNION) on Four segments of a sqare always construct a MultiLineString. I'd have expected a polygon, shouldn't I? In this case, I noticed OverlayOp always labels edges as UNDEF or BOUNDARY