Expand description
Provides a way to check the validity of geometries, based on the OGC Simple Feature Access - Part 1: Common Architecture standard.
Structs§
- Coord
Index - The index of the coordinate in the geometry
- Geometry
Index - The position of the problem in a multi-geometry, starting at 0.
Enums§
- Invalid
Geometry - A
Geometryis valid if its inner variant is valid. e.g.Geometry::Polygon(polygon)is valid if and only ifpolygonis valid. - Invalid
Geometry Collection - A
GeometryCollectionis valid if all its elements are valid. - Invalid
Line - Invalid
Line String - Invalid
Multi Line String - A
MultiLineStringis valid if eachLineStringin it is valid. - Invalid
Multi Point - A
MultiPointis valid if eachPointin it is valid. - Invalid
Multi Polygon - A
MultiPolygonis valid if: - Invalid
Point - Invalid
Polygon - A
Polygonmust follow these rules to be valid: - Invalid
Rect - Invalid
Triangle - Ring
Role - The role of a ring in a
Polygon.
Traits§
- Validation
- A trait to check if a geometry is valid and report the reason(s) of invalidity.