AnsweredAssumed Answered

Trying to use Con statement in Raster Function in Pro

Question asked by MervynLotter on Mar 25, 2016
Latest reply on Jun 20, 2016 by erice-esristaff

HI there

 

I would like to use a Con statement in a Raster Function so that I do not have create a new raster every time I want to query values in a raster (DEM). I am working in Pro 1.2.

 

For example, if I wanted to view all areas above 350 m above sea level, using the Raster Calculator in Spatial Analyst I would have traditionally inserted the following statement: Con("altitude1">350,1). This would create a new raster for my query.

 

Con statement.jpg

 

So I tried using a Raster Function. I am able to open the Con properties window for a raster function in Pro, but I cant figure out how to enter any parameters (other than what is provided in the screenshot, which deals with rasters, cell size and output extent). I am pretty sure Raster Functions should be able to extract the desired DEM values, perhaps I am using the wrong function or simply just not using it correctly? Can anyone point me in the right direction?

 

Thank you.

Outcomes