[postgis-devel] ST_ConcaveHull in GEOS
Regina Obe
lr at pcorp.us
Wed Jan 26 09:39:09 PST 2022
Thanks all. I’ll try to take a look at this in next couple of days and compare it to some of the tests I have done with existing ST_ConcaveHull.
And Paul to be honest with you, if you just want to put your code in PostGIS master (rip out the old for GEOS 3.11), would save me and I think a lot of people, a lot of hassle. Anyone who disagrees, please chime in.
I can always test the old ST_ConcaveHull on the 3.2 branch, so having yet another branch to try out is just very time consuming.
It’s probably not saving too many people any trouble either because most people are not running GEOS 3.11 so wouldn’t notice the difference.
We are like at least 8 months away from a 3.3 release, so the sooner you get it in there the better.
Thanks,
Regina
From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Martin Davis
Sent: Tuesday, January 25, 2022 7:05 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: Re: [postgis-devel] ST_ConcaveHull in GEOS
For some more background on the (potential) new Concave Hull algorithm, see:
https://github.com/locationtech/jts/pull/823
http://lin-ear-th-inking.blogspot.com/2022/01/concave-hulls-in-jts.html
On Tue, Jan 25, 2022 at 2:38 PM Paul Ramsey <pramsey at cleverelephant.ca <mailto:pramsey at cleverelephant.ca> > wrote:
Hey all,
The native ST_ConcaveHull in GEOS is in GEOS main now, so I have hooked it up into PostGIS in this branch
https://github.com/pramsey/postgis/tree/master-concavehull
Under this function for now.
CREATE OR REPLACE FUNCTION _ST_GEOSConcaveHull(
geom geometry,
area_ratio float8,
allow_holes boolean DEFAULT false)
I would like to just flip the old ST_ConcaveHull out and replace it with the new one, for folks with GEOS 3.11+, but I figured an interval to look at them side by side for a while on a test branch might be appreciated. Currently the case of point inputs is worth looking at. Polygon inputs that respect the polygon are (hull doesn't cross interior of input polygon) coming down the line.
P
_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20220126/98a61df9/attachment.html>
More information about the postgis-devel
mailing list