新浪博客

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、平方和开方
1Powerraster2),Powerraster0.5
pan>2Squre()SquareRoot()
6、提取栅格数据中特定值
1Pick('raster',[1,2,3,......])
2Slope>15,提取Slope大于15的格子,赋值为1,其余为0
3Con('Slope'>5,'Slope'),提取Slope大于5的格子,值不变
4)工具箱中Math下面的greater工具,结果为10
7、将影像中的多个值赋予无效值
SetNull(('raster == -32768)|('raster' ==-10000),'raster')

我的更多文章

下载客户端阅读体验更佳

APP专享