Stream Layer

The Stream Layer output allows you to write output features to a new stream layer. A new stream layer will be created upon saving this output. Once created, the stream layer will be available for use in Analytics for IoT and in your ArcGIS Online organization for use in web maps, applications, and more.

Example

  • After ingesting event data from your IoT sensors through a feed and processing and analyzing the data in a real-time analytic, you want to send the features to a stream layer for visualization in a dashboard.
  • You manage a variety of stationary assets, however their attribute values frequently update. You can configure a Stream Layer output and select a related feature layer and join field so that your resulting sensor observations have both attributes and geometry.
  • You have configured a feed and a real-time analytic to process events as they occur. You only want to visualize the latest state of your features as identified by the Track ID.

Usage notes

  • The configuration of a related feature layer and associated join field is optional. If you do not need a related feature layer, simply click Next to skip this step without selecting a layer.
  • If a related feature layer and join field are chosen, outgoing event data can only be visualized in a map if the event data matches the feature in the related feature layer. For example, if you choose a join field of SensorID on the related feature layer, you would also need a SensorID field in the event data's output schema.
  • Configuring a feature layer to keep the latest observation for each Track ID is optional. If configured, it will save the most recent observations in a companion feature layer. When the stream layer is added to a web map, the features in the feature layer will be displayed until new features arrive on the stream layer.

Parameters

ParameterDescriptionData Type

Name

The name of the new stream layer.

String

Related Feature Layer (optional)

The Portal Item ID or URL of a related feature layer.

String

Join Field (optional)

The field in the related feature layer used in the client application to join geometry to the observation.

This field name will need to be the same as a field in the output features schema from the real-time analytic.

String

Keep Latest

Specifies whether to create a companion output feature layer to keep the most recent observation for each Track ID.

Boolean

Considerations and limitations

  • If a related feature layer and related join field are selected, the schema of the output data sent to this output should have a field with the same name as the related join field.
  • If Keep Latest is set to true, the stream layer output name must be unique within the organization.