Stream Layer

The Stream Layer feed receives features from an ArcGIS Online stream layer.

Examples

The following are example scenarios when the Stream Layer feed is useful:

  • Configure a feed referencing a stream layer output from an ArcGIS Velocity real-time analytic.
  • Add a publicly accessible stream service published from ArcGIS GeoEvent Server to ArcGIS Online as a stream layer item and configure a feed referencing that stream layer.

Usage notes

Keep the following in mind when working with the Stream Layer feed:

  • The feed will connect to a stream layer's stream service to load features as they are broadcasted by the stream service.
  • To load an ArcGIS Enterprise stream layer, add the stream service URL as an ArcGIS Online item.
  • When browsing to select a stream layer item, filter by your folders, favorites, groups, organization, or all of ArcGIS Online. You can filter further by the date modified, date created, and tags.

After configuring the feature layer connection parameters, see Configure input data to learn how to define the schema and the key fields.

Parameters

The following table lists the feature layer connection parameters:

ParameterDescriptionData type

Where Clause

A where clause is similar to an SQL expression that is used to filter features received from the stream layer.

Supported operations for stream layers include the following:

  • ( '<=' | '>=' | '<' | '>' | '=' | '!=' | '<>' )
  • (AND | OR | NOT | LIKE)
  • (IS NULL | IS NOT NULL)
  • (IN)

For more information, see where filter.

String

Out Fields

A comma-separated list of fields from the stream layer that will be loaded into Velocity.

If no fields are specified, all fields will be loaded. The following is an example:

OBJECTID,device_id,timestamp,horizontal_accuracy,latitude,longitude

String

Output Spatial Reference

Specifies the well-known ID (WKID) of a spatial reference.

Velocity will load data from the stream layer in the spatial reference defined by this parameter, for example, 4326.

String

Extent

Specifies the extent filter for incoming data broadcast by the stream service.

This parameter is important if there is a large amount of data outside an area of interest you do not want to process.

The geometry must be the Esri JSON Envelope geometry type. The following is an example:

{ "xmin": -104, "ymin": 35.6,
  "xmax": -94.32,
  "ymax": 41, "spatialReference": { "wkid": 4326
  }
}

String

Limitations and considerations

If the stream layer references an ArcGIS Online stream service, the service must be unsecured.