Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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/

share|improve this answer
    
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

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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