[postgis-users] ST_AddBand syntax

Chris English emailchrisenglish at gmail.com
Thu Jul 7 12:45:52 PDT 2011


Hi,

I have a raster table of 336 tiles.  I want to add a raster band (4) to the
table.

UPDATE redbike
SET rast = ST_AddBand(rast,4,'32BUI');

********** Error **********
ERROR: syntax error at or near "("

A variant on the above:

UPDATE redbike
 SET rast = ST_AddBand(rast,'32BUI', 1);

********** Error **********

no connection to the server

At which point a reboot is required to get server back.

So, that's the goal, at a 4th band to a raster that currently has 3

Thnks,
Chris

-- 
doesn't fully understand what he thinks he knows about the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20110707/14cbc58e/attachment.html>


More information about the postgis-users mailing list