[postgis-devel] When did ST_BuildArea change

Sandro Santilli strk at kbt.io
Mon Oct 5 13:54:16 PDT 2020


On Mon, Oct 05, 2020 at 01:35:05PM -0700, Paul Ramsey wrote:
> Doesn't feel wrong to me...
> 
> pramsey=# select st_astext(st_polygonize('MULTILINESTRING((0 0, 10 0, 10 10, 0 10, 0 0), (5 5, 5 6, 6 6, 6 5, 5 5))'::geometry));
>                                                   st_astext                                                  
> -------------------------------------------------------------------------------------------------------------
>  GEOMETRYCOLLECTION(POLYGON((0 0,0 10,10 10,10 0,0 0),(5 5,6 5,6 6,5 6,5 5)),POLYGON((5 5,5 6,6 6,6 5,5 5)))
> (1 row)

What GEOS version on your side ?
Mine was with current GEOS master, and lacked the hole in the first
polygon.


--strk;


More information about the postgis-devel mailing list