Web AppBuilder slope calculation

808
1
05-15-2018 09:58 AM
SteveAtherton
New Contributor

Trying to find a widget that I can use in the Web AppBuilder to calculate the slope of a line between point A and point B on a map.  I've got the Elevation Profile widget working (it's great) but I actually need the slope angle.

0 Kudos
1 Reply
LaurynasGedminas2
Regular Contributor

Elevation Profile Widget uses GP service to compute profile, you would have to modify GP service to allow slope calculations as an additional attribute.

Slope calculation can probably done in 3D 4.x ESRI API :

Measurement in 3D | ArcGIS API for JavaScript 4.7