I've carried out an image classification over a large area using aerial photographs.
I have a vector region layer representing all the parcels of land in that area.
What I want to be able to do is that for each polygon all the pixels under that polygon will be converted to the pixel value that currently represents the majority of pixels under that polygon.
I have not run this to check, but I beleive you will be able to do this with the <Zonal Statistics> tool. Your zones will be your parcels, Input raster will be your value raster you want to analyze, and just choose majority. Alicia
As previously mentioned, the zonal statistics as a table will work. Once the table is generated, you can join it back to the parcel polygon feature class. This should create the desired output.
As previously mentioned, the zonal statistics as a table will work. Once the table is generated, you can join it back to the parcel polygon feature class. This should create the desired output.
Thanks this is working brilliantly.
Just one query though. I have been experimenting with both 'Zonal Statistics' and 'Zonal Statistics as Table' tools. I'm developing a preference to the 'Zonal Statistics' tool as the results are immediately displayed in the map window.
Is there any reason why you recommended the 'Zonal Statistics as Table' tool instead of the 'Zonal Statistics' tool?
I am working on a project at the moment and am using Zonal Stastics as a Table. I do this as I want to merge this data back to the features I used to produce the zone. The parcel ID is added to the output table which enables me to do a join back withe the original feature.