This 20-minute tutorial shows you how to build a pipeline that
monitors public transportation in the Atlanta area. This is the
second tutorial in Monitoring Public Transportation Using
Stream Analytics. Read the tutorials sequentially.
Stream Analytics is a graphical tool with an intuitive
web-based interface that enables you to explore, analyze, and
manipulate streaming data sources in real time.
This traffic management solution uses GPS fleet data. This data
is low cost, accurate, and it's created in real time. Its value
for government sector customers is that this fleet data reduces
congestion on roadways and enhances the traveling experience.
The general features represented in this solution are real-time
traffic analytics, speed violation tracking, and congestion
detection. These features are combined with GPS streaming sensor
feeds and historical trend data using map-based visualizations.
This solution uses enterprise-grade Spark Streaming, Kafka
open-source messaging, a highly scalable, extensible platform
built with Stream Analytics.
Some of the key benefits with this solution are low-cost
rollout with zero-road, network disruption, real-time
operational intelligence, which is essential for meaningful
congestion reduction, and an enhanced traveler experience, with
a leading streaming big data technology.
Let’s do some event shape manipulation by changing the
column names associated with the streaming data. Right-click
the column name, select Rename, and change BusType_ID
to BusID and AVG_of_Bus_Speed
to AvgSpeed.
Click the Expression Editor icon on the
top-right of the table.
Using the intuitive integrated expression builder function,
we can add a new live output stream column. This adds a new
event type shape to the stream that provides a way to identify
the speeding violation levels. In the Expression
Builder field, enter NO_VIOLATION.
Description
of the illustration el_builder.png