The topological equality comparison fails for structural equal geometries.
As javadoc of normalize method says: "structural equality is stronger than topological equality". Therefor structural equal geometries are also topological equal.
Run the attached JUnit4-Test to see the failure. In general there should be a test which generates random geometries and do that test multiple times.
This bug is present at least since jts-1.8 and is still actual! Now i found the time to report it :-(
Log in to post a comment.