Hi All,good afternoon I am do a raster calculation where I'm add about 13 different layers for EAB susceptibility project. The out raster is coming without a value and the following statement shown up Statistics have not been calculated) What can I do to correct this please?
If [QR] > 0.8 then result = "High" elseif [QR] > 0.6 then result = "Good" elseif [QR] > 0.4 then result = "Moderate" else result = "" end if
result
In the code block:If [QR] > 0.8 then result = "High" elseif [QR] > 0.6 then result = "Good" elseif [QR] > 0.4 then result = "Moderate" else result = "" end if In the expression:result
If [FUNC_CLASS] = 1 then result = 2.25 elseif [FUNC_CLASS] = 11 then result = 3.30 elseif [FUNC_CLASS] = 12 then result = 1.14 else result = 0 end if
If result is going into a field of type float then you shouldn't have the quotes around the value:If [FUNC_CLASS] = 1 then result = 2.25 elseif [FUNC_CLASS] = 11 then result = 3.30 elseif [FUNC_CLASS] = 12 then result = 1.14 else result = 0 end if
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.