[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.1-30-gf98c02953

git at osgeo.org git at osgeo.org
Sun Jun 26 14:06:55 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, stable-3.2 has been updated
       via  f98c02953580de676d8286b9142feecf14e40dc4 (commit)
      from  5d23c8ac6a196941ee299a37df19dc37cdde48bb (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 f98c02953580de676d8286b9142feecf14e40dc4
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Jun 26 17:06:41 2022 -0400

    ST_ConcaveHull geometry collection issue. References #4541 for PostGIS 3.2.2

diff --git a/NEWS b/NEWS
index b2029aefd..81ab47561 100644
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,7 @@ PostGIS 3.2.2dev
   - #5151, ST_SetPoint with empty geometries (Regina Obe)
   - #5152, Fix infinite loop with ST_Split (Sandro Santilli)
   - #5173, Crash creating flatgeobuf on row without geometry (Julien Rouhaud)
+  - #4541, ST_ConcaveHull returns a "geometrycollection" type instead of the expected "polygon"
 
 
 PostGIS 3.2.1
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index cceacf1c0..7ca2f60b7 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -6524,6 +6524,7 @@ $$
 LANGUAGE 'plpgsql' IMMUTABLE STRICT PARALLEL SAFE _COST_HIGH;
 
 -- Availability: 2.0.0
+-- 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
 $$
@@ -6556,7 +6557,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:
 NEWS                   | 1 +
 postgis/postgis.sql.in | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list