I'm relatively new to GIS and QGIS but I have a problem that I'm not certain how to solve. I searched here for relevant information but found none. (Or, I used incorrect search terms.) My problem is thus:
I have a raster file of crop data determined from satellite imagery. Pixel size is 30 meter x 30 meter.
I have a shapefile with over 270,000 polygons of varying sizes.
I can get general 'zonal statistics' through QGIS but these are relatively meaningless: count, mean, and sum don't help me in determining the predominant--by area--crop type within a given polygon.
Ideally, I'd like to be able to determine which crop type covers the highest area in every polygon. As an example, in the image below, the parcel in the center of the image has at least six crop types within it's boundaries. However, clearly there is one predominant crop type. How can I associate that single crop type with that parcel? Is this possible?
I'm using QGIS version 2.4.0 on Windows 7.
If there is an R solution, I would enjoy hearing that, too.