Back in May I participated in the Geostat summer school in Quebec by Webinar
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
All the code can be run through RStudio and compiled in a few minutes.
The data for the tutorial is available here
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.