I have a shapefile table with more or less 12000 sectors. I want to use this as a zonal feature layer, however the tool I want to use it with can only handle 255 zones. Therefore I want to divide the shapefile in 1200/155 individual files.

I thought to do it through model builder with the Select (analysis) tool. I created a list of all values (0 - 255 - 510 - etc). I want to run Select with each time using different values of my list in the Expression. I have no clue how to iterate through the values in the expression.

There is probably a better method for doing this.

closed as off-topic by nmtoken, whyzar, BERA, aldo_tapia, Dan C Mar 27 '18 at 19:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – nmtoken, whyzar, BERA, aldo_tapia, Dan C
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Populate new field using divmod (!Fid!,155)[0] . Search site for split by attributes or similar – FelixIP Jun 17 '17 at 19:54
  • Great, this solved my problem ! – Oh-No Jun 18 '17 at 15:04