Display tracking server layer

This sample demonstrates how to retrieve a temporal layer from a tracking server and display it on a globe. After the globe document is loaded, the application requires that a valid name be provided for the tracking server. The application uses this information to connect to the tracking server, then it retrieves a list of available tracking services that can be added to the globe.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the DisplayTrackingServerLayer application. The application loads a 3DD file. If a 3DD file is not found, click Open to locate a 3DD file.
  2. Click the Add Tracking Server Layer button.
  3. Type the tracking server name and click Connect. The application connects to the tracking server and retrieves a list of available tracking services.
  4. Select a tracking service from the Select Tracking Service dialog box and click Add as Layer. Features from the selected service are rendered on the surface of the globe after the temporal layer is retrieved from the tracking server.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

trackinganalyst/DisplayTrackingServerLayer.java Main class.
trackinganalyst/commands/DisplayTrackingServerLayerCommand.java Custom command class that listens to command events.
trackinganalyst/ui/ServerInfoDialog.java Java Swing Dialog class used to enter server and service information.
trackinganalyst/ui/ServerInfoListener.java Listens to ServerInfoDialog events and connects to the specified tracking server.
trackinganalyst/ui/ServiceInfoDialog.java Java Swing Dialog class used to select available tracking services.
trackinganalyst/ui/ServiceInfoListener.java Listens to ServiceInfoDialog events and retrieves the selected tracking layer.

Additional Requirements
  • ArcGIS Engine and ArcGIS Engine Developer Kit

Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic