GDAL

Public Attributes | List of all members
gdal::viewshed::Options Struct Reference

Options for viewshed generation. More...

`#include <viewshed_types.h>`

## Public Attributes
Point | observer {0, 0, 0}
| x, y, and z of the observer
double | visibleVal {255}
| raster output value for visible pixels.
double | invisibleVal {0}
| raster output value for non-visible pixels.
double | outOfRangeVal
| raster output value for pixels outside of max distance. More...
double | nodataVal {-1}
| raster output value for pixels with no data
double | targetHeight {0.0}
| target height above the DEM surface
double | maxDistance
| maximum distance from observer to compute value More...
double | curveCoeff {.85714}
| coefficient for atmospheric refraction
OutputMode | outputMode {OutputMode::Normal}
| Output information. More...
std::string | outputFormat {}
| output raster format
std::string | outputFilename {}
| output raster filename
CPLStringList | creationOpts {}
| options for output raster creation
CellMode | cellMode {CellMode::Edge}
| Mode of cell height calculation.
int | observerSpacing {10}
| Observer spacing in cumulative mode.
uint8_t | numJobs {3}
| Relative number of jobs in cumulative mode.

## Detailed Description

Options for viewshed generation.

## Member Data Documentation

## ◆ maxDistance

double gdal::viewshed::Options::maxDistance

Initial value:
{
0.0}

maximum distance from observer to compute value

## ◆ outOfRangeVal

double gdal::viewshed::Options::outOfRangeVal

Initial value:
{
0}

raster output value for pixels outside of max distance.

## ◆ outputMode

OutputMode gdal::viewshed::Options::outputMode {OutputMode::Normal}

Output information.

Normal, Height from DEM or Height from ground

The documentation for this struct was generated from the following file:

- viewshed_types.h