I'm trying to create a new variable that contains the spatial information of the variable "SpatialObj" contains null values if the second variable "LEZ_type" is empty (see attachment).
I tried:
IF IsEmpty([LEZ_type]) THEN "" ELSE [SpatialObj] ENDIF
but received an error: "type mismatch on true/false branch of if statement"
Can you please help?
Solved! Go to Solution.