Now I have a point and polygon shapefile

and I want to calculate the points' average value within each polygons

How to do it with python?

I tried to find out but google gives me a lot of raster within polygon...

I just want to do it with shapefile

  • Very closely related is gis.stackexchange.com/questions/53678/…. Perhaps this answers your question? – whuber Apr 8 '13 at 17:44
  • Thanks for your comment it's very like my problem but it's not really I want ,I want to make it through Python but it's use a plugin within Qgis – blueman010112 Apr 9 '13 at 2:40
  • Well, then, please tell us how it's different! – whuber Apr 9 '13 at 2:41
  • and I don't have point per polygon in my shapefile I need to calculate it in the begging – blueman010112 Apr 9 '13 at 2:47
  • 1
    the most different between my question and that post is I need a python way to do it but he just use a plugin to do it – blueman010112 Apr 9 '13 at 12:08

Your Answer

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

Browse other questions tagged or ask your own question.