To complete this task, you must have an input that was configured using the Receive text from a TCP socket Input Connector. You must also have a feature layer that will serve as the source data for the simulation. Before completing this task, you should import the corresponding GeoEvent Definition from the feature layer.
GeoEvent Simulator can be used to simulate a stream of GeoEvents into the Extension GeoEvent using a feature layer as the data source.
- Open GeoEvent Simulator from the Windows Start menu.
- Select Layer from the menu in the upper left corner.
- Click Load Layer to open the Load From Layer dialog box.
- Click the button next to the Input Layer to open the Select Layer dialog box.
- In the Connection section, type the information and credentials to connect to the ArcGIS Server (or ArcGIS Online) account that contains the layer you want to simulate.
- Click Connect to connect to ArcGIS Server.
- In the Layer URL section, choose the Browse to Layer option.
The Custom Layer option should only be used by advanced users. If you know the complete URL specifying the layer you want to simulate, you can type it in the URL text box in the Custom Layer section and skip the next step.
- Select the layer you want to simulate by selecting the appropriate Folder, Service, and Layer from the drop-down lists.
- Click OK to select the layer.
The Input Layer text box in the Load From Layer dialog box is now populated with the location of the simulation layer.
- You must connect to the Extension GeoEvent to select the GeoEvent Definition that will be used to interpret the simulated data. Click the button next to the Input GeoEvent Definition to open the GeoEvent Extension dialog box.
- Enter the server name and port to connect to the Extension GeoEvent and click OK. The typical port number used by the Extension GeoEvent is 6143.
Notice the Input GeoEvent Definition drop-down list is now populated with the complete list of GeoEvent Definitions available from the Extension GeoEvent.
- Click the Input GeoEvent Definition drop-down arrow and choose the GeoEvent Definition that will be used to interpret the simulated features.
- Click Load to load the feature layer into GeoEvent Simulator.
The Layer text box is now populated with the selected feature layer.
- In the Server text box, type the name of the server where the Extension GeoEvent is running. In the second text box, enter the port number used by the input configured to receive GeoEvents as text.
- Click Connect to connect to the server. The button initially shows a disconnected icon to indicate the current state.
The button changes to reflect that GeoEvent Simulator has successfully connected to the server.
- The default playback rate is 1 GeoEvent per 1,000 milliseconds (1 second). To change the default, type the number of GeoEvents you want to send at a specified rate.
Alternatively, you can choose to use the Real Rate option. This option will simulate the playback of GeoEvents using the actual time intervals between GeoEvents that are represented in the raw data.
- Click Play to begin simulating GeoEvents. After clicking Play, the icon on the button changes to Pause.
Click Pause to stop the playback at any time. You can also click Step Forward to send one GeoEvent at a time.
Vous avez un commentaire à formuler concernant cette rubrique ?