Hi List,<br><br>Is it possible to convert a polygon grid into a multiband raster in PostGIS 2.0?<br><br>For example, I saw on an earlier question that a multiband raster can be generated using the following code:<br><br>CREATE newtable AS<br>
SELECT ST_AddBand(ST_Band(table1.rast, 1), ST_Band(table2.rast, 1)) rast<br>FROM table1, table2<br>WHERE table1.rid = table2.rid<br><br>Is it possible to do something like the following?<br><br>CREATE newtable AS<br>SELECT ST_AddBand( "rasterize (t.geom, col1)", "rasterize (t..geom, col2)" )  rast<br>
FROM table1 as t<br><br>where "rasterize (t.geom, col1)" is my pseudocode description of how I want to convert the polygon grid into a raster, using a column name. <br><br>- David<br>