[SCM] PostGIS branch master updated. 3.5.0-264-g595e9dcef
git at osgeo.org
git at osgeo.org
Mon Apr 14 02:36:57 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 595e9dcef89ff075f8b6a47da8ac78b77516e9df (commit)
from 9393e50f851102f717da5f710a4dedc8b4bd218d (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 595e9dcef89ff075f8b6a47da8ac78b77516e9df
Author: Sandro Santilli <strk at kbt.io>
Date: Mon Apr 14 10:52:18 2025 +0200
Streamline debugging output
diff --git a/liblwgeom/topo/lwgeom_topo.c b/liblwgeom/topo/lwgeom_topo.c
index dc41994a2..94b4df044 100644
--- a/liblwgeom/topo/lwgeom_topo.c
+++ b/liblwgeom/topo/lwgeom_topo.c
@@ -1441,11 +1441,11 @@ _lwt_FirstDistinctVertex2D(const POINTARRAY* pa, const POINT2D *ref, int from, i
inc = -1;
}
- LWDEBUGF(1, "first point is index %d", from);
+ LWDEBUGF(2, "first point is index %d", from);
fp = *ref; /* getPoint2d_p(pa, from, &fp); */
for ( i = from+inc; i != toofar; i += inc )
{
- LWDEBUGF(1, "testing point %d", i);
+ LWDEBUGF(2, "testing point %d", i);
getPoint2d_p(pa, i, op); /* pick next point */
if ( P2D_SAME_STRICT(op,&fp) ) continue; /* equal to startpoint */
/* this is a good one, neither same of start nor of end point */
@@ -5226,23 +5226,6 @@ _lwt_SnapEdgeToExistingNode(
return -1;
}
- LWDEBUGF(1, "Split edge %"
- LWTFMT_ELEMID " (pre-modEdgeSplit) next_right:%"
- LWTFMT_ELEMID ", next_left:%"
- LWTFMT_ELEMID ", face_right:%"
- LWTFMT_ELEMID ", face_left:%"
- LWTFMT_ELEMID ", start_node:%"
- LWTFMT_ELEMID ", end_node:%"
- LWTFMT_ELEMID,
- edge->edge_id,
- edge->next_right,
- edge->next_left,
- edge->face_right,
- edge->face_left,
- edge->start_node,
- edge->end_node
- );
-
/* Update split edge reference as it was possibly changed by previous call */
for ( uint64_t t=0; t<firstNodeEdges->numEdges; t++ )
{
@@ -5254,7 +5237,7 @@ _lwt_SnapEdgeToExistingNode(
}
LWDEBUGF(1, "Split edge %"
- LWTFMT_ELEMID " (post-modEdgeSplit) next_right:%"
+ LWTFMT_ELEMID " start condition: next_right:%"
LWTFMT_ELEMID ", next_left:%"
LWTFMT_ELEMID ", face_right:%"
LWTFMT_ELEMID ", face_left:%"
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/topo/lwgeom_topo.c | 23 +++--------------------
1 file changed, 3 insertions(+), 20 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list