23
3D Visualization with the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Embed Size (px)

Citation preview

Page 1: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

3D Visualization with the ArcGIS API for JavaScriptKristian Ekenes

Javier Gutierrez

Page 2: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Renderers, symbols, symbol layers…

API Overview

Page 3: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

MapImageLayer

FeatureLayer

SceneLayer

CSVLayerPointCloudLayer

StreamLayer

Includes 2D data sources

Page 4: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

What can we

visualize?

• Location

• Types

• Data (numbers)

• Combinations of the above

Page 5: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

And symbol layers

Symbols

Page 6: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

3D Symbols

PointSymbol3D

based on geometry type

LineSymbol3D MeshSymbol3DPolygonSymbol3D

Points Lines Polygons Mesh

Page 7: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

3D Symbols

Flat Volumetric

Each must be composed of one or more symbol layers

Size is expressed in

screen unitsSize is expressed in

real-world units

LineSymbol3DLayer

IconSymbol3DLayer

FillSymbol3DLayer

PathSymbol3DLayer

ExtrudeSymbol3DLayer

ObjectSymbol3DLayer

Page 8: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

3D Symbols

Page 9: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Data-driven visualization

• Renderers & Visual Variables

1. Field value(s)TOTAL_POP

2. Arcade expressionRound( ($feature.BACHELOR + $feature.MASTER) / $feature.POP_25UP) );

3. JavaScript functionfunction (graphic){

return graphic.attributes.POP_DENSITY;

}

Page 10: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Renderers

Page 11: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Renderers

SimpleRenderer

UniqueValueRenderer

ClassBreaksRenderer

Page 12: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

RenderersSimpleRenderer

UniqueValueRenderer

ClassBreaksRenderer• …and PointCloud Renderers

Page 13: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

RenderersVisual Variables

• Color

• Size

• Height

• Width

• Depth

• Rotation

• Opacity

• A property of the

renderer

• For numeric data-

driven continuous

visualizations

Page 14: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

RenderersVisual Variables

Page 15: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Examples

Page 16: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Points of interest

Page 17: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Colorized building textures

Page 18: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Renderers and more

PointCloudVisualization

Page 19: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Extrusions

Page 20: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Smart mapping in custom apps

Data exploration

Page 22: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez

Please Take Our Survey on the Esri Events App!

Select the session you attended

Scroll down to find the survey

Complete Answersand Select “Submit”

Download the Esri Events app and find

your event

Page 23: 3D Visualization with the ArcGIS API for JavaScriptproceedings.esri.com/library/userconf/proc17/tech-workshops/tw_540... · the ArcGIS API for JavaScript Kristian Ekenes Javier Gutierrez