A Time-aware Geo Data Bucket

A CSV spreadsheet file can become the basic building block of a Feature Service, capable of holding existing or inbound data.  Follow the steps below to create a simple time-enabled GIS feature service bucket for tracking the weather data you provide to it from users or sensors.

1. Log into your ArcGIS Online publisher account.

2. Upload the sample CSV (wx_start.csv):

  • Click “Content”.
  • Click button, “Add Item”. Select “From My Computer”.
  • Select the sample CSV and fill out metadata.
  • Click “Publish this file as a hosted layer”.
  • Select “Coordinates”.
  • Make sure the date field name shows date field type.
  • Make sure lat and long field names show latitude and longitude field types
  • Set the service to output to your local time zone. (In a later blog post, you will see the python script is set to send UTC time data to the feature class – which is converted to your local on map display).

3. View the feature service Overview page.

  • Find the “Layers” section. Click “Time Settings”.
  • In the pop-up window, click the checkbox, “Enable Time”. Select the first option, “Specific events in time”. Set pull down to “date”.

4. From the feature service Overview page, click “Open in Map Viewer”.

  • In the Change Style panel, make sure button 1 (Attribute to show) is set to “tempF”. Press Done.
  • Save your new map.
  • Hover over the new feature class layer name. Click the “View Options” button (ellipses). Select “Refresh Interval”. Enable the refresh and set to 1 minute (or whatever number makes sense to you).
  • Hover over the new feature class layer name. Click the “Cluster features” button. Enable or disable clustering to your preference. We recommend turning it off, initially.
  • Optional: You may also want to modify the transparency of the symbology, available under the “View Options” (ellipses) button. Select “Transparency”. Optionally, set to 50% initially.
  • Save your map edits.
  • Note: If new data are not showing on the map, click the layer’s “Show Table” button.If all the data is showing in the table, close it.  Then click the layer’s “Show Options” (ellipses) button and select “Disable Time Animation”. You can normally turn time animation back on and the data will appear.