Back in May I participated in the Geostat summer school in Quebec by Webinar
http://geostat-course.org/
This year’s course concentrated mainly on the use of R for spatial analysis, so I gave a brief tutorial showing how PostGIS can be run through R. The material is available here
http://rpubs.com/dgolicher/6373
All the code can be run through RStudio and compiled in a few minutes.
https://dl.dropboxusercontent.com/u/2703650/Courses/geostats/geostats_course.Rmd
The data for the tutorial is available here
https://dl.dropboxusercontent.com/u/2703650/Courses/geostats/geostats.zip
Or
http://tinyurl.com/QuebecPostGIS
In the following posts I will update some of the material in this presentation and use it as the basis of a comparison between the speed of overlay operations run in R using the raster package or in PostGIS.
Exist one function R that can be installed on PostGIS, but i don’t have got success on the installation…
You know how do this?
Thanks!
I am not quite sure what you are referring to. If you mean a PLR function then the text may have been misformatted in the compiled HTML document. Use the source code from here instead, which you can open in RStudio
https://dl.dropboxusercontent.com/u/2703650/Courses/geostats/geostats_course.Rmd
Make sure that you have PLR installed and added to your database.
Hope that helps.
So, i’m not referring me to your post, but the one same activity.
I’m referring to link: http://www.bostongis.com/PrinterFriendly.aspx?content_name=postgresql_plr_tut01
This link show how to install the function R in PostGIS, but i followed step-by-step and don’t got it
I would like to know if you have some sugestion.
Tks!
I can’t really help much I’m afraid. PLY is installed simply enough now by running CREATE EXTENSION PLR
The instructions on the BostonGIS site are for windows.My tutorial is for Ubuntu. I include some lines for compiling PLR from source, but the package can also be installed as a binary in the usual way.
All the best, Duncan