[postgis-tickets] [SCM] PostGIS branch main updated. 3.1.0rc1-364-gff9de2c

git at osgeo.org git at osgeo.org
Mon Jul 26 14:27:46 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  ff9de2c109dccd338ed5678bd334cbfe797cee8f (commit)
       via  98e1477e69c3d5daf65740778e4c0a7a5cd42ab0 (commit)
      from  53e6e0c2a94163d185b5b8b558d7780e0f74e710 (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 ff9de2c109dccd338ed5678bd334cbfe797cee8f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jul 26 14:27:39 2021 -0700

    Delete accidentally committed blob

diff --git a/raster/test/cunit/cu_mapalgebra-c1c13d8a.o.tmp b/raster/test/cunit/cu_mapalgebra-c1c13d8a.o.tmp
deleted file mode 100644
index e69de29..0000000

commit 98e1477e69c3d5daf65740778e4c0a7a5cd42ab0
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jul 26 14:15:34 2021 -0700

    Error in arc direction flagging, fixes #4326

diff --git a/liblwgeom/cunit/cu_measures.c b/liblwgeom/cunit/cu_measures.c
index c590fa7..a72ab3d 100644
--- a/liblwgeom/cunit/cu_measures.c
+++ b/liblwgeom/cunit/cu_measures.c
@@ -215,6 +215,13 @@ static void test_mindistance2d_tolerance(void)
 	DIST2DTEST("LINESTRING(10 0,11 1,12 2,13 3,14 4,15 5,16 6)",
 		"LINESTRING(1 1.5,2 3,3 4.5,4 6,5 7.5,6 9)",
 		8.3205, default_accepted_error);
+
+	/*
+	** Ticket 4326
+	*/
+	DIST2DTEST(
+		"CURVEPOLYGON(CIRCULARSTRING(7874821 8715927,8907663 8715927,8844683 7750316,7937800 7750316,7874821 8715927))",
+		"POINT(5433865 8243495)", 2271704.2698450615, default_accepted_error);
 }
 
 static void
diff --git a/liblwgeom/ptarray.c b/liblwgeom/ptarray.c
index 003e3f6..db99148 100644
--- a/liblwgeom/ptarray.c
+++ b/liblwgeom/ptarray.c
@@ -941,7 +941,7 @@ ptarrayarc_contains_point_partial(const POINTARRAY *pa, const POINT2D *pt, int c
 		}
 
 		/* Going "down"! */
-		if ( side > 0 && (seg2->y <= pt->y) && (pt->y < seg1->y) )
+		if ( side > 0 && (seg3->y <= pt->y) && (pt->y < seg1->y) )
 		{
 			wn--;
 		}
diff --git a/raster/test/cunit/cu_mapalgebra-c1c13d8a.o.tmp b/raster/test/cunit/cu_mapalgebra-c1c13d8a.o.tmp
new file mode 100644
index 0000000..e69de29

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

Summary of changes:
 liblwgeom/cunit/cu_measures.c | 7 +++++++
 liblwgeom/ptarray.c           | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list