Kernel density estimation with PostGIS raster
|Reported by:||jpk||Owned by:||Bborie Park|
|Priority:||medium||Milestone:||PostGIS Fund Me|
|Keywords:||kernel density estimation, heat map, raster||Cc:|
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.