Skip to main content
10 votes

Raster data viewshed analysis with Python

The easiest way to calculate a visibility raster in python is to call the ad hoc functions of a GIS from your code. This can be done in several ways (non-exhaustive list): Using the r.viewshed module ...
Atm's user avatar
  • 1,537
9 votes
Accepted

ArcGIS Viewshed Outputs

The error in your approach is that a 2m tall person at Point A who can see a 50m tall structure at Point B does not mean 50m tall person at Point A could see a 2m tall structure at Point B. Here's a ...
Emily's user avatar
  • 714
7 votes
Accepted

ZTV Viewshed Analysis plugin in QGIS

It is very simple. Just set the target height (leaving the target points file field blank). This is the height above ground level that the observer is looking at. For inter-visibility, the target ...
MappaGnosis's user avatar
  • 33.9k
7 votes

Using Viewshed Graphical Modeler

You should include your DEM as an input within that model. I have reproduce your model and just add that entry, and it worked. Here is the image of the model: Here is a final screenshot showing ...
César Arquero Cabral's user avatar
6 votes
Accepted

QGIS Graphical Modeler Add Specific files

I think a custom script might be needed for this which allows you to set fixed layers and use these in your model without having to constantly specify them. You can create one from: Processing ...
Joseph's user avatar
  • 76k
6 votes
Accepted

Viewshed analysis distance

Viewshed analysis generally only checks the theoretical line of sight - can a cell be seen from another cell, without any higher terrain standing in the way? It doesn't take into account whether or ...
Steven Kay's user avatar
  • 20.5k
6 votes
Accepted

Flight visualization in QGIS

As far as I see, the solution by @bugmenot123 does not work as intended: native Qgis 3D symbology accepts only a fixed valued for the elevation, no data driven override to use the values of an ...
Babel's user avatar
  • 73.1k
6 votes
Accepted

QGIS - DEM - adding height to raster

Two ways to update the target raster directly without creating a temporary raster layer: Use gdal_rasterize https://gdal.org/programs/gdal_rasterize.html with -add option. -add Instead of burning a ...
user30184's user avatar
  • 67.3k
5 votes

Viewshed Analysis incorporating tree height

Your workflow will be something like this (you don't mention what software you're using but this should work with anything). Basically you just need to add your pine trees to the DEM as if they were ...
Dan C's user avatar
  • 12.3k
5 votes

Calculating visible sky percentage?

The sky-view factor (SVF) is defined by the part of the visible sky (Ω) above a certain observation point as seen from a two-dimensional representation (see figure a). The algorithm computes the ...
KrOstir's user avatar
  • 49
5 votes
Accepted

Generate a viewshed and merge it with another image using GRASS/GDAL command line?

How about something like this: radius=5000 # Maximum distance X=200000 # X coordinate of lookout Y=500000 # Y coordinate of lookout r.import dem.tif output=elev g.region -a rast=elev r....
Micha's user avatar
  • 15.7k
4 votes
Accepted

QGIS Viewshed Analysis Colours

There's a few settings you might need to alter: In the Load min/max values option, choose the following setting: Min / max Set the Accuracy option to: Actual (slower) Set the Interpolation option ...
Joseph's user avatar
  • 76k
4 votes
Accepted

Seeking algorithm to find point on surface with highest visibility?

The whitebox GAT software has a tool that does what you need to do (I think), its called Visibility Index. From the manual: This tool can be used to calculate the visibility of all locations within ...
Ed Rollason's user avatar
  • 3,948
4 votes
Accepted

Geoserver viewshed WPS not found

Out of the box GeoServer WPS does not have a viewshed process. One can be written, or you can bridge to another software (e.g., GRASS) that can do it. Both option require coding (so either your ...
Andrea Aime's user avatar
  • 17.5k
4 votes
Accepted

Seeking map provider for Viewshed Analysis

You can do that with your own DEM and offline by using gdal_viewshed https://gdal.org/programs/gdal_viewshed.html.
user30184's user avatar
  • 67.3k
4 votes

QGIS Viewshed plugin not in any menu

Visibility Analysis plugin adds the related tools to Processing Toolbox as in the image.
Kadir Şahbaz's user avatar
4 votes

QGIS - DEM - adding height to raster

You can use Rasterize (Vector to Raster) from GDAL to turn your polygons into a raster with a specific value where those polygons are. Make sure your vector is in the same CRS as your raster first, ...
Clay's user avatar
  • 73
3 votes
Accepted

Viewshed Plugin gives incorrect results

I was able to reproduce this. I've never had this problem before, as I tend to use the OS OpenTerrain dataset for mapping in the UK. I used SRTM and the wonderful Python Elevation module to download ...
Steven Kay's user avatar
  • 20.5k
3 votes

Performing viewshed analysis in R?

I believe I have found a viable solution to address my (edited) original question. At the best of my web searches, I got the impression that virtually all the packages available in R to perform ...
NewAtGis's user avatar
  • 1,536
3 votes

Error installing visibility analysis plugin

There is no point to install the new version of Viewshed plugin since it is available as the boult-in plugin in the QGIS 3x. You can find it in the processing toolbox on your right. Type in the ...
Geographos's user avatar
  • 4,029
3 votes

Seeking map provider for Viewshed Analysis

As per @MichaelStimson I think you can do a viewshed in GEE or QGIS. I've not used either so I can't attest to their suitability. Getting elevation data to match your accuracy requirement is ...
Zarul Zakuan's user avatar
3 votes
Accepted

Difference and similarities between Intervisibility and Viewshed

Intervisibility can be defined as the ability to see in a direct line of sight from one position on the Earth's surface to another. A Viewshed is defined by all the points which are visible from one ...
swiss_knight's user avatar
  • 10.5k
3 votes

Flight visualization in QGIS

Absolutely. You have two options, the native QGIS 3D view or the qgis2threejs plugin. For qgis2threejs you can select a DEM as background, drape a texture on it as you like (from the canvas or a layer ...
bugmenot123's user avatar
  • 10.9k
3 votes

An example for Viewshed analysis in Python

When I set creationOptions=None I was able to avoid that particular error. However, I suspect you will have a problem with mode='NORMAL as that is what I'm currently stuck on. EDIT: From the gdal_alg....
user209734's user avatar
3 votes

An example for Viewshed analysis in Python

The Python API documentation for the ViewshedGenerate algorithm is at https://gdal.org/api/python/osgeo.gdal.html#osgeo.gdal.ViewshedGenerate osgeo.gdal.ViewshedGenerate(Band srcBand, char const * ...
user30184's user avatar
  • 67.3k
2 votes
Accepted

Creating a map highlighting areas of potential visibility of a high structure

The task could be easily performed using the r.viewshed GRASS module available from the Processing Toolbox. From its Documentation: r.viewshed is a module that computes the viewshed of a point on ...
mgri's user avatar
  • 16.3k
2 votes

ArcGIS Model - Iterate Row Selection - Multipal viewsheds

Looking at your model it appears you have accepted default naming. I'm guessing that one viewshed that is created is always the viewshed for the very last row in your input table? I guessing that the ...
Hornbydd's user avatar
  • 43.9k
2 votes

ZTV Viewshed Analysis plugin in QGIS

MappaGnosis' answer is right: you set the Observer Height (Offset A) to the field containing the height of your points shapefile (OBSERVATION POINTS), and set the Target Height (Offset B) to a ...
Luis Pinto's user avatar
2 votes

Using raster calculator to create cumulative ZTV in QGIS

This can be done, but doesn't need Raster Calculator. You could sum individual visibility rasters, but it isn't necessary as there's an easier way. You can use the QGIS Plugin Advanced Viewshed ...
Steven Kay's user avatar
  • 20.5k
2 votes

Incorrect cell count with viewshed analysis

I have found the solution to my problem. I never knew that a default ArcMap attribute table only stores numbers up to 6 digits. However, you can specify the amount of digits you want to display by ...
MvdH's user avatar
  • 41

Only top scored, non community-wiki answers of a minimum length are eligible