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? – Michael Stimson Jul 20 '14 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 '14 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. – Michael Stimson Jul 21 '14 at 2:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.