I'm trying to iterate over about 5000 rows in a feature class and copy those features X number of times. The X number of times I need to copy them is stored in another field in same feature class called "Number of times to copy". Here's what the table looks like.
I'm not certain which Modelbuilder iterate tool will accomplish this best. I was thinking maybe iterate row selection. Any help with this is appreciated.
Solved! Go to Solution.
Update: I'm going to leave this here just in case anyone finds a way to do it, but I decided to go with another approach because when I run into situations like this it's usually because I'm overthinking the problem and there is usually an easier solution. In this case the easier solution is to take the points that I already have and get the X,Y for them. Then I can link those points to the table I have of 20k records that have repeated addresses. I'll join the feature to the table by the common address fields, which should give me the X,Y on each record. Then I plan to use the XY table to Point geoprocessing tool to create all the points. Finally, I'll spread the point using the Disperse Markers geoprocessing tool to separate the points.
Update: I'm going to leave this here just in case anyone finds a way to do it, but I decided to go with another approach because when I run into situations like this it's usually because I'm overthinking the problem and there is usually an easier solution. In this case the easier solution is to take the points that I already have and get the X,Y for them. Then I can link those points to the table I have of 20k records that have repeated addresses. I'll join the feature to the table by the common address fields, which should give me the X,Y on each record. Then I plan to use the XY table to Point geoprocessing tool to create all the points. Finally, I'll spread the point using the Disperse Markers geoprocessing tool to separate the points.