This check flags invalid polyline and polygon geometries.
The Way id:803496316 is an invalid self intersecting polygon.
This check looks at three types of Atlas Items: Areas, Edges, and Lines. A feature is considered valid for the check if it is one of those types and has not been country sliced.
Geometries are validated using the Java Topology Suite (JTS).
The Atlas geometries are converted to JTS geometries.
If a features fails to pass the JTS geometry .isSimple()
or .isValid()
methods then it is flagged.
To learn more about the code, please look at the comments in the source code for the check. InvalidGeometryCheck.java