I have shapefile that includes 49 points (wells). I want to create 100 networks that include 20 randomly selected points from first network. When I used create random point tool, Some networks were duplicates. How can I create non-repetitive networks?
ArcPy – How to Select Random Points from Feature Class
arcpypointrandomselect
Best Answer
Since we need to compile a list of IDs for an SQL
IN
operator anyway, let's use that string as the comparison basis to generate the unique lists...When testing with "generate 10 sets with 5 picked from 10" I was able to generate duplicate candidates, but when I moved up to "generate 100 sets with 20 picked from 49" I wasn't, but even if your random generator is cruel, this won't generate duplicates.