Kernel density estimation with PostGIS raster
|PostGIS Fund Me
|kernel density estimation, heat map, raster
I was looking for a PostGIS function to create a raster resulting from a kernel density estimation (or heat map). I did not find it so I created it myself in plpgsql. For the moment, it uses a quartic function (same than ArcGIS spatial analyst) but it is possible to implement the other ones (triangular, gaussian, etc). Here is the function and a example of execution. Feel free to use it and improve it.