Hello,
could you please help me to import this TXT file into ArcMap.My trials are ending with the error message
I do not knwo what is wrong with this file.
Thank you in advance
Try to use Make XY Event Layer—Help | ArcGIS Desktop
or ADD X Y data Adding x,y coordinate data as a layer—Help | ArcGIS Desktop
Presumably you made this in some other program like Excel.
You would be advised to save it as a comma-separated values file rather than space-delimited. you should then be able to add it as an Event Layer.
Also, make sure there are no blank lines at the end of the file.
What version of ArcMap are you using? And when you say, " import this TXT file into ArcMap," how exactly are you trying to import it?
I am running ArcMap 10.6, and I have no problem loading the file using "Add Data..." in the menu.
Dear Dan,in my file there are no blank lines. Moreover, although I save the file as a comma-separated file, I still can not create an Event Layer, because there are no values to be chosen as X and Y
Here I attach the file again.
ob11_92.txt - Google Drive
I would be grateful if you could help me solve this problem.
I am using ArcGIS 9.3.1 and I am trying to import this file by Tools->Add XY Data
works in 10.6 and pro
I will attach a shapefile
Yes, I can see, but my problem still remains unsolved. Could you please help me with my file?
You are adding it wrong...
go to the File menu, select Add Data, Add XY data or equivalent for your version of the software. You are trying to make an event layer, but you have to get the data in first and the approach I suggested is the quickest
I can nopt do this, because as I choose the file, there is nothing on the lists for X and Y Field
Yes, I know, but why it doesn't work in 9.3.1?
Malgorzata,
If the above mentioned does not work for you, can you try bring the data in excel and then see if it works?
My doubt is that ArcGIS desktop is not able to consider the Latitude (Y) and Longitude (X) fields as a double type. Ideally, ArcGIS desktop reads the first 8 rows of the table and assigns/decides the field types.
You may simply copy the data from the text file and paste it in MS Excel and use the Text to Column option to create a properly formatted excel and use that to plot the point data.
I hope this helps!
~Shan
Shantonu, the file attachments that I posted were brought into excel for a check. It was fine. I managed to make the csv from it and brought it in to arcmap and pro as an event layer then I ultimately saved it as a shapefile. So it isn't the data, it is his machine/installation
Dan Patterson, that would explain the issue and it does make sense.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.