<div>Hello,<br></div><div><br></div><div>When I run the following query </div><div>select ST_MapAlgebra(r1.rast, r2.rast, "rast1 + rast2") from (select r1.rast, r2.rast from r1, r2) as foo limit 10;</div><div><br>
</div><div>I get this error</div><div><br></div><div>ERROR:  column "rast + rast" does not exist<br>LINE 1: ...t * from (select ST_MapAlgebra(r1.rast, r2.rast, "rast + ra...<br>                                                             ^</div>
<div><br></div><div>What could be the problem? What is the correct syntax for st_mapalgebra?</div><div><br></div><div>I have PostGIS installed the version updated on 18th Nov 2011.</div><div><br></div><div><br></div><div>
Joan</div>