I have created a raster of New Mexico with a contour line signifying a certain elevation.

What I'm trying to do is have QGIS finish the line around the edges of the state (where applicable) so it creates a polygon. If this is not possible, is this something I can do in GDAL or something?

I'm trying to create overlays for Google maps, so I need to get the coordinates all the way around so that I can make a polygon if that makes any sense.

New Mexico

  • Hi, mybe I haven't understand the question, but do you try the processing tool "Lines to Polygon" in QGIS? May 8, 2018 at 9:09
  • I just tried that, and it doesn't seem to generate anything, but that's essentially what I'm going for.
    – m0ngr31
    May 8, 2018 at 15:03

1 Answer 1


I ended up going to a different solution, and that could be tweaked to make this work: Create polygon from TIF raster (between 2 elevations)

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.