[SCM] PostGIS branch stable-3.3 updated. 3.3.7-8-gb825f7f16

git at osgeo.org git at osgeo.org
Tue Oct 15 10:04:01 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.3 has been updated
       via  b825f7f167e46da6261ff63ba3b917f95d52ccdb (commit)
       via  6725b2c0493036263d3b2edf436ff6f1796ba9d9 (commit)
      from  21bdccfadb7f6ffece60251badf98ddb8a0d3774 (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 b825f7f167e46da6261ff63ba3b917f95d52ccdb
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Oct 15 10:03:41 2024 -0700

    News item for #5677

diff --git a/NEWS b/NEWS
index d9e8f8d8b..00acdff96 100644
--- a/NEWS
+++ b/NEWS
@@ -9,11 +9,13 @@ PostGIS 3.3.8dev
           (Sandro Santilli)
  - #5795, Fix ST_NewEdgesSplit can cause invalid topology
           (Björn Harrtell
+ - #5677, Retain SRID during unary union (Paul Ramsey)
 
 * Enhancements *
 
   - #5782, Improve robustness of min distance calculation (Sandro Santilli)
 
+
 PostGIS 3.3.7
 2024-09-05
 

commit 6725b2c0493036263d3b2edf436ff6f1796ba9d9
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 6f78f6060..de53150ca 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -529,6 +529,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                  | 2 ++
 postgis/lwgeom_geos.c | 1 +
 2 files changed, 3 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list