Select to view content in your preferred language

Create Random Points for Each Land Cover Class in a Raster?

05-02-2014 08:54 AM
New Contributor II
I've attached a model that works for dissolved land cover polygons to illustrate what I'd like to do in a land cover raster.  The user can specify n number of random points to be created per feature in the Land Cover Polygons feature class. As I've had problems converting our countywide raster to polygons and dissolving them, I'm looking to do this with a python script but I don't know how to get access to the land cover grid codes to distribute random points for each class (tree, grass, bare earth, etc.). 

I've tried the arcpy.Describe tableType property to give me the list of cell values (1-7 in my case) but it didn't work.  I need to get the list of cell values and then distribute my points in each of their extents.  Any suggestions on this are appreciated.
0 Kudos
0 Replies