Adding a CSV file to arcgis online

1027
3
11-15-2011 02:26 PM
SubhadipGhosh
New Contributor II
I have looked at the previous threads and I have tried doing as asked but I have not been able to add a simple txt file with csv values to my online maps. It shows the error -
"File does not contain fields with point coordinates".

This is exactly what I have in the file (attached as well)-
16.02,23.45
-12.33,9.34

Can someone who has done this please tell me how to fix this.
I would appreciate if you don't link me to some help file - I have already looked into
http://help.arcgis.com/en/arcgisexplorer/help/index.html#//01560000004t000000 and
http://help.arcgis.com/en/arcgisonline/help/index.html#//010q00000060000000
doesn't really help.

Also is this method guaranteed to work when there are multiple fields of which 2 of them are coordinates - rest are some other metadata?

Thanks,
Subhadip
Tags (2)
0 Kudos
3 Replies
MikeMinami
Esri Notable Contributor
You need to add a header line to the file that defines the fields

lat,long
16.02,23.45
-12.33,9.34

Thanks,

Mike
0 Kudos
SubhadipGhosh
New Contributor II
thanks Mike. That worked.
I wonder why the help documents are so ambiguous.
0 Kudos
MikeMinami
Esri Notable Contributor
Typically, the first record of the CSV contains the names of the fields. I guess the author of help assumed people know that. We can try to make that more clear in the documentation.

Thanks,

Mike
0 Kudos