Send Real-time Streaming Data
Instructions for use
Send Real-time Streaming Data enables real-time data transfer between clients and servers, and between clients and clients, through iServer or Http/Https services. Stream Data Service of iServer adopts Web Socket protocol and supports full-duplex and bidirectional communication.
Note: If the object to be sent is too complex or there are too many nodes, the sending may fail.
Function entrance
Online Tab- Real-time Stream Data -> Send Real-time Streaming Data。
Parameter Description
- Source Data: Select the Dataset to be sent and the Datasource.
- CSV File
- File Path: Select the local CSV file storage path.
- Separator: Separator number of the file.
- Character set: select the character set type of CSV File, default is ASCII.
- 1st Row as Header: If checked, the first line will be recognized as Field information.
- X/Longitude, Y/Latitude: Specify the column of longitude and latitude.
- WKT field: Check to use the WKT field. For details on the WKT data format, refer to the WKT Text Markup Language .
- Name: The name of the stream data currently being sent.
- Sending type: Select the type of sending service, which supports iServer and Http/Https.
- Web Socket Address: Request address on the Broadcast page on the iServer.
- Token: iServer token. The request is detailed in Generate Token (http://localhost:8090/iserver/services/security/tokens). Note: This jump button needs to start Supermap iServer first.
- Http/Https address: localhost: 8125 is provided by default.
- Sending frequency: The time interval for sending stream data. The default value is 1000 milliseconds.
- Number of sending records (pieces): number of sending records at a time.
- Circularly Send: Check to Circularly send data all the time, so as to send updated data in time.
Parameter Settings is completed, the Send Real time Streaming Data will be started, and the sending status will be displayed in the Send Real-time Streaming Data Dock Bars on the right side of the interface. Buttons on the toolbar allow you to add, delete, start, and stop sending.