powered by
terra
Currently, this only tests for validity of a SpatVect file, then if there is a problem, it will run `terra::makeValid`
fixErrorsTerra(x)
The SpatStat or SpatVect object to try to fix.