Hi Osame Alkaaby,
 
The syntax you are looking for is:
 
newmap=iff((map="IV") and (map2="V") and (map3="IIII"),"SEVER",iff((map1="I") and 
(map2="II") and (map3="III"),"LOW",?))
 
For more info refer to the online help topic "Map and Table Calculation - IFF( ) 
function.
 
Regards,
 
Jelger Kooistra
------------------------------------------- 
Jelger Kooistra,(ILWIS) Support Officer 
ITC IT-Dept., Sector Remote Sensing & GIS 
PO Box 6, 7500 AA Enschede, The Netherlands 
e-mail: [EMAIL PROTECTED] 
internet: www.itc.nl/ilwis 
Become a member of the ILWIS Discussion list at: 
http://www.itc.nl/ilwis/contact_us/subscribe_ilwis_list.asp 
------------------------------------------- 

-----Original Message-----
From: osame alkaaby [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 8:51 PM
To: Ilwis list
Subject: (ilwis-list) IFF function


Greeting
 
I have got serious problem with "IFF" function.Actually I have three raster map ,now 
(may be increased to 4 later) with the same georefrence and all of them having class 
domain (map1=Canopy cover, map2=Erosion, map3=EC).I want to produce new map 
(Desertification map) with new class domain, for this I should use "IFF" function more 
than one time.I have no idea how can I prepare this script or function.For example I 
want to tell ILWIS : Iff map1 have class "IV" and map2 have class "V" and map3 have 
class "III",then return class "SEVER" for new map(desertification map) and iff map1 
have class "I" and map2 have class "II" and map3 have class"III", then return 
class"LOW" for the new map and so...I have tried some functions but I got error. May 
be I  made a mistake in the number of parenthesis or some things else. I am new with 
this kind of work, so  it would highly appreciated if you help and guide me in this 
issue.
 
Thanks in advance
*************************
Osame Alkaaby


________________________________________________________

To leave the ILWIS-LIST discussion list, send a email with
'unsubscribe ilwis-list' in the body to '[EMAIL PROTECTED]'

Reply via email to