FW: When did ST_BuildArea change

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FW: When did ST_BuildArea change

Regina Obe

Opps wrong address sent for Geos.

 


Sent: Monday, October 5, 2020 3:21 PM
To: 'PostGIS Development Discussion' <[hidden email]>
Cc: '[hidden email]' <[hidden email]>
Subject: When did ST_BuildArea change

 

I noticed this before but came across it again.

 

http://postgis.net/docs/manual-dev/ST_BuildArea.html

 

At the time I created this page which I am guessing was like circa 2008

 

This query created a gaping hole.  Now it doesn't so the docs are wrong

 

SELECT ST_BuildArea(ST_Collect(line,circle))

FROM (SELECT

    ST_Buffer(

        ST_MakeLine(ST_MakePoint(10, 10),ST_MakePoint(190, 190)),

                5)  As line,

    ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As circle) As foo;

 

--this creates the same gaping hole

--but using linestrings instead of polygons

SELECT ST_BuildArea(

    ST_Collect(ST_ExteriorRing(line),ST_ExteriorRing(circle))

    )

FROM (SELECT ST_Buffer(

    ST_MakeLine(ST_MakePoint(10, 10),ST_MakePoint(190, 190))

        ,5)  As line,

    ST_Buffer(ST_GeomFromText('POINT(100 90)'), 50) As circle) As foo;

 

Docs say this:

 

http://postgis.net/docs/manual-dev/images/st_buildarea02.png

 

But when I run in pgAdmin4 I get this:

 

 

 

Does anyone know when this behavior changed and why?  I’m assuming it is a GEOS change, so cc’ing GEOS dev as well.

 

More depressing is my signature symmetric podded Bee Hive on this page (circa 2010(

 

http://postgis.net/docs/manual-dev/ST_LongestLine.html

 

Which looked like this (minus the longest line of course) – beautiful isn’t it?

 

 

http://postgis.net/docs/manual-dev/images/st_longestline03.png

 

Now looks like a shadow of its former self

 

 

 

 

 

Thanks,

Regina


_______________________________________________
geos-devel mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/geos-devel