Detailed st_mapalgebra reference?

Scott public at postholer.com
Tue Jul 30 11:14:12 PDT 2024


st_mapalgebra has to variants, expression and callback.

With the callback version you can specify a user created pgsql function 
that can use any math function available in Postgres. It's far more 
flexible than the expression.

Callback version:
https://postgis.net/docs/RT_ST_MapAlgebra.html

On 7/30/24 11:09, Robert Burgholzer wrote:
> We are doing a ton of precip raster analysis and rectification, and we 
> are struggling to find details on the algebraic expressions that we can 
> use, ie, "[rast1] + [rast2]" is great if we are adding, but we are also 
> interested in boolean calculations etc.
> 
> The basic postgis reference page is great for understanding syntax but I 
> am looking for recipes or a large raster calculator reference.
> 
> Thanks on advance,
> Robert
> 
> --
> Robert W. Burgholzer
>   'Making the simple complicated is commonplace; making the complicated 
> simple, awesomely simple, that's creativity.'  - Charles Mingus


More information about the postgis-users mailing list