I have a raster mask that I have created in QGIS (2.2.0) that consist of 0, 1 and nodata values. I would like to end up with a polygon dataset that consist of only the value of one pixels from this same raster dataset. I have tried the polygonize tool, but it doesn't seem to be producing what I am looking for as it is taking both the 0 and 1 pixel values into the polygons.

How can I accomplish this task?

  • 1
    Why not poligonize the whole raster and remove the values you're not interested in? Jul 20, 2014 at 23:53
  • Thanks for the reply Micheal. This does seem like a good course of action to reach my goal. Sometimes the best solutions are the most simple. This works Raster --> Conversion --> Polygonize (Raster to Vector) and get a vector layer.
    – geo derek
    Jul 21, 2014 at 1:53
  • You're welcome. You could also try to set the NoData value to 0 if there are no other values besides 0 and 1. Jul 21, 2014 at 2:00

1 Answer 1


You can use a SAGA tool Vectorising grid classes. Just set Class Selection to One Single Class and set Class Identifier to 1.


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.