Using OR and ISNULL in Raster Calcualtor

المشرف العام

Administrator
طاقم الإدارة
I am using ModelBuilder for ArcGIS Desktop 10.2

I have the following code in the Raster Calcualtor which works in some cases but not in others.

Int(Con(IsNull("%A%")|"%A%"== 0,"%B%",float(%Max%) + "%A%"))In cases that A is Null I want the code to return the value from B however it is returning a Null. I suspect there is a flaw in the OR syntax but I can't work out what is wrong.



أكثر...
 
أعلى