Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have selected certain values in a raster (roughly 1000 cells), and would like to export them to be able to create a polygon. Converting it to points first then to polygons does not work. Can anyone suggest a better method?

share|improve this question

1 Answer 1

If you use the set null tool in the spatial analyst toolbox to assign a null value to any raster cell not in your selection you will be able to perform a raster to polygon conversion on the result.

This should give you the polygon(s) you need.

share|improve this answer
I've taken a look at the Set Null tool, and I see it asks for two rasters, not just one. –  Cindy Williams Sep 4 '12 at 8:48
It asks for a False raster or constant value, so you have the choice of putting a null value in as a constant (eg -9999), or use your input raster as the as the false raster and invert your selection. –  sgrieve Sep 4 '12 at 8:53
Setting nulls is a good idea but it's really peripheral to the core issue: you need also to convert the selected cells to a constant integer value for the conversion to work. Thus, for instance, if the cells have been selected by means of some logical condition cond, then the raster calculator expression cond creates a binary 0-1 grid which, when converted to polygon, yields two components: one for the selected cells and another (which can be deleted) for all other cells. –  whuber Sep 4 '12 at 12:42
@whuber I used the con tool on the input raster to perform the operations which you described, it worked perfectly! Thanks –  Cindy Williams Sep 6 '12 at 8:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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