[GRASS-git] [OSGeo/grass] 47f3a8: v.overlay: add option to remove small areas (#7370)

Markus Metz noreply at github.com
Sun Jun 7 13:26:06 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 47f3a89771f9aa84b9498bb5668a2e314d38e0c1
      https://github.com/OSGeo/grass/commit/47f3a89771f9aa84b9498bb5668a2e314d38e0c1
  Author: Markus Metz <33666869+metzm at users.noreply.github.com>
  Date:   2026-06-07 (Sun, 07 Jun 2026)

  Changed paths:
    M vector/v.overlay/area_area.c
    M vector/v.overlay/local.h
    M vector/v.overlay/main.c
    A vector/v.overlay/testsuite/test_v_overlay.py
    M vector/v.overlay/v.overlay.html
    M vector/v.overlay/v.overlay.md

  Log Message:
  -----------
  v.overlay: add option to remove small areas (#7370)

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.



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list