Skip To Content

Push GeoJSON to an External WebSocket

The Push GeoJSON to an External WebSocket output connector can be used to push event data, adapted and formatted as GeoJSON, to an external server’s WebSocket. This output connector runs as a client and must be able to establish a connection with an external server’s WebSocket gateway to push GeoJSON data to. For more information on examples of GeoJSON data record formatting, see the GeoJSON specification.

Usage notes

Keep the following in mind when using the Push GeoJSON to an External WebSocket output connector:

  • This output connector adapts event data as GeoJSON as opposed to feature JSON or generic JSON.
  • This output connector pairs the GeoJSON outbound adapter with the WebSocket outbound transport.
  • This output connector runs as a client and establishes connection to an external server’s WebSocket.
  • The WebSocket (ws) and WebSocket Secure (wss) protocols are supported by this connector.

Parameters

The following are the parameters for the Push GeoJSON to an External WebSocket output connector:

ParameterDescription

Name

A descriptive name for the output connector used for reference in GeoEvent Manager.

Remote Server WebSocket URI (Client Mode)

The WebSocket URI GeoEvent Server will push data to. The default is a placeholder URI specified as ws://localhost:80/ws. Update this parameter to reflect the URI of the external server’s WebSocket.

Formatted JSON

Specifies whether the GeoJSON will be formatted (prettified). Also known as PJSON. The default for this parameter is No.

  • Yes—The GeoJSON will be formatted (prettified).
  • No—The GeoJSON will be not be formatted.

Idle Time to Disconnect

The interval (in seconds) after which the WebSocket connection will close if there is no traffic. The default is 600 seconds, which means after 10 minutes (600 seconds) of no traffic the WebSocket connection will close.


En este tema
  1. Usage notes
  2. Parameters