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.
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,
Then run the analysis and you get something like this:
Awesome stuff…well done Anne!
manageR
Here is a quick screenie of manageR running too:
Well done Carson!







Comments
Leave a comment Trackback