geoprimsField-grade geospatial math

Validity

Checks that polygons are well formed, and repairs them.

This group checks a polygon for problems such as crossed or touching edges, duplicate corners, spikes, holes outside the outline, and wrong ring order, says where each one is, and returns a repaired polygon. GIS analysts and developers use it before measuring areas or running overlays. Start with check and repair. A common pitfall is a bow-tie outline with crossed edges, whose area means nothing until it is split into two triangles.

I want to check a polygon and repair it