Hi,
I have a raster that describes landcover with 6 classes. I would like to have a new raster that has area of connected cells of same value of the original raster. I know I can use Region Group tool and check the counts of each region. But I need a new area raster that has the areas (or count of cells) of each connected patches as values so that I can Extract Values to Points. How can I do that? Thanks for help!
Solved! Go to Solution.
my first thought would be to use the Count field in the raster table of the resultant regiongroup
Lookup (Spatial Analyst)—ArcGIS Pro | Documentation
essentially you are replacing the existing value field with the count field via a "lookup" table.
Yes, Region Group then Lookup is how I've done this previously. Though to get area you'll need to multiply the count by pixel area (count * pixel width * pixel height), assuming your raster is in a projected CRS, not geographic.
my first thought would be to use the Count field in the raster table of the resultant regiongroup
Lookup (Spatial Analyst)—ArcGIS Pro | Documentation
essentially you are replacing the existing value field with the count field via a "lookup" table.
Yes, Region Group then Lookup is how I've done this previously. Though to get area you'll need to multiply the count by pixel area (count * pixel width * pixel height), assuming your raster is in a projected CRS, not geographic.
Thank you so much Dan and Luke! Lookup was exactly the tool I was looking for.