Skip To Content

Push GeoJSON to an External Website

The Push GeoJSON to an External Website output connector can be used to push event data, adapted and formatted as GeoJSON, to an external website. ArcGIS GeoEvent Server, as a client, pushes GeoJSON to the external website using an HTTP/POST request. 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 Website output connector:

  • This output connector pairs the GeoJSON outbound adapter with the HTTP outbound transport.
  • Like feature JSON, GeoJSON is a subtype of generic JSON. Different GeoEvent Server adapters are used to process these specific formats.
  • For more information on examples of GeoJSON data record formatting, see GeoJSON specification.
  • Query parameters can be specified separately in the Parameters parameter or constructed as part of the URL parameter.
  • This output connector assumes the external web server or web service will accept HTTP/POST requests without requiring authentication. For external websites requiring authentication, consider creating a custom output connector that uses the GeoJSON outbound adapter and an HTTP outbound transport that supports basic, certificate, or OAuth authentication.

Parameters

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

ParameterDescription

Name

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

URL

The base URL of the external website data will be pushed to. GeoEvent Server will issue an HTTP/POST request to the URL to send the GeoJSON data.

Header Parameter Name:Value List

The parameters to include in a request’s HTTP header when an external web server or web service is polled. The header parameters should be specified using Name:Value pairs (colon included) separated by commas.

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.

Parameters

Specifies a query parameter (or multiple query parameters) to append to the base URL. Query parameters are specific to each web service and are not supported by all services. When supported, query parameters help specify data of particular interest. This parameter has no default value.

Use URL Proxy

Specifies whether GeoEvent Server will use a URL proxy when making its HTTP requests. The default is No.

  • YesGeoEvent Server will use a specified proxy when sending its query to an external service’s URL.
  • NoGeoEvent Server will not use a URL proxy. The base URL will be accessed directly.

URL Proxy

(Conditional)

The URL proxy to use when making an HTTP request.

The parameter is shown when the Use URL Proxy is set to Yes and is hidden when set to No.

Post body MIME Type

Specifies the MIME type of data included in the HTTP/POST request's content body. MIME types typically consist of a type/subtype structure and are used to specify the internet media types used and accepted by an HTTP client/server. This connector specifies the following MIME type for JSON application/json, which is the default for this parameter.

HTTP Timeout (in seconds)

Specifies the maximum time (in seconds) the output connector will wait for a response from the external web service it has issued a HTTP/POST request to. The value must be an integer between 1 and 2147483. The default value is 30 seconds (the HTTP/POST request will timeout after 30 seconds if no response is received).


En este tema
  1. Usage notes
  2. Parameters