[SCM] PostGIS branch stable-3.4 updated. 3.4.3-12-gc9ec904ae

git at osgeo.org git at osgeo.org
Tue Oct 15 10:01:08 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, stable-3.4 has been updated
       via  c9ec904ae657591d7fc65d1181a5df3f113542c2 (commit)
       via  5b990cc7f4d91560aea78b5fd4b7656a398d2eb8 (commit)
      from  f3c820d3f9181bfe192f62ef4c8d24654d550d5b (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 c9ec904ae657591d7fc65d1181a5df3f113542c2
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Oct 15 10:00:56 2024 -0700

    News item for #5677

diff --git a/NEWS b/NEWS
index 163ec6733..5bc1e55c2 100644
--- a/NEWS
+++ b/NEWS
@@ -10,6 +10,7 @@ PostGIS 3.4.4dev
            (Sandro Santilli)
   - #5795, Fix ST_NewEdgesSplit can cause invalid topology
           (Björn Harrtell
+  - #5677, Retain SRID during unary union (Paul Ramsey)
 
 * Enhancements *
 

commit 5b990cc7f4d91560aea78b5fd4b7656a398d2eb8
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 38b4f8c64..4f619f4c8 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -653,6 +653,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:
 NEWS                  | 1 +
 postgis/lwgeom_geos.c | 1 +
 2 files changed, 2 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list