[SCM] PostGIS branch master updated. 3.5.0-22-g224839693

git at osgeo.org git at osgeo.org
Tue Oct 15 08:42:09 PDT 2024


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  224839693c2988c8ba76e5682c68ac7e6b27911e (commit)
      from  77bcee79332a82a5b5fc7ae6ae47470939a855fa (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 224839693c2988c8ba76e5682c68ac7e6b27911e
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Oct 15 08:41:47 2024 -0700

    Retain SRID during unary union, references #5677

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index a6bc297b8..717a597e4 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -584,6 +584,7 @@ Datum pgis_union_geometry_array(PG_FUNCTION_ARGS)
 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)
 #pragma GCC diagnostic pop
 #endif
+		srid = GEOSGetSRID(g);
 		g_union = GEOSUnaryUnion(g);
 		GEOSGeom_destroy(g);
 		if (!g_union) HANDLE_GEOS_ERROR("GEOSUnaryUnion");

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

Summary of changes:
 postgis/lwgeom_geos.c | 1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list