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.

does anyone know of a way to find the standard deviation of an attribute lying within any given polygon? The plugin dialog "Join Attributes by Location" gives only the options Mean, Min, Max, and Sum. Alternative ways of getting the results are welcome too, of course.

I'm using Quantum GIS 1.6.0.

Thank you!

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

"Statist" plugin calculates StDev. It has a "use only selected features option".

You'll need to use "Select by location" first to select the features within your polygon-of-interest. Then run Statist.

enter image description here

share|improve this answer
    
Thank you for your answer! It's really helpful but not quite what I'm looking for. –  Quincy Jun 2 '11 at 18:24
    
I have over 500 polygons and would like to calculate the StDev of an attribute in all 500+ polygons.. is there an easier way to do this? –  Quincy Jun 2 '11 at 18:26
1  
Oh I see. Sounds like it would be easiest to add that option to "Join Attributes by Location". If you know some python it shouldn't be much work. –  underdark Jun 2 '11 at 18:39
    
Thank you! I did exactly that. Stack exchange won't let me confirm the answer because I created a new account. Thanks still! –  Quincy Jun 4 '11 at 23:36
    
@Quincy You have only one account on GIS.SE linked to your e-mail address. You should be able to accept this answer. –  whuber Jun 5 '11 at 22:27
add comment

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.