elevationSamplingInterval property

double get elevationSamplingInterval

The interval at which the elevation source is sampled, in the horizontal units of the ViewshedFunction elevation extent.

A viewshed is evaluated by horizontally sampling the ViewshedFunction elevation surface at discrete intervals. This parameter indicates the size of the sampling interval in the horizontal unit of the elevation surface SpatialReference.

Decreasing the interval increases the frequency at which the elevation surface is sampled, resulting in a higher fidelity, and more accurate, viewshed. Use a resolution of 0 to sample the elevation surface at its full resolution for the highest fidelity viewshed.

Increasing the interval means the elevation surface is sampled at coarser intervals, giving a lower fidelity, and more approximate, viewshed.

A small sampling interval is computationally more expensive and is slower to produce a result compared to using a larger sampling interval.

The default value is 0, which samples the elevation surface at the full resolution of the data.

set elevationSamplingInterval (double value)