Temporal statistics


Purpose
This sample demonstrates the following:
  • Initializing the Tracking Analyst in an ArcGIS Engine application
  • Retrieving all Tracking Analyst temporal layers on the map
  • Using ITemporalWorkspaceStatistics to retrieve metrics about all tracking connections open on the map
  • Using ITemporalFeatureClassStatistics to retrieve metrics on specific tracking services

How to use

See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. 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 .NET solution file and build the project.
  2. Run the TemporalStatistics application.
  3. Use the Open Document command on the Toolbar control to browse to a pre-authored map document to load into the MapControl. The pre-authored map document should include one or many tracking services that shows.
  4. Use the Tracking Services combo box to select the statistics shown.
  5. Click the Refresh button to apply any configuration changes to the statistics display, such as, the sampling size or refresh rate.

MainForm.cs Demonstrates accessing real-time feed statistics.
Download the C# files
MainForm.vb Demonstrates accessing real-time feed statistics.
Download the VB.NET files

Download the files for all languages

See Also:

Sample: Adding a real-time feed to ArcMap
Updating the purge rule on a real-time temporal layer




Additional Requirements
  • This sample requires a real-time feed.

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime: Tracking
ArcInfo: Tracking Analyst
ArcEditor: Tracking Analyst
ArcView: Tracking Analyst