[postgis-users] Problem using ST_MapAlgebraExpr (II)

Pierre Racine Pierre.Racine at sbf.ulaval.ca
Wed Feb 29 04:49:27 PST 2012


How old is your build?

Since two weeks 'rast1' and 'rast2' have been replaced with '[rast1.val]' and '[rast2.val]'

Pierre

> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net [mailto:postgis-users-
> bounces at postgis.refractions.net] On Behalf Of DavidRA
> Sent: Wednesday, February 29, 2012 7:37 AM
> To: postgis-users at postgis.refractions.net
> Subject: Re: [postgis-users] Problem using ST_MapAlgebraExpr (II)
> 
> Hi again, when developing other functions I encountered a new problem with
> the 2 raster band version of ST_MapAlgebraExpr(). First of all, this is the
> function (it calculates the ordered weighted average out of two rasters):
> 
> 
> 
> 
> Then, I try to execute it like this:
> 
> 
> 
> but I get this error:
> 
> 
> 
> Invalid pixel type? I'm using the same maps than before and the structure of
> the function is quite similar... but I didn't get this error with the
> normalize function nor others.
> 
> --
> View this message in context: http://postgis.17.n6.nabble.com/Problem-using-
> ST-MapAlgebraExpr-II-tp4514561p4531261.html
> Sent from the PostGIS - User mailing list archive at Nabble.com.
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list