ArcGIS Blog

Real-Time Visualization & Analytics

ArcGIS Velocity

Consume and Analyze Real-Time Data Using ArcGIS Velocity

By Aawaj Joshi and Suzanne Foss

Every day, sensors, connected devices, and other data sources generate enormous volumes of information about the world around us. From tracking vehicles and monitoring infrastructure to observing environmental conditions, this data provides valuable insight into constantly changing events. But collecting real-time data is only part of the challenge. Organizations also need to process and analyze incoming data as it arrives, identify events that require attention, and turn those insights into timely action.

Consider the challenge of monitoring vehicles transporting hazardous materials. Knowing where a truck is located matters, but understanding its proximity to sensitive locations, such as schools and hospitals, adds context that can help organizations identify potential risks.

At this year’s Developer Summit plenary, Suzanne Foss demonstrates how the California Department of Toxic Substances Control (DTSC) uses ArcGIS Velocity to monitor hazmat truck locations, identify their proximity to sensitive populations, and generate alerts when vehicles get too close to schools and hospitals.

Connecting to Real-Time Data

The first step in any real-time analytics workflow is connecting to the data. Organizations often receive information from thousands of sensors and connected devices, each continuously generating observations. To make this information available for analysis, ArcGIS Velocity uses feeds to ingest real-time data from a variety of sources.

Using a guided configuration wizard, you can create a feed that connects to data from ArcGIS layers, cloud service providers such as Microsoft Azure and Amazon Web Services (AWS), and industry message brokers such as Apache Kafka, MQTT, and RabbitMQ.

Feed configuration wizard showing the three categories of data sources: ArcGIS layers, cloud service providers, and message brokers.
Feed configuration wizard showing the three categories of data sources: ArcGIS layers, cloud service providers, and message brokers.

Once configured, feeds continuously ingest incoming observations and make the information available for visualization and analysis. As new observations arrive, they are displayed on a map, providing an up-to-date view of changing conditions.

For the DTSC workflow, these observations represent the locations of trucks transporting hazardous materials. As the trucks move, their positions are continuously updated, allowing the organization to monitor their movements in real time.

Incoming real-time observations displayed on a map in ArcGIS Velocity.
Incoming real-time observations displayed on a map in ArcGIS Velocity.

Beyond visualizing incoming data, developers can also incorporate real-time observation metrics into custom dashboards and applications. For example, the feed update-rate event provides information about how frequently observations are being received.

In her demonstration, Suzanne shows how developers can access this information through the update-rate event in the StreamVolume functional component within the StreamVolume.tsx file. By using this event, developers can display feed update metrics in their applications and give users additional insight into the activity of their real-time data streams.

The update-rate event is utilized in a function expression inside a useEffect hook within the StreamVolume functional component.
The update-rate event is utilized in a function expression inside a useEffect hook within the StreamVolume functional component.

Performing Real-Time Analysis and Triggering Actions

Receiving and visualizing real-time data provides an important starting point, but the real value comes from understanding what the incoming observations mean. Organizations need to identify patterns, evaluate conditions, and determine when an event requires attention.

This is where real-time analytics in ArcGIS Velocity come into play.

Using a visual model builder, you can design real-time analytics by connecting data feeds to analytical tools and defining how incoming observations should be processed. These workflows can perform a variety of operations on each observation as it arrives, allowing organizations to analyze streaming data and respond to changing conditions.

ArcGIS Velocity's visual model builder for designing real-time analytics.
ArcGIS Velocity's visual model builder for designing real-time analytics.

For the DTSC, the goal is to ensure that hazmat trucks do not get too close to sensitive locations, such as schools and hospitals. To accomplish this, the organization uses a real-time analytic that evaluates incoming truck locations against the geographic locations of schools and hospitals throughout California.

The analytic first georeferences each incoming truck observation, ensuring that its geographic location can be evaluated. It then uses spatial analysis to identify nearby schools and hospitals within a specified radius and enriches the truck observations with information about their proximity to these locations.

If a truck enters an area that meets the predefined proximity condition, the analytic immediately generates an output in the form of an alert.

The DTSC real-time analytic designed using ArcGIS Velocity's visual model builder.
The DTSC real-time analytic designed using ArcGIS Velocity's visual model builder.
The real-time analytic searches for nearby schools and hospitals, enriches truck observations with distance information, and generates an alert when a truck gets too close to a sensitive location.
The real-time analytic searches for nearby schools and hospitals, enriches truck observations with distance information, and generates an alert when a truck gets too close to a sensitive location.

By combining streaming data with spatial analysis, the DTSC can move beyond simply tracking vehicle locations. The organization can continuously evaluate the relationship between moving vehicles and sensitive locations and automatically identify conditions that may require attention.

This demonstrates how real-time analytics can help organizations turn incoming observations into meaningful information and trigger actions without requiring someone to continuously monitor a map.

From Real-Time Data to Actionable Information

The DTSC example demonstrates how ArcGIS Velocity brings together three fundamental capabilities: ingesting real-time data, analyzing incoming observations, and triggering actions based on analytical results.

By connecting to streaming data sources through feeds, organizations can continuously monitor vehicles, sensors, and other connected assets. Real-time analytics add spatial context to incoming observations, helping identify conditions that might otherwise go unnoticed. Finally, outputs make it possible to deliver analytical results and generate alerts when specific conditions are met.

Together, these capabilities provide a scalable approach to working with continuously changing data and turning real-time observations into actionable information. Whether monitoring vehicle movements, managing infrastructure, or observing environmental conditions, ArcGIS Velocity helps organizations understand what is happening, where it is happening, and when action may be needed.

How will you use real-time data and spatial analytics to gain greater insight into the events happening around you?

Share this article