How to write SQRT in Band Arithmetic (raster function)?

1094
4
Jump to solution
03-18-2021 01:01 AM
MartinMaretta1
New Contributor II

Hi everybody,

Is there any way how to write SQRT function in Band Arithemtic raster function ? or POW ?

I tried **, ^. But doesnt work.

 

Thanks.

0 Kudos
1 Solution

Accepted Solutions
JayantaPoddar
MVP Esteemed Contributor

You may use Calculator Function

** works in this function



Think Location

View solution in original post

0 Kudos
4 Replies
JayantaPoddar
MVP Esteemed Contributor

In Band Arithmetic Function, the supported operators are -,+,/,*, and unary -.

Could you use Raster Calculator?

Expression (Choose any 1):  For Square Root

Power(RASTER,0.5)

Power(RASTER,(1.0/2.0))

SquareRoot(RASTER)

 

Or You may use Arithmetic (Raster Functions)

Jayanta_Poddar_1-1616064028219.png

 

 



Think Location
MartinMaretta1
New Contributor II

Thanks.

Now I see it in the documentation for User Defined function. What a pitty..other functions support also sqrt (for example MSAVI). We need raster function because we want to use together with published image service and dont want to use geoprocessing (which is much slower). Anyway thanks for pointing me to documentation.

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

You may use Calculator Function

** works in this function



Think Location
0 Kudos
MartinMaretta1
New Contributor II

thanks!

I completly miss this function.

0 Kudos