[postgis-users] NDVI Calculation from two bands within one Raster

JamesH james.holmes at newcastle.ac.uk
Mon Apr 2 06:03:54 PDT 2012


Have upgraded to Beta4,
new error message returning for 
'SELECT ST_MapAlgebraExpr(a.rast, 4, b.rast, 3, '(rast1 - rast2) /(rast1 +
rast2)::float') FROM nclraster1 a, nclraster1 b;'

As  column "rast1" does not exist. 
With the previous PostGIS raster version, this has not returned before.
Any advice?

Regards,
James


--
View this message in context: http://postgis.17.n6.nabble.com/NDVI-Calculation-from-two-bands-within-one-Raster-tp4656995p4678854.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list