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 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

  • 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

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 property 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 property 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.


Dans cette rubrique
  1. Usage notes
  2. Parameters