26

ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Embed Size (px)

Citation preview

Page 1: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector
Page 2: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

ArcGIS GeoEvent Extension for Server:Getting Started

Anthony Myers

Page 3: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Introduction

• Today we will discuss- What is Real-Time GIS- Working with Real-Time Data- Expanding GeoEvent Services

- Filters and Processors- Real-Time Sensor Data

• Goal: Provide valuable information that you may take back to your Organization and implement GeoEvent Extension

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 4: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Anthony MyersWhat is Real-Time GIS

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 5: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

GIS Data

• GIS data typically represents state at a specific moment in time: “historic”, “current”, or “future”.

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 6: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Real-Time GIS Data

• Real-time GIS data is a continuous stream of events flowing from sensors, where each event represents the latest state of the sensor.

- Emergency response- Utility networks- Warehouses- Environmental

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Challenge #1 Features

ApplicationsNetwork SensorWarehouse Item

110°

StormWind

Temperature

EarthquakeWild Fire

Police Person

Ambulance

Police Car

Page 7: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

The Internet of Things (IoT)

• More things are connecting to the Internet than people- Over 12.5 billion devices in 2010 are tying together the physical, digital, and analytic worlds

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Everything Connected

Predictions are that 25 billion devices will be connected by 2015, and 50 billion by 2020.(Cisco, http://share.cisco.com/internet-of-things.html)

Page 8: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Real-Time Analytics

• What fishing vessels are inside designated “no fishing” zones?

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Features

Challenge #2

Continuous Analysis

InsideBoundary

VesselAlert

Applications

Page 9: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Real-Time Notifications and Alerting

• Tell a parent when their child leaves school property.

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Challenge #3

Continuous Analysis

Features

OutsideBoundary

ChildApplicatio

ns

Page 10: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

ArcGIS GeoEvent Extension for Server

• Integrates real-time streaming data into ArcGIS

• Performs continuous processing and real-time analytics

• Sends updates and alerts to those who need it where they need it

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

GeoEvent Services

GeoEventExtension

ArcGIS ServerInput

Connectors

ws://

OutputConnectors

Integrates and Exploits real-time data

Page 11: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Anthony MyersWorking with Real-Time Data

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 12: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Anatomy of a GeoEvent Service

• A GeoEvent Service consists of input and output- Additionally add filters and processors to further refine the data stream

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

filters / processors

connectorsconnectors

GeoEvent Extension

Inpu

ts

Out

puts

GeoEvent Services

Page 13: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Working with Real-Time Data

• Connect an output to your feature• Import the schema of your feature as a GeoEvent Definition• Configure an input to receive real-time data• Author and publish a GeoEvent Service• Visualize your real-time feature

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

GeoEvent Extension

Out

puts

Inpu

ts

GeoEvent Services

ArcGIS Server

Operations Dashboard for ArcGIS

operation views

web maps

ArcGIS Online /Portal for ArcGIS

feature services

GeoEvent Definitions

Page 14: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Receiving Real-Time Data

• Easily integrate real-time streaming data with ArcGIS by using an input connector.

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Input Connectors

You can createyour own

connectors.

GeoEvent Extension

Inpu

ts

Out

puts

GeoEvent Services

Receive RSS

Receive text from a TCP Socket

Receive text from a UDP Socket

Receive JSON on a REST endpoint

Receive Features on a REST endpoint

Receive JSON on a Web Socket

Receive JSON on external Web Socketws://

http://

http://

ws://

Poll an ArcGIS Server for Features

Poll an external website for JSONhttp://

Watch a folder for new .csv files

Watch a folder for new .json files

.csv

.json

Out

of t

he B

ox

Esri

Gal

lery

Twitter

Instagram

VMF

Cursor-on-Target

CAP

TAIP (Trimble)

NMEA

RabbitMQ

RAP (Sierra Wireless)

GeoMessage

ActiveMQ

Part

ner G

alle

ry

GNIP

Geofeedia

OSIsoft

ASDI (FAA)

exactEarth

Zonar

NetworkFleet

CompassCom

Valarm

Harris

Page 15: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Sending Real-Time Data

• Easily send updates and results to those who need it, where they need it using an output connector.

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Output Connectors

You can createyour own

connectors.

GeoEvent Extension

Inpu

ts

Out

puts

GeoEvent Services

Out

of t

he B

ox

Add a feature

Update a feature

Publish JSON to a Web Socket

Push JSON to an external Web Socketws://

ws://

Send a text message

Send an instant message

Send an emailim

Publish text on a TCP Socket

Publish text on a UDP Socket

Write to a .csv file Write to a .json file.csv .json

Publish JSON to an external website

Publish on a REST endpoint

http://

Twitter

Esri

Gal

lery

ActiveMQ

RabbitMQ

Hadoop

MongoDB

CESIUM

Part

ner

Page 16: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Real-Time Data

DemonstrationSetup an Input and Output for

Waze users in GeoEvent

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 17: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Anthony MyersExpanding GeoEvent Services

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 18: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Processors• A Field Mapper processor

- Translates from one GeoEvent Definition to another- Specifying how fields map across the GeoEvent Definitions

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

TranslatedEvent

IncomingEvent

Mapping

{"id": "53c14c0de4b07cbb857a1d4f","deviceId": "52df1e34e4b0293fcac059e9","timestamp": 1405176845553,"tsRaw": 1405176842104,"sessionId": "1405173281715","type": "CLOCK","trigger": "INTERVAL","location": {

"lat": 34.0642350014815,"lng": -117.1238773357668,"alt": 475.59906005859375,"acc": 47.20000076293945

},"weather": {

"tmp": 25.25,"hum": 41,"lum": 46,"bar": 954

},"gases": {

"co2": 1604,"voc": 463

}}

deviceId 52df1e34e4b0293fcac059e9

timestamp 1405176845553

co2 1604.0

voc 463.0

geometry -117.123…, 36.064…

Page 19: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Applying real-time analytics

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

GeoEvent Extension

Inpu

ts

Out

puts

GeoEvent Services

Out

of t

he B

ox

Field Enricher

Field Reducer

Track Gap Detector

Incident Detector

Field Mapper

GeoTagger

Field Calculator

You can createyour own

processors.

NEW

at A

rcG

IS 1

0.3

Buffer Creator

Convex Hull Creator

Projector

Simplifier

Intersector

Envelope Creator

Difference Creator

Symmetric Difference

Union Creator

Track Idle Detector

Esri

Gal

lery ETA Calculator

Service Area

Buffer

Ellipse

Range Fan

Visibility

Query Report

Slope Calculator

SDK

Volume Control

Page 20: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Processors

• Spatial Operators- inside, outside, enter, exit [at 10.2.x]- intersect, disjoint, touches, contains, crosses, equals, overlaps, within

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 21: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Nature to Machine Interface

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

GeoEvent ExtensionGeoEvent Services

ArcGIS Server

JSON(Push)

Air

ExcessiveCO2

ChemicalPresent

ExcessiveLight

Valarm

Chemical

Weather

Alert

Light

Text-to-Speech

Door

Light

Air

Chemical

Weather

Page 22: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Real-Time Sensor Data

Demonstration

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Micro-Weather Station

Reports ambient temperature, relative humidity & barometric pressure

Chemical Sensor

Reports volatile organic compounds

Air Quality

Reports carbon dioxide (CO2)

Reports luminosity

Light Sensor

Page 23: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

ArcGIS GeoEvent Extension for Server

• ArcGIS is a dynamic platform that enables continuous analytics and real-time visualization for better understanding of our world.

• The GeoEvent extension allows you to:- to know what is happening, as it happens- be alerted when interesting events occur- react and make smarter decisions faster

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Summary

Page 24: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Where to learn more?

• To learn more, visit the tutorial in the Esri Gallery:- http://links.esri.com/geoevent

- Introduction- Notifications- RSS- Web Sockets- Working with HTTP- GeoEvent Caches- REST Admin API

• GeoEvent Forum is on GeoNet- https://geonet.esri.com/community/gis/enterprise-gis/geoevent

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 25: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector

Thank you

• Please take a moment to fill out the session survey

Esri SEUC | Technical Workshop | ArcGIS GeoEvent Extension for Server: Getting Started

Page 26: ArcGIS GeoEvent Extension for Server - Recent …proceedings.esri.com/library/userconf/seuc15/papers/...GeoEvent Services Out of the Box Field Enricher Field Reducer Track Gap Detector