Skip to content

Conversation

russelldj
Copy link
Contributor

The goal of this is to make a set of potentially-overlapping polygons nonoverlapping. The definition for how to split is as follows: for any given point covered my multiple polygons, assign it to the polygon for which it is furthest interior from the nearest edge. The code so far only handles this for the pairwise case using the following steps:

  • Identify the overlapping region
  • Subtract this region from both input polygons to obtain the unambiguous regions
  • Add additional points to the boundary using segmentize
  • Create the veronoi tessellation to determine the region closest to each point
  • Dissolve these regions based on which polygon boundary the point was from

I haven't rerun this recently, but I think it was having numerical issues.

@russelldj russelldj marked this pull request as draft July 1, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant