37
ArcGIS GeoEvent Server: Visualizing Real-Time Data RJ Sunderman and Qingying Wu

ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

ArcGIS GeoEvent Server:

Visualizing Real-Time DataRJ Sunderman and Qingying Wu

Page 2: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Apps

DesktopAPIs

analytics storage

visualization

ArcGIS EnterpriseWith Real-Time Capabilities

ingestion

actuation

Page 3: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Agenda:

Visualization Overview

Visualizing Stream Layers

Visualizing Features

Resources & Wrap-Up

1

2

3

4

Page 4: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Stream Layers vs. Feature Layers

Visualization Overview

Page 5: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization

• Stream layers subscribe to stream services to immediately visualize observations

– does not require storage, low latency, no playback

• Map & Features layers periodically poll to visualize most current observations

– backed by an enterprise geodatabase (EGDB) or a spatiotemporal big data store (BDS)

– history can be retrieved & queried for playback

Stream LayerMap Layer

Feature Layer

ArcGISEnterprise

Send Features to a Stream Service subscribe (push)

poll (pull)

GeoAnalyticsServer

Add a Feature to a BDS

Update a Feature in a BDS

spatiotemporalbig data store

Add or Update a Feature

EGDBGeoEvent

Server

Apps

Desktop

APIs

Stream Service

Map ServiceFeature Service

Page 6: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Stream Layersadvantages when working with real-time data

• More responsive and more efficient than feature layers.

• Stream Layers display immediately and refresh automatically.

• Data is only sent to the client once.

Stream Layer

PUSHWeb

Socket

ArcGIS Server

Feature service

GETHTTP

Feature Layer

RESPONSE

ArcGIS Server

GeoEvent

Server

Stream service

Page 7: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of real-time dataadding a stream service as a layer in a web map

• Navigate to ‘My Content’

and select the layer item

• Note that stream layers

have a different icon than

feature layers

Page 8: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of real-time dataadding a stream service as a layer in a web map

Page 9: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of real-time dataadding a stream service as a layer in a web map

Another way you can add a stream

layer to a web map:

• Open the ArcGIS REST Services

Directory

• Navigate to the stream service’s

web page

• Copy the stream service’s URL

Page 10: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of real-time dataadding a stream service as a layer in a web map

https://caramon.esri.com/server/rest/services/AVL-Broadcast/StreamServer

• Paste the URL into

the text field as

illustrated here:

Page 11: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Stream Layers in

Webmaps

Page 12: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of real-time dataadding a stream service to ArcGIS Pro 2.2+

• Add Data From Path

• Add a Portal or ArcGIS Online item

• From a server connection

Page 13: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of real-time datasymbolizing a stream service in ArcGIS Pro 2.2+

• Set Renderer

– Single Symbol

– Unique Values

– Graduated Symbols

– Graduated Colors

• Current / Previous Observations

• Feature Labeling

• Vary by attribute

– Transparency

– Rotation

– Size

– Color

Page 14: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Stream Layers in

ArcGIS Pro

Page 15: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

that use data in the spatiotemporal big data store

Visualizing Features

Page 16: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of observation data

• Map & Feature services that use data in the spatiotemporal big data store enable you to:

– Visualize raw feature view and inspect feature-level attributes

Page 17: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of observation data

• Map & Feature services that use data in the spatiotemporal big data store enable you to:

– Visualize on-the-fly aggregation of data and inspect feature-level attributes

– Set feature threshold to switch between raw feature view and aggregation view

Page 18: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of observation data

• Map & Feature services that use data in the spatiotemporal big data store enable you to:

– Visualize aggregation of data and attribute statistics

Page 19: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of observation data

• Map & Feature services that use data in the spatiotemporal big data store enable you to:

– Display data using content-dependent as well as scale-dependent rendering

Page 20: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of observation data

• Map & Feature services that use data in the spatiotemporal big data store enable you to:

– Replay (via time slider) historic observations in aggregation or raw feature view

Page 21: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Visualization of observation data

• Map & Feature services that use data in the spatiotemporal big data store enable you to:

– Perform exploratory queries over any combination of

▪ Attributes

▪ Space

▪ Time

Page 22: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Map & feature services using data

from a spatiotemporal big data store

Visualizing

observation data

Page 23: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storeaggregation styles to support on-the-fly aggregation

• Aggregation styles supported:

– Geohash, square, pointy and flat hexagon / triangle

Page 24: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

• Geohash

– Geohash is a way of encoding lat/lon points as strings

– Geohash divides the world into a grid of 32 cells, with 4 rows and 8 columns, each

represented by a letter or number

– Each cell can be further divided into another 32 cells, total 12 levels of details (LOD)

Spatiotemporal big data storegeohash spatial indexing to support on-the-fly aggregation

Page 25: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storegeohash spatial indexing to support on-the-fly aggregation

geohash aggregation (based on a geohash index)

lodType=geohash&lod=9

• As data is written to a dataset in the spatiotemporal big data store

– a spatial index for a geohash aggregation is continuously updated

Page 26: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storegeohash & square spatial indexing to support on-the-fly aggregation

geohash aggregation (based on a geohash index) square aggregation (based on a square index)

• As data is written to a dataset in the spatiotemporal big data store

– a spatial index for square aggregation is also continuously updated

Page 27: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storetriangle spatial indexing to support on-the-fly aggregation

flat triangle aggregation (based on a flat triangle index)pointy triangle aggregation (based on a pointy triangle index)

• As data is written to a dataset in the spatiotemporal big data store

– spatial indices for ‘pointy’ and ‘flat’ triangles aggregations are continuously updated

Page 28: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storehexagon (same as triangle) spatial indexing to support on-the-fly aggregation

flat hexagon aggregation (based on a flat triangle index)pointy hexagon aggregation (based on a pointy triangle index)

• As data is written to a dataset in the spatiotemporal big data store

– spatial indices for ‘pointy’ and ‘flat’ hexagon aggregations are continuously updated

Page 29: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storespatial indexing to support on-the-fly aggregation

• As data is written to a dataset in the spatiotemporal big data store

– up to four types of spatial indices are supported (geohash, square, pointy and flat hexagon

/triangle)

– an inverted index on each attribute field is created

– a temporal index on the time field is created

Page 30: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data store map services: on-the-fly aggregation of polyline and polygon features

aggregation using centroid of polyline & polylgon features

Page 31: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data store visualizing features

• Customize rendering settings

– create map service

– update map service

Page 32: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Spatiotemporal big data storevisualizing features

• aggregation-viewer-server-map-service

https://github.com/esri/aggregation-viewer-server-map-service

Page 33: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Map and feature services backed by

the spatiotemporal big data store

Visualization and

replay

Page 34: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Sample Applications & Tutorialshelpful links

• StreamLayer API help:

– 4.x: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html

– 3.x: https://developers.arcgis.com/javascript/3/jsapi/streamlayer-amd.html

• Sample stream services with simulated data:

– https://geoeventsample1.esri.com:6443/arcgis/rest/services

• Sample applications on GitHub:

– https://github.com/Esri/aggregation-viewer-server-map-service

• Tutorials:

– http://links.esri.com/geoevent-tutorials

• Discussions & Blogs (on GeoNet):

– https://geonet.esri.com/community/gis/enterprise-gis/geoevent/content

Page 35: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Real-time and Big Data Technical Workshops

• Wednesday

– 8:30 - 9:30 ArcGIS GeoEvent Server: Visualizing Real-Time Data

– 10:00 - 11:00 Real-Time & Big Data GIS: Best Practices

– 1:00 - 2:00 ArcGIS GeoEvent Server: An Introduction 2nd offering

– 4:00 - 5:00 ArcGIS GeoEvent Server: Applying Real-Time Analytics 2nd offering

– 4:00 - 5:00 ArcGIS and the Internet of Things (IoT) 2nd offering

• Thursday

– 10:00 - 11:00 Real-Time & Big Data GIS: Best Practices 2nd offering

– 2:30 - 3:30 Real-Time & Big Data GIS: Road Ahead Only Offering

– 4:00 - 5:00 ArcGIS GeoEvent Server: Visualizing Real-Time Data 2nd offering

Page 36: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Please Share Your Feedback in the App

Download the Esri

Events app and find

your event

Select the session

you attended

Scroll down to

“Survey”

Log in to access the

survey

Complete the survey

and select “Submit”

Page 37: ArcGIS GeoEvent Server: Visualizing Real-Time Data...Stream Layers advantages when working with real-time data • More responsive and more efficient than feature layers. • Stream

Questions / Feedback?

RJ Sunderman

ArcGIS GeoEvent ServerProduct Engineer

[email protected]

Qingying Wu

Real-Time & Big Data GISProduct Engineer

[email protected]