[SCM] PostGIS branch master updated. 3.4.0rc1-747-gea8364b71

git at osgeo.org git at osgeo.org
Thu Nov 2 14:49:52 PDT 2023


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  ea8364b71272d8e3501d0a5617cacca04c11964e (commit)
      from  4f47efbd4dbe144d61150e468d1756d4501ce078 (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 ea8364b71272d8e3501d0a5617cacca04c11964e
Author: Regina Obe <lr at pcorp.us>
Date:   Thu Nov 2 17:33:41 2023 -0400

    Put back geos 3.9 ifdef mistakenly taken out.  References #5602

diff --git a/liblwgeom/lwgeom_geos.c b/liblwgeom/lwgeom_geos.c
index 094078a83..d546f42ea 100644
--- a/liblwgeom/lwgeom_geos.c
+++ b/liblwgeom/lwgeom_geos.c
@@ -710,7 +710,13 @@ lwgeom_intersection_prec(const LWGEOM* geom1, const LWGEOM* geom2, double prec)
 	if (!(g2 = LWGEOM2GEOS(geom2, AUTOFIX))) GEOS_FREE_AND_FAIL(g1);
 
 	if ( prec >= 0) {
+#if POSTGIS_GEOS_VERSION < 30900
+		lwgeom_geos_error_minversion("Fixed-precision intersection", "3.9");
+		GEOS_FREE_AND_FAIL(g1, g2);
+		return NULL;
+#else
 		g3 = GEOSIntersectionPrec(g1, g2, prec);
+#endif
 	}
 	else
 	{

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

Summary of changes:
 liblwgeom/lwgeom_geos.c | 6 ++++++
 1 file changed, 6 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list