You will learn: how to load data (csv, GeoJSON and shapefiles) into ArcGIS Online for your apps.
With your ArcGIS Developer account, you can upload different file formats (CSV, XLS, GPX, GeoJSON, Shapefiles, etc) to ArcGIS Online and then use them in your apps. This process is called publishing a hosted feature layer and behind every feature layer is a RESTful service that supports spatial queries and editing operations.
You can import existing spatial files, including CSVs that denote the latitude and longitude of points, or use our World Geocoding Service to determine the location of addresses or points of interest during import of a normal table. Initially your layers are only accessible to you, but they can be shared more widely using the sharing permissions in ArcGIS for Developers and ArcGIS Online. This import process is a fast and easy way to turn static data into live services and build apps to display, filter and edit.
In this tutorial you will download and import datasets that were gathered from the Los Angeles GeoHub. They include Trailheads (CSV), Trails (GeoJSON), and a Parks and Open Space (Shapefile). The data will be stored in your own account in ArcGIS Online and can be used in other tutorials.
Download and unzip the three datasets. Do not unzip the Parks and Open Space.zip inside. It contains a shapefile that you will import as is.
Click Dashboard + > New Layer and use Drop File Here/Select File to import each of the following datasets:
|Parks and Open Space.zip||Parks and Open Space||LA Parks|
In My Content, click each new feature layer and browse the following tabs to become more familiar with the data and the available tools.
In the item page, find the Service URL link and identify the service endpoint. This is what applications use to access the data. It should look something like this:
Try pasting the url in your browser to explore the data. Try the Query function at the bottom.
In the ArcGIS Online item page, locate the Visualization button and try styling your layer with different symbols. When you are done, save the symbols. This will allow apps that load the layer to display your new defaults.