I am interested in a PostGIS implementation of the R-based soulution from a previous question, How can I convert data in the form of lat, lon, value into a raster file using R?
Currently, I am hoping to generate tiles for a map in CartoDB from a table with columns "lat, lon, value".
I have found some hints on the CartoDB google group, which boil down to "insert polygonized raster/values into a valid empty polygon table in CartoDB"
But the examples include a deprecated function (ST_MapAlgebraExpr
) and a suite of nested ST_*
functions, including st_transform(st_setsrid(st_multi(st_makevalid((...
. Being new to PostGIS, this is fairly difficult to understand and apply, and the help of the individual functions requires some basic understanding.
I am new to PostGIS so please pardon that I haven't gotten very far, and the scope of new data types and transformations are daunting. If I can get my toe in here, I promise to show improvement before my next post :)