I have an intersect layer (footprintMatch) in an Arcade expression. I'm setting up a when conditional statement that starts with:
When(propCode == '100' && IsEmpty(permitYear) && IsEmpty(footprintMatch),
,'',...)
That's when the property code is vacant residential land and there has not been a construction permit issued and there is no building footprint, then return nothing. That's truly vacant land.
The next conditional I need would be the following scenario:
property code is vacant and there is no construction permit, but there IS a building footprint, then return instructions to view the building footprint in an aerial photo basemap for confirmation. I'm trying to figure out the opposite of IsEmpty. Like how do I signify that there is a match from that intersect layer? In Python I could just place the variable as follows:
When(propCode == '100' && IsEmpty(permitYear) && footprintMatch, ,'Confirm building footprint in aerial photo',...)
Do I need to nest an Iif statement in the when statement?
Solved! Go to Solution.
If you want to negate the IsEmpty statement you can use:
IsEmpty(footprintMatch) == False
or shorter:
!IsEmpty(footprintMatch)
If you want to negate the IsEmpty statement you can use:
IsEmpty(footprintMatch) == False
or shorter:
!IsEmpty(footprintMatch)
Thanks!