Coder Social home page Coder Social logo

esri / 3d-visualization-demos Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 5.0 23.16 MB

Learn how to visualize data in 3D with the ArcGIS 4.0 API for JavaScript. In this session we’ll overview various points to consider when thinking about 3D visualization, including when it is appropriate to use 3D symbols and 2D symbols. Create single variable and multivariate visualizations in just a few lines of code. Understand the variety of visualization opportunities in 3D, while acknowledging some of the pitfalls. Become familiar with some of the up and coming features related to 3D visualization.

License: Apache License 2.0

3d-visualization-demos's Introduction

3D-Visualization-Demos

Learn how to visualize data in 3D with the ArcGIS 4.0 API for JavaScript. In this session we’ll overview various points to consider when thinking about 3D visualization, including when it is appropriate to use 3D symbols and 2D symbols. Create single variable and multivariate visualizations in just a few lines of code. Understand the variety of visualization opportunities in 3D, while acknowledging some of the pitfalls. Become familiar with some of the up and coming features related to 3D visualization.

Topics to cover/Outline

  • Visualization intro
    • 2D viz and 3D viz are similar in many respects
      • Handled with the same renderers
      • principles of color, generalization,
    • 3D differences/considerations
      • Icon placement
        • Draped vs billboarded
        • Quick sample showing both
      • Size can be rendered in flat (2D space) or take advantage of the z-axis as a volume/extrusion
        • Images (from SDK)
      • Colors are shaded differently depending on
        • camera angle
        • environment settings
        • Images (from SDK)
      • Opacity doesn't work well (yet)
        • Not able to see through transparent objects from certain angles
        • Images (modified sample from SDK)
      • Rotation - not supported (yet)
        • Hard to determine in screen space where north is in a 3D view
        • Image (from SDK)
    • Use cases
      • Location
        • Sample: Mt Baldy POI
        • Sample: NYC SceneLayer
      • Types
        • Visualization depends on unique (usually string) values
          • high, medium, low
          • residential, commercial, mixed
          • freeway, highway, arterial, residential street
        • Sample: building types
        • Sample: road/highway types
        • Sample: tree species
      • Thematic counts and amounts
        • Visualization depends on numeric values
        • Data driven color
          • Sample: poverty
        • Data driven size
          • Sample: poverty (flat)
          • Sample: poverty (extrusion)
            • Using color for same field is a good idea
        • Data driven opacity
        • Muliple variables
          • Can create cool visualizations
          • Sample: marriage stats/census data
          • Use caution
          • Sample: politics/poverty
      • Real world sizes
        • Create an object similar to
        • Sample: trees/carbon storage
        • Sample: buildings
    • Renderers
      • Define which symbols apply to which features
      • SimpleRenderer
      • UniqueValueRenderer
      • ClassBreaksRenderer
      • Visual variables
        • Defines color, size, and opacity values based on data
    • Symbols
      • Most symbol types are supported in 3D
      • 2D symbols (images + code)
        • Points
          • SimpleMarkerSymbol
          • PictureMarkerSymbol
        • Lines
          • SimpleLineSymbol
        • Polygons
          • SimpleFillSymbol
          • PictureFillSymbol
      • 3D symbols (recommended) (images + code)
        • flat vs. volumetric
        • 5 types
          • PointSymbol3D
          • LineSymbol3D
          • PolygonSymbol3D
          • MeshSymbol3D
          • LabelSymbol3D
        • Symbol layers
        • 2D vs 3D comparison
    • Visualization wrap up
      • This requires that you know your data
      • Future Smart Mapping support in 3D
        • Show slider sample?
  • Conclusion
    • Where to go for advanced WebGL cases
    • Helpful resources
      • Quick overview of documentation
      • Samples/tutorials in SDK
      • 3D blog series
      • Other repos

Resources

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2016 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.

[](Esri Tags: Esri 3D Visualization Esri JavaScript 4.0) [](Esri Language: JavaScript)

3d-visualization-demos's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

3d-visualization-demos's Issues

3d extrusion example with lower and upper Z values

Hi Team Awesome!

I have aeronautical data that I'm able to extrude in arcglobe. Each polygon contains a lower_alt and a uipper_alt. The data is updated every five minutes to our features on our AGOL organization account. I haven't found an example that demonstrates how to accomplish this visualization in javascript, or an example in ArcPy that would allow updating a scene online using the same.

Examples of the extrusion are attached for temporary flight restrictions. It's the drone flight training
area in North Dakota screenshotted in the attached example.

3dtfr

3dtfr2

Can a sample be made for performing this extrusion in the javascript api? Does it support it? Is there already an example you can point me to that I've missed in my google-fu?

Thanks,
Frank

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.