I have a shapefile with one polygon (trajectory of a rockfall). The last column contains the max altitude of the polygon (calculated with the function Zonal Statistics). I want to use the raster calculator to do further calculations, meaning that I need to rasterize this vector layer.

But somehow when I run the tool I get weird data and the resulting raster is only white.

Do you know what might be the problem? screenshot

1 Answer 1


Your screenshot shows that you created a raster with the resolution 1 pixel widht, 1 pixel height. Adapt resolution and units to get proper results. See also rasterize documentation.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.