[SCM] PostGIS branch master updated. 3.5.0-299-g140f2144f

git at osgeo.org git at osgeo.org
Tue Apr 29 09:11:04 PDT 2025


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  140f2144fbd7d480cf6845ad8dc4e57ccd6c6dcf (commit)
      from  522f76ffcfcfa5d2377bc16fa8e04d413afd75ea (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 140f2144fbd7d480cf6845ad8dc4e57ccd6c6dcf
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Apr 29 17:59:28 2025 +0200

    Avoid GEOS conversion in ValidateTopologyPrecision
    
    Slightly speeds things up

diff --git a/topology/sql/manage/ValidateTopologyPrecision.sql.in b/topology/sql/manage/ValidateTopologyPrecision.sql.in
index dc480dad7..0119bc401 100644
--- a/topology/sql/manage/ValidateTopologyPrecision.sql.in
+++ b/topology/sql/manage/ValidateTopologyPrecision.sql.in
@@ -88,7 +88,7 @@ WITH edgePoints AS (
   SELECT geom from isolatedNodes
 )
 SELECT ST_Union(geom) FROM allVertices
-WHERE NOT ST_Equals( ST_ReducePrecision(geom, $2), geom )
+WHERE NOT ST_Equals( ST_SnapToGrid(geom, $2), geom )
     $$,
     topo.name
   );

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

Summary of changes:
 topology/sql/manage/ValidateTopologyPrecision.sql.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list