Adding a real-time feed to ArcMap


PurposeThis sample demonstrates connecting to a Tracking Server and adding one of the services to ArcMap. This sample also shows initializing the Tracking Analyst extension.

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 solution.
  2. Change the TS_SERVER_NAME to the name of your Tracking Server machine.
  3. Change the TS_SERVICE_NAME to the name of the real-time feed on your Tracking Server you want to connect to.
  4. Build the solution.
  5. Add the Add-in button to a toolbar in ArcMap.
  6. Click the Add-in button to have it add the temporal layer to Arcmap.

AddTrackingServerLayerButton.cs Command that connects to a Tracking Service and adds it to ArcMap.
Download the C# files
AddTrackingServerLayerButton.vb Command that connects to a Tracking Service and adds it to ArcMap.
Download the VB.NET files

Download the files for all languages

See Also:

Sample: Add and symbolize a historical temporal layer in ArcMap




Additional Requirements
  • Tracking Server with a feed running is required to successfully execute this sample.

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