From 951b4b6c5558c9720230ba4b7afe66ce6bd8b507 Mon Sep 17 00:00:00 2001 From: Markus Metz Date: Sat, 6 Jun 2026 18:35:25 +0200 Subject: [PATCH] v.voronoi: fix skeleton creation --- vector/v.voronoi/skeleton.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/vector/v.voronoi/skeleton.c b/vector/v.voronoi/skeleton.c index 9e052b76d0e..76e8811b611 100644 --- a/vector/v.voronoi/skeleton.c +++ b/vector/v.voronoi/skeleton.c @@ -513,8 +513,12 @@ int tie_up(void) /* find area for this node */ area = Vect_find_area(&In, x, y); - if (area == 0) - G_fatal_error(_("Node is outside any input area")); + if (area == 0) { + /* the node can be exactly on a boundary which is fine, + * no tie-up needed */ + G_debug(3, "Node is not completely inside any input area"); + continue; + } /* get area outer ring */ Vect_get_area_points(&In, area, Points);