Add Elevation Contours or Bands

228
3
08-31-2021 10:17 AM
Alexandre-Notos
New Contributor II

Hi,

I am looking on a method to create customizable elevation contours or bands?

I'm looking to replicate one of those Cesium Js function:

https://sandcastle.cesium.com/gallery/Globe%20Materials.html

- https://sandcastle.cesium.com/gallery/Elevation%20Band%20Material.html

 

0 Kudos
3 Replies
ReneRubalcava
Frequent Contributor

Yann, lead dev on JSAPI put these demos together a while for custom layers to show how to do contours.

https://ycabon.github.io/arcgis-js-api-custom-layers/

It's a few releases behind, but might help you out.

https://github.com/ycabon/arcgis-js-api-custom-layers/tree/gh-pages/cached-elevation-contour-layer

 

Alexandre-Notos
New Contributor II

Awesome thanks for the links!

@ReneRubalcava If I wanted to overlay a color on the terrain above a certain altitude such as below, could I do it draping a polygon on the terrain? 

AlexandreNotos_0-1630524747245.png

 

 

0 Kudos
RalucaNicola1
Esri Contributor

We don't really have anything like that out of the box in 3D at the moment.