Play back tracking data


Purpose
This sample demonstrates using the ArcGIS Tracking Analyst extension to play back tracking data. The tracking data can be any type of a feature class that has time stamp information (such as date and time). In this sample, you learn how to initialize the Tracking Analyst extension and the Tracking Analyst tracking environment. This sample covers the following:
  • Opening the tracking data feature class
  • Creating the renderers used by the temporal layer to display temporal data
  • Loading the Tracking Analyst extension
  • Initializing the tracking environment
  • Assigning temporal operators to the tracking environment to display temporal data
  • Incrementing a temporal operator
  • Changing the tracking environment temporal perspective time stamp

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.

Data has been provided for your use with this sample. It can be found at <Your ArcGIS Developer Kit Install directory>/Samples/data/Time/ProjectData.gdb/atlantic_hurricanes_2000.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.

  1. Open the solution in Visual Studio.
  2. Build the solution to make the play back tracking data Add-in's dynamic-link library (DLL) file.
  3. Add the Add-in's button to a toolbar in ArcMap.
  4. Click the Playback Tracking data button to start the play back of the hurricane data. The data gets updated every one-half second and increases by six hour increments.

PlaybackDataButton.cs Implementation file of the command that plays back the temporal data.
Download the C# files
PlaybackDataButton.vb Implementation file of the command that plays back the temporal data.
Download the VB.NET files

Download the files for all languages

See Also:

How to connect to ArcGIS Tracking Server




Development licensing Deployment licensing
ArcGIS for Desktop Basic: Tracking Analyst ArcGIS for Desktop Basic: Tracking Analyst
ArcGIS for Desktop Standard: Tracking Analyst ArcGIS for Desktop Standard: Tracking Analyst
ArcGIS for Desktop Advanced: Tracking Analyst ArcGIS for Desktop Advanced: Tracking Analyst