[SCM] PostGIS branch stable-3.4 updated. 3.4.4-67-gd8eb831cb

git at osgeo.org git at osgeo.org
Tue Jan 13 08:18:02 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, stable-3.4 has been updated
       via  d8eb831cb6d5979b1170bf64df7587dd2308c98b (commit)
      from  fdfffdb437bd937aa37c59ca9590d73882779c6e (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 d8eb831cb6d5979b1170bf64df7587dd2308c98b
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Jan 13 17:17:47 2026 +0100

    Fix backport in previous commit

diff --git a/liblwgeom/ptarray.c b/liblwgeom/ptarray.c
index 74141aefd..04d7080c7 100644
--- a/liblwgeom/ptarray.c
+++ b/liblwgeom/ptarray.c
@@ -772,12 +772,6 @@ ptarray_contains_point_partial(const POINTARRAY *pa, const POINT2D *pt, int chec
 	{
 		seg2 = getPoint2d_cp(pa, i);
 
-		/* This is required for robustness, see #6023 */
-		if (p2d_same(seg1, pt))
-		{
-			return LW_BOUNDARY;
-		}
-
 		/* Zero length segments are ignored. */
 		if ( seg1->x == seg2->x && seg1->y == seg2->y )
 		{
@@ -1060,6 +1054,12 @@ ptarray_contains_point(const POINTARRAY *pa, const POINT2D *pt)
 
 		seg2 = getPoint2d_cp(pa, i);
 
+		/* This is required for robustness, see #6023 */
+		if (p2d_same(seg1, pt))
+		{
+			return LW_BOUNDARY;
+		}
+
 		/* Zero length segments are ignored. */
 		if (p2d_same(seg1, seg2))
 		{

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

Summary of changes:
 liblwgeom/ptarray.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list