Creating a layer using a CSV file
Now that you have uploaded a shapefile and created a feature layer based on the shapefile, let’s look at a CSV file. You can upload a CSV or TXT file to your content just as you did the shapefile. Because it is a single file, there is no need to ZIP it before you upload it to your ArcGIS Online content.
When you add a CSV file to your content, it is typically used in one of two ways. The first is just to allow others to download the file or to use it as a standalone table. The file is not used to create a layer in a map or scene. In that case, you do not need to worry about formatting.
However, if you want to create a layer in a map or scene from the data in the CSV file, it will need to be formatted to support that operation. Here are the formatting requirements for a CSV file if you want to use it to create a layer. This also applies to a TXT file:
- The first line must contain column headers, not feature values
- The first line must include identifiers for two...