Select to view content in your preferred language

iterate feature class does not recognize shapefiles

3253
15
Jump to solution
04-29-2020 03:58 AM
DeanBeyer
Emerging Contributor

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:

000185: This data type is not supported

Other geoprocessing tools work just fine on these shapefiles in model builder.  #project error in iterate feature class

0 Kudos
15 Replies
DavidPike
MVP Frequent Contributor

I thought .shx was a mandatory file?

0 Kudos
DeanBeyer
Emerging Contributor

Sorry, you are correct, I missed it. The batch process files do include an .shx file.

0 Kudos
Robert_LeClair
Esri Notable Contributor

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?

0 Kudos
DeanBeyer
Emerging Contributor

Well that beat it into submission! Thanks Robert!

JoshuaBixby
MVP Esteemed Contributor

Please mark a reply as Correct Answer or your question as Assumed Answered to close it out.

0 Kudos
Robert_LeClair
Esri Notable Contributor

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!