Model Builder: Skipping shapefiles without attributes

08-09-2013 02:45 AM
New Contributor

I'm trying to create 10m spaced points based on some line data I have. This line data is split over many shapefiles, and some are without attributes following some pre-processing. I want to skip over these files without attributes, as they stop my model.

The model stops at "create random points" on the third file that the model iterates through, as there is no field data to populate the number of points required. Is there a way that I can set up my model to ignore such files without attributes and use the shapefiles that can go through the whole process?

0 Kudos
1 Reply
by Anonymous User
Not applicable
Hi Jordan,

By no attributes, do you mean no fields or no features?

If you mean no features, you can add a condition with the Get" rel="nofollow" target="_blank"> Count tool to make sure there are points. Hope this helps!
0 Kudos