Terrain rendering
What is terrain rendering?
Terrain rendering is the process of displaying elevation in a 3D scene. The starting point for rendering terrain in a scene is a digital elevation model. Publish this dataset as an elevation service and then load it in your application as an elevation layer. If you don't have your own elevation model, you can use Esri's World Elevation Service.
The elevation layer is not visible in a 3D scene, but you can render a basemap layer draped on top of the elevation layer. Data layers can be draped on the elevation layer and placed at an absolute height or a relative one. When a 3D scene doesn't have an elevation layer, the terrain is rendered as a plane displayed at zero height (sea level).
How to render terrain and align data layers to terrain
You can render terrain by adding an elevation layer and a basemap layer to your scene.
In most applications, there are additional data layers to add to your scene. The following image shows several options for vertically aligning data layers:
The hiking trails in the above example are rendered relative to the terrain with an offset of 3 meters:
Examples
Display a scene with elevation
You can display a simple scene using an elevation layer and a basemap layer. The basemap layer is draped on the elevation layer to create a 3D view. If you would like to display additional data, you can add data layers or graphics, and render features with 2D or 3D symbols.
Steps
- Create a scene and add an elevation layer and a basemap layer.
- Set the scene to scene view.
- Set the camera position.
Display terrain with exaggeration
To emphasize the terrain, you might sometimes find it useful to display the terrain with exaggerated elevation values. In this example, you will show the highest mountain ranges and the lowest ocean regions on the globe. Because the Earth's radius is so big, mountain range elevation isn't visually noticeable. Here you will exaggerate 70 times these elevation values using Esri's TopoBathy elevation service as the data source.
Tutorials
Services
Feature service
Add, update, delete, and query feature data.
Scene service
Serve 3D data for maps and scenes.
API support
Point, line, and polygon styles | Data-driven visualization | 3D visualization | |
---|---|---|---|
ArcGIS JS API | |||
ArcGIS Android API | |||
ArcGIS iOS API | |||
ArcGIS .NET API | |||
ArcGIS Qt API | |||
ArcGIS Java API | |||
ArcGIS Python API |