I am trying to reclassify a polygon into three classes:
1 and 2 =5 , 3 and 4 = 3 and 5 = 1
I have been trying to do this by calculating a new field in the attribute table but I am very inexperienced with Python so have tried it VB script. Is there anyone out there that could help me with a basic IF function.
I have tried this:
if [Sal_AlkCL]=1,2 Then [Salscore] = "5"if [Sal_AlkCL]=3,4 Then [Salscore] = "3"if [Sal_AlkCL]=1 Then [Salscore] = "1"end if
أكثر...
1 and 2 =5 , 3 and 4 = 3 and 5 = 1
I have been trying to do this by calculating a new field in the attribute table but I am very inexperienced with Python so have tried it VB script. Is there anyone out there that could help me with a basic IF function.
I have tried this:
if [Sal_AlkCL]=1,2 Then [Salscore] = "5"if [Sal_AlkCL]=3,4 Then [Salscore] = "3"if [Sal_AlkCL]=1 Then [Salscore] = "1"end if
أكثر...