[geos-commits] [SCM] GEOS branch main-relate-ng updated. 852381011dd5c778b4fa0e4460807a8dc8a729e7

git at osgeo.org git at osgeo.org
Thu Aug 8 14:18:42 PDT 2024


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 "GEOS".

The branch, main-relate-ng has been updated
       via  852381011dd5c778b4fa0e4460807a8dc8a729e7 (commit)
      from  5746c2afa30767843421ae661df5b45b6403f8f9 (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 852381011dd5c778b4fa0e4460807a8dc8a729e7
Author: Martin Davis <mtnclimb at gmail.com>
Date:   Thu Aug 8 14:18:20 2024 -0700

    Add robustness unit test

diff --git a/tests/unit/operation/relateng/RelateNGRobustnessTest.cpp b/tests/unit/operation/relateng/RelateNGRobustnessTest.cpp
index 879329073..6761655f4 100644
--- a/tests/unit/operation/relateng/RelateNGRobustnessTest.cpp
+++ b/tests/unit/operation/relateng/RelateNGRobustnessTest.cpp
@@ -266,6 +266,17 @@ void object::test<19> ()
     checkIntersectsDisjoint(a, b, true);
 }
 
-
+//https://gis.stackexchange.com/questions/484691/topologyexception-side-location-conflict-while-intersects-on-valid-polygons
+//testGISSE_484691
+template<>
+template<>
+void object::test<20> ()
+{
+    std::string a = "POLYGON ((1.839012980156925 43.169860517728324, 1.838983490127865 43.169860200336274, 1.838898525601717 43.169868281549725, 1.838918565176068 43.1699719478626, 1.838920733577112 43.16998636433192, 1.838978629555589 43.16997979090823, 1.838982586839382 43.169966339940714, 1.838974943184281 43.169918580432174, 1.839020497362873 43.169914572864634, 1.839012980156925 43.169860517728324))";
+    std::string b = "POLYGON ((1.8391355300979277 43.16987802887805, 1.83913336164737 43.16986361241434, 1.8390129801569248 43.169860517728324, 1.8390790978572837 43.16987292371998, 1.8390909520103162 43.16995581178317, 1.8391377530291442 43.16995091801345, 1.8391293863398452 43.16987796276235, 1.8391355300979277 43.16987802887805))";
+    checkRelate(a, b, "2F2101212");
+    checkIntersectsDisjoint(a, b, true);
+}
+  
 
 } // namespace tut

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

Summary of changes:
 tests/unit/operation/relateng/RelateNGRobustnessTest.cpp | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list