- Release plans recap for the road to QGIS 1.0
- New version of eVis
- Contour Lines in Qgis
- QGIS and Google Summer of Code
- Quantum GIS Graduates OSGeo Incubation
- Paolo Cavallini Named to QGIS Project Steering Committee
- Nominations for QGIS PSC Open
- Capturing map coordinates in a stand alone app...
- Tutorial 7 - Creating spatial datasets with the QGIS API
- Html Image Plugin 0.2
Reports
QGis and Python and R and statistics
Submitted by spacedman on Sat, 2007-03-03 19:10.Last year I worked on integrating some statistics code with a GIS. After looking at as many open-source cross-platform GIS as I could find, I got stuck with OpenEV. It did the job - just. Its big attraction for me was the built-in python scripting and API - a python script could create new menu items, Gtk dialogs, access map data, create new layers and so on.
My code had to talk to R, a statistics package (www.r-project.org). I did it using Rserve - in this way, R opens a socket on localhost and listens for requests. There were no python bindings for Rserve so I dissected the protocol and wrote my own. Job pretty much done.
Then late last year I upgraded my desktop box to Ubuntu (from RH8). Upgrade time for R, OpenEV, python and so on. Plus the realisation that this code would all have to run on Windows, by non-geeks, in remote villages in Africa.
- spacedman's blog
- 7 comments
- Read more
- 5134 reads

Recent comments
1 day 11 hours ago
1 day 13 hours ago
1 day 16 hours ago
1 day 17 hours ago
3 days 9 hours ago
2 weeks 1 day ago
3 weeks 1 day ago
3 weeks 1 day ago
4 weeks 5 days ago
4 weeks 6 days ago