MultiPolygon Handling
deckar01 opened this issue · 2 comments
deckar01 commented
...
File "arc-overhang/util.py", line 183, in create_arc
if not coord in remaining_empty_space.exterior.coords:
AttributeError: 'MultiPolygon' object has no attribute 'exterior'
...
File "arc-overhang/util.py", line 182, in create_arc
for coord in crescent.exterior.coords:
AttributeError: 'MultiPolygon' object has no attribute 'exterior'
deckar01 commented
stmcculloch commented
Yeah this issue is a bit tricky. I don't think multipolygons should even exist in the first place, so handling them might end up causing more errors than finding the root cause of their existence.
This seems to occur more frequently when N is low. Try setting N to 7 (to make hexagons instead of arcs) and you'll get some kind of error almost every time.