HTTP Simulator
The HTTP Simulator feed type in ArcGIS Velocity simulates events in real-time using a web-accessible or local file according to a specified rate and quantity of features.
Examples
The following are example use cases for the feed:
An emergency management operations specialist replays historical data in support of preparedness exercises for future events.
A data analyst wants to test real-time visualization and analytics using their existing data.
Usage notes
Note the following when working with the feed:
When simulating track-based data, sort the data first by time stamp; then sort by track ID.
After configuring feed connection parameters, configure input data to define the schema and the key parameters.
Parameters
The following are the parameters for the feed:
|
Parameter |
Description |
Data type |
|---|---|---|
|
URL or file path |
The full URL or file path to the externally accessible simulation file. |
String |
|
Field Separator |
The character or delimiter that separates field values in the simulation file. |
String |
|
Features per Execution |
The number of records (features) to simulate at a time. If the data is sorted by time stamp and track ID, and there are an equal number of observations for each track, set the parameter to the number of unique tracks in the data. |
Integer |
|
Interval for Sending Events (milliseconds) |
The interval between sending the number of Features per Execution value. Set this to 1000 to simulate a set of features once per second. |
Integer |
|
Repeat Simulation |
Specifies whether the simulation will be restarted automatically from the beginning when the end of the file is reached. |
Boolean |
|
Time Field Index |
The numerical index of the date field in the dataset in which the index starts at 0. For example, if the date field is the second field, the index is 1. |
Integer |
|
Convert to Current Time |
Specifies whether the time values in the dataset will be converted to the current time as the data is simulated. This allows mapping apps to treat the data as real-time data. |
Boolean |
Considerations and limitations
Consider the following when using the feed:
The HTTP Simulator feed supports delimited text files only.
The simulation file must be publicly available on the internet or a local network, and the file size must not exceed 16 MB. If the file size exceeds 16 MB, features may not be ingested.