Select to view content in your preferred language

Querying Height of a point ala relative-to-scene

266
0
11-06-2023 01:30 AM
average_geo_97
Emerging Contributor

Hi! I have a SceneView with a 3D object scene layer of buildings, which sits on top of a ground elevation DEM layer. I would like to be able to sample points in my Scene to obtain the height at that point (be it from the ground elevation, the Scene Layer or even another source such as an extruded 2D building footprint.

Now I believe it should be possible to obtain the height of each point, given that:

  1. FeatureLayer has a relative-to-scene elevationInfo option, which means it knows the height of the scene below it.
  2. The ElevationProfileLineView does something similar to what I want and can include buildings in the scene; however, I would like to programmatically sample the height at various points.

Is there a way to achieve this? Thank you!

0 Kudos
0 Replies