[postgis-users] MapAlgebra on three Rasters
JamesH
james.holmes at newcastle.ac.uk
Wed Apr 25 14:54:58 PDT 2012
Currently, I am using:
CREATE TABLE map2 AS(
SELECT
ST_MapAlgebraExpr(ST_MapAlgebraExpr(a.rast,1, '32BF',
'((67.6499557495117-[rast])/67.6499557495117)'), 1,
ST_MapAlgebraExpr(b.rast,1, '32BF',
'((14052.134765265-[rast])/14052.134765265)'), 1, '([rast1] * 0.5) +
([rast2] * 0.3)::float', '32BF').*
FROM
density a, euclidean b
);
But its not exporting correctly, and using .* returns as a syntax error.
Can anyone show me where I'm going wrong with this?
Much Appreciated,
James
-----
GIS Undergraduate
--
View this message in context: http://postgis.17.n6.nabble.com/MapAlgebra-on-three-Rasters-tp4917643p4918159.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
More information about the postgis-users
mailing list