Stream Layer

The Stream Layer output in ArcGIS Velocity allows you to write output features to a new stream layer. A new stream layer is created when the output is saved. Once created, you can use the stream layer in Velocity and in your ArcGIS Online organization for use in web maps, applications, and so on.

Examples

The following are example uses of the Stream Layer output:

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

Usage notes

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

  • The configuration of a related feature layer and associated join field is optional. If you do not need a related feature layer, click Next to skip this step without selecting a layer.
  • If a related feature layer and join field are chosen, the related join field must also exist in the outgoing data schema. Outgoing data to the stream layer can only be visualized in an ArcGIS Online web map if the field names and values are identical. For example, if you choose a SensorID join field on the related feature layer, you also must have a SensorID field in the outgoing data's schema.
  • Configuring a feature layer to keep the latest observation for each Track ID is optional. If configured, the most recent observations are saved in a companion feature layer. When the stream layer is added to a web map, the features in the feature layer display until new features arrive on the stream layer.
Note:

Feed names must be unique across an organization.

In Velocity, the feed name must be different from the feature layer and stream layer output names. If there is a duplicate name, Velocity does not allow you to create a real-time or big data analytic.

This only applies to Velocity feature layer outputs and not ArcGIS Online hosted feature layers.

Parameters

The following are the parameters for the Stream Layer output:

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 must be the same as a field in the output features schema from the real-time analytic.

String

Keep Latest

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

Boolean

Considerations and limitations

The following are considerations and limitations when using the Stream Layer output:

  • The Stream Layer cannot be shared publicly.
  • If Keep Latest is set to true, the Stream Layer output name must be unique within the organization.