[postgis-users] ST_Mapalgebra

Joan wamaithajoan at gmail.com
Mon Nov 21 07:02:17 PST 2011


Hello,

When I run the following query
select ST_MapAlgebra(r1.rast, r2.rast, "rast1 + rast2") from (select
r1.rast, r2.rast from r1, r2) as foo limit 10;

I get this error

ERROR: column "rast + rast" does not exist
LINE 1: ...t * from (select ST_MapAlgebra(r1.rast, r2.rast, "rast + ra...
^

What could be the problem? What is the correct syntax for st_mapalgebra?

I have PostGIS installed the version updated on 18th Nov 2011.


Joan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111121/82a2ae67/attachment.html>


More information about the postgis-users mailing list