v.overlay: add option to remove small areas#7370
Conversation
|
The new test contains two tests:
The second test is relatively slow, together they take 10.7s on my laptop which I find a bit long for the whole GRASS testsuite. Any opinion on the test duration? |
|
Limit to 2-3 polygons maybe? We wish to have unit tests, not really integration tests |
OK, running time is now down to 1.5s, I think this is ok. My statements about the new tests still hold true. |
|
There are now unittest tests and pytest tests. Both do the same tests. Delete the unittest tests? |
Yes if possible. Or, to solve the failures, rename one of the files. But if they are both the same test, only keep pytest |
From the updated manual:
When overlaying two vectors with areas, very small areas can occur in the
output. This can happen when e.g. one vector is a slightly modified
version of the other vector (buffered or simplified). These very small
areas can be removed by setting minsize to some value larger 0.
The value is interpreted as square meters. In order to remove only noise
from slightly mismatching boundaries, the value of minsize should be
small, e.g. in the range 0.0001 to 1.
This is useful not only to remove noise, but also to reduce the size of the output vector in cases where a lot of very small areas are created by the overlay operation.
The group of PRs #7333, #7338, #7366, #7370 belong together.