Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

randomly select polygons and stepwise omit overlapping polygons

$
0
0
hi there,

I have ~300 buffer polygons (see attached) and want to randomly select ~50 of them. when one polygon is selected, I want to omit all other polygons that overlap that selected polygon from the next step of selection.


I want to do this stepwise for all 50 polygons I select. in the end, none of my 50 selected polygons will overlap.

any ideas? I am new to python.

thanks

emil
Attached Thumbnails
Click image for larger version

Name:	random_selection.png‎
Views:	N/A
Size:	36.9 KB
ID:	33327  

Viewing all articles
Browse latest Browse all 2485

Trending Articles