I have a number of shapefiles (home range polygons) created in R. In arcgis pro, I can reproject the shapefiles in batch just fine. However, in model builder, when I use Iterate feature classes, the shapefiles are not recognized with the project tool. The error code is:
Other geoprocessing tools work just fine on these shapefiles in model builder. #project error in iterate feature class
Solved! Go to Solution.
I thought .shx was a mandatory file?
Sorry, you are correct, I missed it. The batch process files do include an .shx file.
Interesting. Try this - use the Feature Class to Feature Class GP tool on 5 or 6 shapefiles. Have the output from the GP tool go to another folder on disk. Update the Model to point to the new folder and re-run. Does the error message persist?
Well that beat it into submission! Thanks Robert!
Please mark a reply as Correct Answer or your question as Assumed Answered to close it out.
Glad it worked out Dean - must be something amiss exporting to shapefile from R. You could build the Feature Class to Feature Class GP tool process to the front of your model to automate things a bit more. Happy ArcGIS Pro'ing!