Model

Viewshed and viewpoint (vector output)


image

This model automates viewshed analysis in QGIS, converting raster output to vector polygons. GDAL is used for vieshed analysis. Originally used for optimizing IoT gateway placement, it includes input attributes like antenna height and building floors. The observer height is calculated as antenna height + (building floor count * 3), where floor height is fixed at 3 meters, making the model adaptable for urban visibility studies.

Features:

  • Converts viewshed results to vector polygons.
  • Retains input attributes like antenna and building floors.
  • Observer height is calculated automatically through an expression.

Changelog: V2.2 * Output layers name shows the location name by using Load layers into project algorithm * Outputs are no longer grouped V2.1 * Changed [raster pixels to polygon] to Polygonize (GDAL) V2.1.1 *Bug Fix - Total Height expression invalid

03 October 2024
25 February 2025
25 February 2025
Asj
vector point polygon Viewshed analysis viewshed

Hi, the model works, but it run out of memory my machine with default parameters, because it collected a lot of pixels, which are converted to squared polygons and dissolved. Polygonize the viewshed raster instead of pixels to polygons and dissolve could be more efficient, and keeping the default gdal viewshed parameters might also be nicer. Regarding the model image, please note the environmental and ethical implications of using generative artificial intelligence. Still, thank you for your contribution!

Reviewed by gabrieldeluca 7 months, 3 weeks ago

Thank you!

Reviewed by gabrieldeluca 7 months, 3 weeks ago

Thank you!

Reviewed by gabrieldeluca 7 months, 3 weeks ago

Thank you!

Reviewed by gabrieldeluca 3 months, 1 week ago

gabrieldeluca approved these changes 3 months, 1 week ago

This Model is made available under the CC-0 license.

QGIS sustaining members

Flagship membership


Flagship membership


Large membership


Large membership


Large membership


Large membership


Large membership


Large membership


Large membership