4

I am trying to do a viewshed analysis in QGis using the viewshed analysis plugin in QGis repository (https://hub.qgis.org/projects/viewshed/).

I had as base elevation contours in shp format with elevation data in ELEV (1).

which I converted to a raster DEM (raster> analysis> grid), creating a raster layer (elevation_raster) (2).

Then I created a new point layer (for the observer) in the same coordinate system as the elevation raster (3).

Finally, I tried to generate a viewshed analysis with the given plugin, defining the elevation raster, the observation point, search radius (5000), observer height (7000), target height (9000), trying to output a binary viewshed as raster with comulative option (4).

The result (viewshed_comulative) is just black, and I dont know where to find logs / debug this situation (5).

Tried in both QGis 2.10 and 2.12.

enter image description here

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Dec 2, 2015 at 11:50

1 Answer 1

4

Found out the solution! First, I was wrongly considering absolute heights in observer/target height. Those are offsets. So I changed them to 1.6 / 0.

Then, turns out I needed to manually assign a projection to my DEM (raster> projection> assign projection).

Then it worked fine.

answered Dec 2, 2015 at 12:36

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.