[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0alpha1-101-g8135ef547

git at osgeo.org git at osgeo.org
Sun Jun 26 14:14:50 PDT 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  8135ef547c13cf349660d245ea06b4b8dffb119b (commit)
      from  a6bbfd31517067559e7e4ff63f9dd614591a8d56 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8135ef547c13cf349660d245ea06b4b8dffb119b
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Jun 26 17:14:44 2022 -0400

    ST_ConcaveHull geometry collection issue. Closes #4541 for PostGIS 3.3.0 (old ST_ConcaveHull implementation)

diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 5dd1f4602..7d14b9674 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -6606,8 +6606,9 @@ $$
 LANGUAGE 'plpgsql' IMMUTABLE STRICT PARALLEL SAFE _COST_HIGH;
 
 -- Availability: 2.0.0
--- Changed: 2.5.0
 -- Enhanced: 3.3.0 implements it in C, if GEOS >= 3.10
+-- Changed: 3.2.2
+-- Changed: 2.5.0
 CREATE OR REPLACE FUNCTION ST_ConcaveHull(param_geom geometry, param_pctconvex float, param_allow_holes boolean DEFAULT false) RETURNS geometry AS
 $$
 	DECLARE
@@ -6639,7 +6640,7 @@ $$
 				RETURN var_resultgeom;
 			END IF;
 		END IF;
-		IF @extschema at .ST_Dimension(var_resultgeom) > 1 AND param_pctconvex BETWEEN 0 and 0.98 THEN
+		IF @extschema at .ST_Dimension(var_resultgeom) > 1 AND param_pctconvex BETWEEN 0 and 0.99 THEN
 		-- get linestring that forms envelope of geometry
 			var_enline := @extschema at .ST_Boundary(@extschema at .ST_Envelope(var_param_geom));
 			var_buf := @extschema at .ST_Length(var_enline)/1000.0;

-----------------------------------------------------------------------

Summary of changes:
 postgis/postgis.sql.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list