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

Options for viewshed generation. More...

#include <viewshed.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
 raster output value for non-visible pixels. More...
 
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
 Mode of cell height calculation. More...
 

Detailed Description

Options for viewshed generation.

Member Data Documentation

◆ cellMode

CellMode gdal::Viewshed::Options::cellMode
Initial value:

Mode of cell height calculation.

◆ invisibleVal

double gdal::Viewshed::Options::invisibleVal
Initial value:
{
0}

raster output value for non-visible pixels.

◆ 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: