Yes, certainly. Here is the code for the arcade expression:
if ($feature.PtClass == 'Commercial - Single Structure') {
return Replace($feature['PtClass'],'Commercial - Single Structure','Commercial Structure')
}
if ($feature.PtClass == 'Commercial - Suite') {
return Replace($feature['PtClass'],'Commercial - Suite','Office Suite')
}
if ($feature.PtClass == 'Educational - Library') {
return Replace($feature['PtClass'],'Educational - Library','Library')
}
if ($feature.PtClass == 'Educational - School (Private)') {
return Replace($feature['PtClass'],'Educational - School (Private)','Private School')
}
if ($feature.PtClass == 'Educational - School (Public)') {
return Replace($feature['PtClass'],'Educational - School (Public)','Public School')
}
if ($feature.PtClass == 'Emergency - Fire') {
return Replace($feature['PtClass'],'Emergency - Fire','Fire Department Facility')
}
if ($feature.PtClass == 'Emergency - Hospital') {
return Replace($feature['PtClass'],'Emergency - Hospital','Hospital')
}
if ($feature.PtClass == 'Emergency - Police') {
return Replace($feature['PtClass'],'Emergency - Police','Police Department Facility')
}
if ($feature.PtClass == 'Government Office - Local') {
return Replace($feature['PtClass'],'Government Office - Local','Local Government Facility')
}
if ($feature.PtClass == 'Nonbuilding Structure - Cell Tower') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Cell Tower','Cellular Tower')
}
if ($feature.PtClass == 'Nonbuilding Structure - City Govt Asset') {
return Replace($feature['PtClass'],'Nonbuilding Structure - City Govt Asset','City Government Asset')
}
if ($feature.PtClass == 'Nonbuilding Structure - Detention Pond') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Detention Pond','Detention Pond')
}
if ($feature.PtClass == 'Nonbuilding Structure - Electrical') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Electrical','Electrical Structure')
}
if ($feature.PtClass == 'Nonbuilding Structure - Electrical Box') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Electrical Box','Electrical Box')
}
if ($feature.PtClass == 'Nonbuilding Structure - Monument/Sign') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Monument/Sign','Monument or Sign')
}
if ($feature.PtClass == 'Nonbuilding Structure - Parking') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Parking','Parking Structure')
}
if ($feature.PtClass == 'Nonbuilding Structure - Phone Cabinet') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Phone Cabinet','Phone Cabinet')
}
if ($feature.PtClass == 'Nonbuilding Structure - Trash Compactor') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Trash Compactor','Trash Compactor')
}
if ($feature.PtClass == 'Nonbuilding Structure - Water Meter') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Water Meter','Water Meter')
}
if ($feature.PtClass == 'Nonbuilding Structure - Cable Box') {
return Replace($feature['PtClass'],'Nonbuilding Structure - Cable Box','Cable Box')
}
if ($feature.PtClass == 'Recreational/Cultural - Private') {
return Replace($feature['PtClass'],'Recreational/Cultural - Private','Private Recreational/Cultural Structure')
}
if ($feature.PtClass == 'Recreational/Cultural - Public') {
return Replace($feature['PtClass'],'Recreational/Cultural - Public','Public Recreational/Cultural Structure')
}
if ($feature.PtClass == 'Religious/Spiritual') {
return Replace($feature['PtClass'],'Religious/Spiritual','Religious Structure')
}
if ($feature.PtClass == 'Residential - Apartment') {
return Replace($feature['PtClass'],'Residential - Apartment','Apartment Unit')
}
if ($feature.PtClass == 'Residential - Apartment Building') {
return Replace($feature['PtClass'],'Residential - Apartment Building','Apartment Building')
}
if ($feature.PtClass == 'Residential - Common Area') {
return Replace($feature['PtClass'],'Residential - Common Area','Residential Common Area')
}
if ($feature.PtClass == 'Residential - Single Structure') {
return Replace($feature['PtClass'],'Residential - Single Structure','Residential Structure')
}
if ($feature.PtClass == 'Residential - Unit') {
return Replace($feature['PtClass'],'Residential - Unit','Residential Unit')
}
if ($feature.PtClass == 'Residential - Townhome') {
return Replace($feature['PtClass'],'Residential - Townhome','Townhome')
}
if ($feature.PtClass == 'Residential - Group Quarters') {
return Replace($feature['PtClass'],'Residential - Group Quarters','Group Living Facility')
}
if ($feature.PtClass == 'Residential - Condo') {
return Replace($feature['PtClass'],'Residential - Condo','Condominium')
}