[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 3.0.1-34-gac3d025

git at osgeo.org git at osgeo.org
Sat Aug 1 17:31:25 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-3.0 has been updated
       via  ac3d0259ae428ba779ad8e3b40089f468c53be7a (commit)
      from  c1090632a2360babeb1d267fd8341b2e087a4658 (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 ac3d0259ae428ba779ad8e3b40089f468c53be7a
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Aug 1 20:31:20 2020 -0400

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

diff --git a/NEWS b/NEWS
index ebe140e..420ec97 100644
--- a/NEWS
+++ b/NEWS
@@ -7,12 +7,14 @@ PostGIS 3.0.2
   - 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)
   - #4702, Legacy ST_Locate_Between_Measures is wrong (Kaplas80)
   - #4699, crash on null input to ST_Union(raster, otherarg) (Jaime Casanova, 2ndQuadrant)
   - #4716, Fix several issues with pkg-config in the configure script (Raúl Marín)
   - #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 3.0.1
 2020/02/20
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index 8d1c802..7bf0bfc 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -6085,6 +6085,7 @@ $$
 LANGUAGE 'plpgsql' IMMUTABLE STRICT _PARALLEL _COST_HIGH;
 
 -- 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
 $$
@@ -6117,7 +6118,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