I have a raster, and I'm trying to create a polygon and export to a shapefile that is showing one solid layer between lets say 1000m and 3000m in elevation.
So it seems like I need to filter out all the data outside of those elevations, but I'm not sure how to go about that.
How do I do this using GDAL in Python?



Arepresent? – m0ngr31 May 09 '18 at 04:52idaho@1 >= 1000 AND idaho@1 <3000that seems to create the right thing. But when I got to rasterize it to shapefile, it just does a line instead of a polygon. I'm sure I'm missing something stupid. – m0ngr31 May 09 '18 at 05:46