I have a soil map (vector-polygon layer) and a map of the crops farmed in the same area (raster layer, from the US Cropland Data Layer).

I would like to calculate for a given soil type, the surface farmed per crop. How do I do that?

The Zonal Statistics and ZonalStats plugins didn't solve my problem.

Hope I am clear enough. Thanks


You can use the Raster to Polygon tool in QGIS's Raster menu. Then you can run an intersection to get a cropland / soil layer.


May be you can try to write your own custom script .. Following link will be good resource for you http://planet.qgis.org/planet/user/3/tag/quantum%20gis/

  • How would this custom script work? What functions, specifically, do you suggest to use? – Simbamangu Oct 23 '12 at 14:46
  • 1
    Thanks! Could you give more details about the script you think I should write? I confess I don't know where to start. – Bap Oct 25 '12 at 19:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.