denniswilson40

class allotment to polygons

Discussion created by denniswilson40 on May 3, 2012
dear all,
i have a shapefile in which i have different plot numbers as polygons ... also i have a raster classified image of the same area containing 4 classes..what i need to do is that overlay the shape file over the raster ... and corresponding to each polygon of the shapefile, i want to count the number of different classes  pixels in the raster and allot that polygon to that class that contains maximum number of pixels..the information output should go in the attribute table of the polygon......... at this stage.. i can find the pixel count using zonal majority tool but dont know how to proceed..........
thank you..

Outcomes