Home Range plugin in QGIS

Today is the last day of the QGIS hackfest. Anne Ghisla showed me how to get all the dependencies installed on Ubuntu Karmic so that I can use here excellent Google Summer of Code sponsored python plugin to compute animal home ranges. Carson Farmer also showed me his awesome manageR plugin that opens up a whole new world of geospatial computation capabilities to QGIS. Next on my todo list is to learn a little R so I can take advantage of this stuff….

Here is the procedure for getting both the HomeRange and manageR plugins installed:

Installation

sudo apt-get install r-base python-rpy2

Next, add the cran2deb repo:

deb http://debian.cran.r-project.org/cran2deb/debian-amd64 testing/

Then install adehabitat and a few dependencies:

sudo apt-get update
sudo apt-get install r-cran-adehabitat r-cran-gpclib  r-cran-rgdal r-cran-shapefiles

Add the plugin from python plugin manager and the manageR plugins using the python plugin manager in QGIS, and then make sure they are enabled.

Testing

Grab the sample data set from animov sample data (you need to accept their self signed ssl certificate).

Open the csv file using the delimited text plugin using

\t

as the text delimiter.

Delimited Text Import

Next open the Home range plugin from Plugins -> Home Range Analysis -> Batch analysis. Uncheck all methods except MCP (minimum convex polygon) for a quick test,

Home Range Dialog

Then run the analysis and you get something like this:

Home Range Result

Awesome stuff…well done Anne!

manageR

Here is a quick screenie of manageR running too:

manageR

Well done Carson!

2 Comments

[...] This post was mentioned on Twitter by jatorre, Craig Mills. Craig Mills said: Great to see KPDF as well!-RT @jatorre: great to see plugin for Qgis-range maps http://bit.ly/1Aviax .And R within QGIS, thats cool [...]

[...] Geo Blog представляет два плагина для QGis: Home Range – анализ ареалов распространения [...]

Leave a comment

You must be logged in to post a comment.