Hi all
Am struggling to work out how to update a value for an integer attribute (SLD) that is based on the values in 3 other integer fields "P", "O", "S".
The following is the code I could use in ArcGIS for Desktop 10.7.1 calculate field (and based on VB):
Dim x
if
= 1 AND = 1 AND = 1 Then
x = 1
elseIf
= 1 AND = 1 AND = 2 Then
x = 2
elseIf
= 1 AND = 1 AND = 3 Then
x = 3
elseIf
= 1 AND = 2 AND <= 4 Then
x = 4
elseIf
= 1 AND = 3 AND <> 4 Then
x = 5
elseIf
= 1 AND = 5 AND <= 3 Then
x = 6
elseIf
= 4 AND <> 4 AND <= 5 Then
x = 7
else
x = 0
end if
If anyone can provide me with some suggestions as to how to convert this into python 3 within ArcGIS Pro I would be most appreciative,
Many thanks,
Mark