[GIS] How to convert lots of ASCII files (.xyz format) into shapefiles by iterator in the Modelbuilder of Arcgis 10

modelbuilder

I have a plethora of xyz format files and I want to convert them into shapefiles separately and it is really time-consuming to do this conversion one by one.

I tried to create a model in ModelBuilder to read them from an input folder and does the conversion into shapefiles and then put them into the output folder with the same input name or use a wildcard to choose some of them to convert.


enter image description here

However, the files that I'm trying to convert are
XYZ foramt (e.g. file.xyz) ASCII files. Anyway, I used the following model to convert the files in the folder and what it really does is just converting the first file and then stops. I also ticked on the Recursive but it only converts the first file and stops.

Can anyone help with that?

Best Answer

I tested the following model and it works pretty well. The only inputs are the input folder where your .txt files are stored and the output folder. The output .shp name is the same as your input .txt name. Good luck!

enter image description here

Related Question