I am trying to rasterise a simple polygon layer this file using QGIS but cannot get a sensible output.

The documentation doesn't appear to have been updated for version 3 yet, and does not match.

The options I have are rasterise options.

What options I be using to rasterise the polygon layer by attribute LandID?

(I got the result I expected swapping to 2.8 - but I'd like to figure out how to do this with the new version)

  • There should something in the dropdown for 'Field to use for a burn-in value' but you will need to specify a width/height for your raster before running. What field type is 'LandID'? String fields would not be provided as an option. Sep 3, 2018 at 2:48
  • Thanks @MichaelStimson - LandID is an integer value. The answer below worked for me - the error I was making was using an extent smaller than the original polygon rather than clipping after rasterising.
    – Esme_
    Sep 3, 2018 at 3:30

1 Answer 1


You need to select the field you want to use LandID. Also you need to select the desired Width/Horizontal resolution and Hight/Vertical resolution and the extent to be same as the polygon layer as in the following image:

enter image description here

Under Use Layer/Canvas extent, select ExamplePolygon.

Here is the output:

enter image description here

I used QGIS 3.2.

Your Answer

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

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