Where is the Generate tool in ArcGIS 10?

2789
8
05-14-2012 08:04 AM
RobinZhang
New Contributor
I have a text file that contains X,Y coordinates. I hope to create lines using these coordinates. I used to use Generate. Is that tool still available in ArcGIS 10? If not, what is the shorted route to accomplish that without much editing in the text file? Thank you.
0 Kudos
8 Replies
NobbirAhmed
Esri Regular Contributor
Try XY To Line tool under Data Management Tools > Features.
0 Kudos
RobinZhang
New Contributor
Thanks for the reply. It seems that tool creates lines that have only two points (start and end). My lines have multiple points. Is there another option?
0 Kudos
MathewCoyle
Frequent Contributor
Do your lines have a common ID that links each vertex to a particular line? You could try creating a point feature class with the make XY event layer tool and then using Points to Line.
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
You can try the Create Features From Text File in this Samples toolbox:
http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=F25C5576-1422-2418-A060-04188...
0 Kudos
GraemeBrowning
Regular Contributor
Many thanks for posting this link Dan

I often rue the passing of GENERATE and UNGENERATE from ArcInfo Workstation and planned someday to write replacement Python scripts for them.

It's great to see that Jason did this already - I only wish that I had found them sooner.

I think Create Features from Text File and Write Features to Text File make great candidates for sharing via ArcGIS Online with tags that include "generate" and "ungenerate" respectively.

Or alternatively vote for this ArcGIS Idea to try and have them restored as OOTB functionality.

- Graeme
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
You are welcome, Graeme!

Thanks for your comments and your post at the ArcGIS Ideas - good way to go!  In fact, based on the large number of downloads of these two sample tools, we are looking into the possibility for the return of these two tools to the toolbox in a future release. So, stay tuned.  :)
0 Kudos
RobinZhang
New Contributor
I'd like to thank you all for helping me out. I got it to work. Generate and Ungenerate had been very handy to me in the past. I would certainly welcome them back to future ArcGIS releases.
0 Kudos
DanLee
by Esri Regular Contributor
Esri Regular Contributor
I hear all of you and will follow up.  Thanks for voicing your requests.
0 Kudos