I wonder if anybody has some experience in calculating biodiversity index (such as Shannon-Weiner) using QGIS?

I am also interested for similar experiences using R scripts within QGIS.

The analysis will use species count from individual stations of marine scientific surveys.

I have in mind to calculate the Shannon index of species diversity for each station of the sampling survey and then to "allocate" the average index within each cell of a vector grid or by interpolation in the Area of interest.

I wonder if anyone has experience in doing this using a spatial query (providing stations and vector grid are stored in a sqlite database)?

closed as off-topic by PolyGeo Mar 13 at 12:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    (a) I am not really sure how this is thematically related to GIS as you calculate this index on the counts and not the point shapefile (b) You can easily calculate it using existing r-packages like vegan – Curlew Jan 29 '15 at 21:58
  • Thank you for your prompt reply. What I am looking for is something similar to what is in [link] (code.nicholas.duke.edu/projects/mget/export/1090/MGET/Trunk/…) where the index is calculated by predefined zones. – fabio2111 Jan 29 '15 at 22:17
  • 1
    I echo @Curlew, there are functions in R to calculate diversity metrics. All you are talking about is aggregating the metric by group. To do this just assign your polygon IDS to the species observations and pass the data to vegan::diversity using tapply. This will give you diversity by group. – Jeffrey Evans Jan 30 '15 at 19:32
  • Thank you @JeffreyEvans and others, I will follow your advice in relation to vegan package. – fabio2111 Jan 31 '15 at 14:05

Browse other questions tagged or ask your own question.