Display temporal data


Purpose
This sample application reads temporal data from a shapefile (that contains such data) and displays it on a map. The application sets up a tracking environment, the temporal mode, the temporal perspective, and the base time, then reads in temporal data from the shapefile. The data is then displayed in the map bean, at 1-second intervals, using Java Swing's standard timer mechanism (InvokeHelper.java) in association with the com.esri.arcgis.trackinganalyst.TemporalOperator class.

How to use

See How to use ArcGIS samples for help on 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. Execute the DisplayTemporalData class.
  2. In the application window, click the Playback Tracking Data button on the toolbar. Features are rendered from the shapefile at 1-second intervals.


Download the files for Java
DisplayTemporalData.java Main class.
command/DisplayDataCommand.java Custom command class.
command/InvokeHelper.java Breaks down the tracking environment incrementally using the javax.swing.Timer object's timing mechanism.




Additional Requirements
  • ArcGIS Engine and ArcGIS Engine Developer Kit

Development licensing Deployment licensing
Engine Developer Kit Engine