WIP: Add test for GEOS reported Orientation#isCCW robustness issue#1189
WIP: Add test for GEOS reported Orientation#isCCW robustness issue#1189strk wants to merge 3 commits intolocationtech:masterfrom
Conversation
|
For the record, tested locally the test fails:
|
|
@dr-jts by reading the code I was under the impression that similar case should be correctly handled but the Orientation#isCCW method, am I wrong ? |
|
The case at hand is this (in HEXWKB form):
|
|
Both of these polygons compute as invalid. The CCW algorithm isn't certified to work correctly on invalid geometry. (The invalidity of the second polygon is obvious; the first one is hard to see). |

See libgeos/geos#1425