[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. 2.5.4-26-g5e2440d

git at osgeo.org git at osgeo.org
Sat Aug 1 17:27:05 PDT 2020


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-2.5 has been updated
       via  5e2440dc19a676523e8b6c99c9afdf777311bc63 (commit)
      from  a695e0597a89858663a003ede2bd1e566a89e538 (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 5e2440dc19a676523e8b6c99c9afdf777311bc63
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Aug 1 20:26:55 2020 -0400

    Revise ST_ConcaveHull to run for 0.99 as well, ammend NEWs for #4129. Closes #4541 for PostGIS 2.5.5. references #4129 for PostGIS 2.5.5

diff --git a/NEWS b/NEWS
index 38c2314..9586eee 100644
--- a/NEWS
+++ b/NEWS
@@ -7,10 +7,12 @@ PostGIS 2.5.5
   - Handle non-closed edge rings by human readable error (Sandro Santilli)
   - #4706, Fix crash in ST_ChangeEdgeGeom on corrupted topology (Sandro Santilli)
   - #4652, Fix several memory related bugs in ST_GeomFromGML (Raúl Marín)
-  - #4661, Fix access to spatial_ref_sys with a non default schema (Raúl Marín)
+  - #4661,4129, Fix access to spatial_ref_sys with a non default schema (Raúl Marín)
   - #4670, ST_AddPoint: Fix bug when a positive position is requested (Raúl Marín)
   - #4699, crash on null input to ST_Union(raster, otherarg) (Jaime Casanova, 2ndQuadrant)
   - #4691, Fix segfault during gist index creation with empty geometries (Raúl Marín)
+  - #4541, ST_ConcaveHull returns a "geometrycollection"
+           type instead of the expected "polygon" (Regina Obe)
 
 PostGIS 2.5.4
 2020/02/28
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 9688fac..315f31f 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -5930,6 +5930,7 @@ $$
   LANGUAGE plpgsql IMMUTABLE STRICT _PARALLEL;
 
 -- Availability: 2.0.0
+-- Changed: 2.5.5
 -- 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
 $$
@@ -5962,7 +5963,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                   | 4 +++-
 postgis/postgis.sql.in | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list