ArcGIS 栅格计算器实用公式
2015-12-29 20:10阅读:
1、将特定值(-9999)赋值为0
Con('raster'==-9999,0,'raster')
2、将某一范围内(如小于0)赋值为0
Con('raster'
<0,0,'raster')
3、将特定的栅格值(如1)赋值为空值
setnull('raster'==1,'raster')
4、给空值赋予特定的值(如0)
CON(ISNULL('raster'),0,'raster')
5、平方和开方
(1)Power(raster,2),Power(raster,0.5)
(
pan>2)Squre(),SquareRoot()
6、提取栅格数据中特定值
(1)Pick('raster',[1,2,3,......])
(2)Slope>15,提取Slope大于15的格子,赋值为1,其余为0
(3)Con('Slope'>5,'Slope'),提取Slope大于5的格子,值不变
(4)工具箱中Math下面的greater工具,结果为1和0
7、将影像中的多个值赋予无效值
SetNull(('raster == -32768)|('raster'
==-10000),'raster')