[SCM] PostGIS branch master updated. 3.6.0rc2-281-g17d0890cc
git at osgeo.org
git at osgeo.org
Wed Jan 14 02:44:47 PST 2026
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 17d0890cc6d156c7e3e482c3c02b221184f3a027 (commit)
from 3a6b9e454c1ce9a53f14ad87fefcf8cf2ee1ad33 (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 17d0890cc6d156c7e3e482c3c02b221184f3a027
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Jan 14 11:44:03 2026 +0100
Reword error on internal functions returning geometry-less nodes
diff --git a/liblwgeom/topo/lwgeom_topo.c b/liblwgeom/topo/lwgeom_topo.c
index 5dd4b1f6d..359ba1615 100644
--- a/liblwgeom/topo/lwgeom_topo.c
+++ b/liblwgeom/topo/lwgeom_topo.c
@@ -698,17 +698,21 @@ _lwt_CheckEdgeCrossing( LWT_TOPOLOGY* topo,
{
POINT2D p;
LWT_ISO_NODE *node = &(nodes[i]);
- if (node->node_id == start_node)
- continue;
- if (node->node_id == end_node)
- continue;
+ LWT_ELEMID node_id = node->node_id;
+
/* check if the edge contains this node (not on boundary) */
/* ST_RelateMatch(rec.relate, 'T********') */
+
+ /* skip boundary nodes */
+ if (node_id == start_node) continue;
+ if (node_id == end_node) continue;
+
if (!node->geom || !node->geom->point || !node->geom->point->npoints)
{
GEOSGeom_destroy(edgegg);
_lwt_release_nodes(nodes, num_nodes);
- lwerror("SQL/MM Spatial exception - geometry crosses a node");
+ lwerror("Internal error: lwt_be_getNodeWithinBox2D returned node %"
+ LWTFMT_ELEMID " with no vertices", node_id);
return -1;
}
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/topo/lwgeom_topo.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list