40
Real-Time 3D GIS: Making Scenes Come Alive March 8–11, 2016 | Palm Springs, CA Esri Developer Summit Morakot Pilouk, Ph.D. Senior Software Developer, Esri [email protected] @mpEsri

Real-Time 3D GIS: Making Scenes Come Alive

  • Upload
    buidiep

  • View
    228

  • Download
    3

Embed Size (px)

Citation preview

Page 1: Real-Time 3D GIS: Making Scenes Come Alive

Real-Time 3D GIS:Making Scenes Come Alive

March 8–11, 2016 | Palm Springs, CA

Esri Developer Summit

Morakot Pilouk, Ph.D.Senior Software Developer, Esri

[email protected]@mpEsri

Page 2: Real-Time 3D GIS: Making Scenes Come Alive

Agenda3D for ArcGIS

Real-Time GIS

Authoring static 3D Scene

Making 3D Scenes Come Alive

Real-Time 3D Visualization

Conclusions

1

2

3

4

5

6

Page 3: Real-Time 3D GIS: Making Scenes Come Alive

3D for ArcGIS1

Page 4: Real-Time 3D GIS: Making Scenes Come Alive

3D for ArcGIS

Page 5: Real-Time 3D GIS: Making Scenes Come Alive

3D Across the Platform

A new way of working in 3D

Page 6: Real-Time 3D GIS: Making Scenes Come Alive

ArcGIS 3D Components

Page 7: Real-Time 3D GIS: Making Scenes Come Alive

3D Application Development

3D Runtime SDK• Full 3D Runtime functions• High performance• Large data set• Machine Native code• Mobile and desktop• Multiple codebases

JavaScript (WebGL)• Pure browser-based• No plugin• Rapidly maturing• Acceptable performance• Works on most platforms• One codebase

Page 8: Real-Time 3D GIS: Making Scenes Come Alive

ArcGIS API for JavaScript 4.0

• One API for 2D and 3D• Now in beta 3

• Elevation

• 3D symbology

• Camera manipulation

• Animation

• Lighting/shadow

Page 9: Real-Time 3D GIS: Making Scenes Come Alive

Supported Real-Time Data

• StreamLayer (from GeoEvent Stream Service) – JavaScript API 4.0• KML

Page 10: Real-Time 3D GIS: Making Scenes Come Alive

Real-Time GIS2

Page 11: Real-Time 3D GIS: Making Scenes Come Alive

Real-Time GISIntegration and exploitation of streaming data

• 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

ArcGIS Server

GeoEvent Extension

DesktopWeb Device

Page 12: Real-Time 3D GIS: Making Scenes Come Alive

Real-Time GISArcGIS 10.4

10s of thousands of e/sArcGIS Spatiotemporal

Big Data Store

DesktopWeb Device

ArcGIS Server

4,000e/s

IngestionGeoEvent

4,000e/sVisualization

Live and HistoricAggregates & Features

SpatiotemporalBig Data Store

Enhanced Map and Feature Service

• Can ingest higher velocity real-time data into ArcGIS.

• Observations CAN now be stored in a Big Data Store.

• Can visualize high velocity and volume data

- as an AGGREGATION,- as discrete FEATURES,- live & HISTORICALLY.

• Visualization CAN scale.

Stream Service

Stream Layer

3,000e/s

Live Features

KML

Page 13: Real-Time 3D GIS: Making Scenes Come Alive

Authoring Static 3D Scene3

Page 14: Real-Time 3D GIS: Making Scenes Come Alive

Creating Scene Services

Page 15: Real-Time 3D GIS: Making Scenes Come Alive

Publishing a Scene Service

Page 16: Real-Time 3D GIS: Making Scenes Come Alive

Making 3D Scene Comes Alive4

Page 17: Real-Time 3D GIS: Making Scenes Come Alive

Two patterns of Real-time GISStream services vs. traditional feature services

• Feature layers pull from feature services- Web apps poll to get periodic updates

• Stream layers subscribe to stream services - Web apps subscribe to immediately receive data- Low latency and high throughput

GeoEvent Extension

ArcGIS Server

YourApplications

Stream Layer

Map ServicesFeature Services

Feature Layer

feature layers

Update a FeatureAdd a Feature

EGDB

Polling(Pull)

Stream Services

Send Features to a Stream Service

Page 18: Real-Time 3D GIS: Making Scenes Come Alive

Two patterns, two important differencesStream services vs. traditional feature services

• Feature services persist their data in a Geodatabase

• Stream services broadcast their data without first persisting the data

GeoEvent Extension

ArcGIS Server YourApplications

Stream Layer

Map ServicesFeature Services

Feature Layer

feature layers

Update a FeatureAdd a Feature

EGDB

Polling(Pull)

Stream Services

Send Features to a Stream Service

Page 19: Real-Time 3D GIS: Making Scenes Come Alive

ArcGIS Server

Feature service

Stream LayerWhat is it?

• A layer in the Javascript API- Available since version 3.6

• Draws data on map using client-side graphics

Stream Layer

GETHTTP PUSHWeb

Socket

esri/layers/GraphicsLayer

esri/layers/FeatureLayer

esri/layers/StreamLayer

ArcGIS Server

GeoEventExtension

Feature Layer

RESPONSE Geometry• Attributes• Symbol

Graphic

Graphics Layer

Page 20: Real-Time 3D GIS: Making Scenes Come Alive

• ArcGIS Online and Portal for ArcGIS Web Maps• ArcGIS Online and Portal for ArcGIS web application templates• Web applications built using Web AppBuilder• Your own web apps that use the ArcGIS API for JavaScript

What can I use to consume stream services?Support for stream services in the 10.3 and 10.3.1 product releases

Page 21: Real-Time 3D GIS: Making Scenes Come Alive

• Not available out-of-box!• Obtain the KML Connector for GeoEvent on GeoEvent Gallery (10.2.x)

http://www.arcgis.com/home/item.html?id=8ddf65e2d9894d37ae19856671392c45

• Obtain source code from GitHub (updated to 10.4) and build ithttps://github.com/Esri/kml-for-geoevent

• Deploy the jar to GeoEvent\deploy folder• Create Output

How to enable KML serviceKML Service

Page 22: Real-Time 3D GIS: Making Scenes Come Alive

How to enable KML serviceKML Service

Page 23: Real-Time 3D GIS: Making Scenes Come Alive

How to enable KML serviceKML Service

Page 24: Real-Time 3D GIS: Making Scenes Come Alive

How to enable KML serviceKML Service

Page 25: Real-Time 3D GIS: Making Scenes Come Alive

http://<servername>:6180/geoevent/rest/cache/cache-out?f=kml&geoEventDefinitions=<definitionname>&pointStyleFile=esristylekml&pointStyleId=<styleId>

How to enable KML serviceKML Service

Page 26: Real-Time 3D GIS: Making Scenes Come Alive

Demo Publishing Real-Time Services

Page 27: Real-Time 3D GIS: Making Scenes Come Alive

Real-Time 3D Visualization5

Page 28: Real-Time 3D GIS: Making Scenes Come Alive

• 3D scene contains continuous scale - depending on the positions of viewer and target

• Use high LOD 3D symbol to represent objects close to the viewer• Use low LOD symbol for objects that are further away from the viewer

- Billboard 2D graphics- Simple geometric shape (e.g. spheres)

• Remove objects that are too close or too far from the scene- Use view volume culling- Use fog (particle system)

Keeping up the 3D display performance3D Visualization Techniques

Page 29: Real-Time 3D GIS: Making Scenes Come Alive

Demo VisualizationTechniques

Page 30: Real-Time 3D GIS: Making Scenes Come Alive

KML on ArcGIS Explorer

Page 31: Real-Time 3D GIS: Making Scenes Come Alive

KML on ArcGIS Earth

Page 32: Real-Time 3D GIS: Making Scenes Come Alive

Demo 3D JS Apps

Page 33: Real-Time 3D GIS: Making Scenes Come Alive

Demo 3D Seattle Buses

Page 34: Real-Time 3D GIS: Making Scenes Come Alive

Demo 3D Los Angeles Buses

Page 35: Real-Time 3D GIS: Making Scenes Come Alive

Demo 3D Satellites

Page 36: Real-Time 3D GIS: Making Scenes Come Alive

Demo Esri Real-Time 3D Apps

Page 37: Real-Time 3D GIS: Making Scenes Come Alive

Conclusions6

Page 38: Real-Time 3D GIS: Making Scenes Come Alive

Conclusions

• Time enabled 3D applications for mobile and web can be developed using ArcGIS components

- 3D Web Scene, ArcGIS Explorer, ArcGIS Earth- GeoEvent to handle real-time data- JavaScript API for ArcGIS version 4

• Visualization of large volume of data in 3D needs certain techniques for good performance

• JavaScript API version 4 is in beta 3- More functionality are being added

Page 39: Real-Time 3D GIS: Making Scenes Come Alive

Real-Time GIS

• Real-Time GIS: GeoEvent Extension Tue 1:00-2:00pm, Primrose A

• Real-Time GIS: Best Practices Tue 2:30-3:30pm, Pasadena/Sierra/Ventura

• Real-Time GIS: Applying Real-Time Analytics Tue 5:30-6:30pm, Mojave Learning Center

• Real-Time GIS: Leveraging Stream Services Wed 1:00-2:00pm, Mojave Learning Center

• Big Data: ArcGIS Spatiotemporal Big Data Store Wed 4:00-5:00pm, Catalina/Madera

• Real-Time GIS: The Internet of Things Wed 5:30-6:30pm, Catalina/Madera

• Real-Time 3D GIS: Making Scenes Come Alive Thu 2:30-3:30pm, Demo Theater 1

• Real-Time GIS: Creating Connectors using the GeoEvent SDK Fri 8:30-9:30am, Santa Rosa

• Real-Time GIS: Creating Processors using the GeoEvent SDK Fri 10:00-11:00am, Santa Rosa

Other sessions

Page 40: Real-Time 3D GIS: Making Scenes Come Alive

Questions / Feedback?

http://links.esri.com/geoeventhttps://links.esri.com/geoevent-forum

To learn more:

Morakot Pilouk, Ph.D.Senior Software Developer, Esri

[email protected]@mpEsri