DK for Delphi | GisViewshed.TGIS_Viewshed | Classes | Constructors | Methods | Properties | Events
Viewshed, above-ground-level (AGL), and Fresnel zone clearance generator.
// Delphi type TGIS_Viewshed = class( TGIS_BaseObjectDisposable ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_Viewshed : public TGIS_BaseObjectDisposable { };
Name | Visibility | Description | |
---|---|---|---|
Create | public | Creates an instance. | |
Name | Visibility | Description | |
---|---|---|---|
Generate | public | Generates viewshed (and, optionally, above-ground-level (AGL) raster) as a grid/Digital Elevation Model (DEM). | |
Generate(TGIS_LayerPixel; TGIS_LayerVector; TGIS_LayerPixel; Single; String; Single) | public | Generates viewshed as a grid/Digital Elevation Model (DEM). | |
Generate(TGIS_LayerPixel; TGIS_LayerVector; TGIS_LayerPixel; TGIS_LayerPixel; Single; String; Single) | public | Generates viewshed (and, optionally, above-ground-level (AGL) raster) as a grid/Digital Elevation Model (DEM). | |
GenerateFresnel | public | Generates n-th Fresnel Zone clearance map as a grid/Digital Elevation Model (DEM). | |
GenerateFresnel(TGIS_LayerPixel; TGIS_LayerVector; TGIS_LayerPixel; Integer; Single; String; Single) | public | Generates n-th Fresnel Zone clearance map as a grid/Digital Elevation Model (DEM). | |
Name | Visibility | Description | |
---|---|---|---|
AboveGroundLevelLayer | public | Output layer containing values of how many meters should be added to a particular point to be visible from at least one observer; this layer must have the same extent, CS, and resolution as the OutputLayer; if NULL, this analysis will be skipped; layer is initially filled according to the FillWithZeros property. | |
CurvedEarth | public | If True then the elevation of input data will be corrected for Earth curvature and refraction. | |
FillWithZeros | public | If True then output is initially filled with zeros instead of NoData (default). | |
Frequency | public | Radio frequency for Fresnel Zone analysis; default is 100 MHz. | |
FresnelZoneNumber | public | Number of the Fresnel zone for clearance calculation. | |
ObserverElevation | public | Specifies coordinate used as the elevation of the observers; default is DEM. | |
ObserversLayer | public | Layer containing observer locations; layer is expected to contain one or more points; only first 50 points will be used. | |
ObserversOffset | public | Fixed observers elevation offset in meters. | |
ObserversOffsetField | public | Attribute field defining observers elevation offset in meters. | |
OutputLayer | public | Output layer containing the viewshed analysis; values are set according to the ViewshedOutput property; the layer is initially filled according to the FillWithZeros property. | |
Radius | public | Specifies the maximum distance (in meters) between the observer and the cell for the analysis to be performed; greater distance implies no visibility; default is 20 km. | |
Refractivity | public | Specifies the refractivity coefficient of light; default is 0.13. | |
TerrainLayer | public | Terrain model as a grid layer. | |
TerrainOffset | public | Fixed terrain elevation offset in meters to for example add forest level. | |
ViewshedOutput | public | Specifies output values of the viewshed analysis. | |
A viewshed is the area of visibility of an observed object(s), or, conversely, an area that can be seen from an observer location(s). For more information see this article on Wikipedia.
We provide a way to perform common analysis:
Sample results:
Visibility | Frequency | Above-Ground-Level |
---|---|---|
![]() | ![]() | ![]() |
green - visible area | color ramp red→green where: red - one observer visible green - all observers visible | color ramp green→red where: green - 1m red - 1440m |
Analyses for polygonal areas (e.g., an exact city charter) can be done using the following steps:
Analyses for lines (e.g., how many times an observer is visible from a given segment of road) can be done using the following steps:
Result of Generate method is a TGIS_LayerPixel. Polygonal shapes covering visibility areas can be generated from the TGIS_LayerPixel using TGIS_ContourGenerator.