2

I am trying to open a txt file (the textfile contains coordinates. It has a x and y column) within ArcMap 10.0. But everytime I want to open it (Add data --> Add XY Data) the software does not show me the X and Y field. Even when I try to open the txt via Data -> Add Data --> Add Data I get an error message "General function failure". Even when I try to create a txt file like done in http://resources.arcgis.com/en/help/main/10.1%20/index.html#//005s00000010000000 I am experiencing the same problems. The same happens also if I convert the txt to csv.

Does anybody have an idea why I can't open any txt file in Arcmap?

Edit: I can open the file in ArcMap on my computer at home. Only on my works computer I am experiencing the problem that I can't open any text file. Any ideas?

  • Do you have the data correctly formatted? This could lead to this error. – Dominic Järmann Nov 12 '15 at 14:08
  • 2
    You might post a few lines from the file to help us see what the issue is. – jbchurchill Nov 12 '15 at 16:28
  • A few years ago I discovered a weird thing with Arcmap. If your CSV file is on the root of your C:\ drive Arcmap never shows it. As soon as you move it to a folder such as c:\Temp then its visible and you can add it to the map and display as an event layer. Is this the issue? – Hornbydd Nov 12 '15 at 17:03
  • @Hornbydd Works fine for me in the not-yet-released 10.4.0 prerelease! – mkennedy Nov 12 '15 at 19:30
  • 1
    @Dominic, could there be a difference in setup between both computers, where one (at home) is using "." as the decimal separator, and the other (at work) is using "," ? Then your values would be recognized as coordinates or not, because they would be interpreted as numeric or text. – Hélène Nov 13 '15 at 10:11
1

I agree with the others, this sounds like a formatting issue. Make sure your TXT file is correctly formatted and there are no strange characters in it.

Can you post a screenshot or an excerpt of the TXT file?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.