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

  • 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 property 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 which uses the GeoJSON Outbound Adapter and an HTTP Outbound Transport that supports basic, certificate, or OAuth authentication.

Parameters

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 property 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 property 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. This property has no default value.

This property 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 type(s) used and accepted by an HTTP client/server. This connector specifies the following MIME type for JSON, which is the default for this property: application/json.

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


In diesem Thema
  1. Usage notes
  2. Parameters