Hello,
I am looking at trying to get this sample code:
https://developers.arcgis.com/javascript/latest/sample-code/geoprocessing-viewshed/
working using our own elevation data.
Whenever we try to publish a GPServer with a viewshed task, like in the sample, using our elevation data it is completely different from what is shown in the sample with different inputs and outputs, and we are unable to get it working. How am I able to replicate the sample viewshed task with our own data?
Our elevation data is in a .tif with which we have created an ImageServer and published to allow us to use it as a elevation layer inside a scene view, which works as intended.
I've noticed a few other similar posts from a few years ago that remain unanswered.
Any information or alternatives would be great. The Line of Sight works but is limited to only a few specific points at a time rather than a whole area.
Thank you.