[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-378-gf2aae98
git at osgeo.org
git at osgeo.org
Thu Jul 29 15:33:33 PDT 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, main has been updated
via f2aae9882ea820190433da5b727488ae1ba87625 (commit)
via 43b1ea0b10875befd74f7a9b80795bc060082619 (commit)
from d1d0d181bf07980893fd4873f748de35a9d138a3 (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 f2aae9882ea820190433da5b727488ae1ba87625
Merge: 43b1ea0 d1d0d18
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Jul 29 15:33:28 2021 -0700
Merge branch 'main' of https://git.osgeo.org/gitea/postgis/postgis into main
commit 43b1ea0b10875befd74f7a9b80795bc060082619
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Thu Jul 29 15:33:19 2021 -0700
Preserve SRID on all-empty unions of geometry, closes #4926
diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 519797f..0ff4348 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -674,6 +674,7 @@ Datum pgis_geometry_union_finalfn(PG_FUNCTION_ARGS)
{
int type = lwgeom_get_type(geom);
empty_type = type > empty_type ? type : empty_type;
+ srid = (srid != SRID_UNKNOWN ? srid : lwgeom_get_srid(geom));
}
}
}
-----------------------------------------------------------------------
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