[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0rc1-101-g4edfe36

git at osgeo.org git at osgeo.org
Fri Feb 19 14:42:20 PST 2021


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  4edfe3633e3fa24993b15a35135cce9d4f3f239b (commit)
       via  91e5c65555ab1096b02df70bf3a661bd497493ac (commit)
      from  1b24b38a0d1bd7c1b34af27871505784291e6952 (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 4edfe3633e3fa24993b15a35135cce9d4f3f239b
Merge: 91e5c65 1b24b38
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Feb 19 14:42:09 2021 -0800

    Merge branch 'master' of https://git.osgeo.org/gitea/postgis/postgis


commit 91e5c65555ab1096b02df70bf3a661bd497493ac
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Fri Feb 19 14:41:55 2021 -0800

    Remove NOTICE when ST_IsValid finds an invalid geometry. Closes #4852

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index ae5aa75..1bfa150 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -1616,10 +1616,6 @@ Datum isvalid(PG_FUNCTION_ARGS)
 
 	if ( ! g1 )
 	{
-		/* should we drop the following
-		 * notice now that we have ST_isValidReason ?
-		 */
-		lwpgnotice("%s", lwgeom_geos_errmsg);
 		PG_RETURN_BOOL(false);
 	}
 
diff --git a/regress/core/tickets_expected b/regress/core/tickets_expected
index f262a13..f8119be 100644
--- a/regress/core/tickets_expected
+++ b/regress/core/tickets_expected
@@ -68,7 +68,6 @@ NOTICE:  No points or linestrings in input array
 NOTICE:  Too few points in geometry component at or near point 0 0
 #408.1|f
 #408.2|Too few points in geometry component[0 0]
-NOTICE:  IllegalArgumentException: Invalid number of points in LinearRing found 2 - must be 0 or >= 4
 #408.3|f
 #408.4|IllegalArgumentException: Invalid number of points in LinearRing found 2 - must be 0 or >= 4
 #457.1|POINT(0 0)

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

Summary of changes:
 postgis/lwgeom_geos.c         | 4 ----
 regress/core/tickets_expected | 1 -
 2 files changed, 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list