Skip to content

Commit

Permalink
Add RelateNG robustness test
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Aug 8, 2024
1 parent bf71d66 commit 71d841b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,12 @@ public void testJTS_270() {
checkIntersectsDisjoint(a, b, true);
}

//https://gis.stackexchange.com/questions/484691/topologyexception-side-location-conflict-while-intersects-on-valid-polygons
public void testGISSE_1() {
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))";
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);
}

}

0 comments on commit 71d841b

Please sign in to comment.