[postgis-devel] Regular expressions in PostGIS sources

Kevin Neufeld kneufeld at refractions.net
Mon Nov 15 12:46:09 PST 2010


On 11/15/2010 12:29 PM, Jorge Arévalo wrote:
> For MapAlgebra implementation at core level. The ST_MapAlgebra
> Pl/pgSQL function takes an input argument like "SELECT rast + 3",
> meaning "add 3 to all raster's pixels", and it calls a  core function
> (via postgresql function) to perform the operation.
>
> Should I parse the expression in PL/pgSQL function, at postgresql
> level or at core level? Now, I'm working only at core level.

I may be out here, but wouldn't you rather define the + operator for 
raster/integer?
-- Kevin



More information about the postgis-devel mailing list