holoviz-topics / EarthSim

Tools for working with and visualizing environmental simulations.
https://earthsim.holoviz.org
BSD 3-Clause "New" or "Revised" License
65 stars 21 forks source link

Annotators and polygons with holes #256

Open kcpevey opened 5 years ago

kcpevey commented 5 years ago

Opening this for discussion on polygons with holes.

Recipe:

  1. Draw a polygon
  2. Draw another polygon inside of the first polygon
  3. The second polygon is essentially cut out of the first polygon. There are then two polygons. The first polygon has a hole, the second polygon first perfectly into that hole (shares an edge - theoretically those edges are the same, moving one would move the other).

The Map module of SMS is what I have in mind when I'm thinking about the functionality I need.

kcpevey commented 5 years ago

Still a priority for Phase 2. On hold until after the updates to polygon construction via connected path. That will allow for building the polygons separately which will affect this issue.