CÓMO
In some instances, unique values from multiple attribute fields are customized to form groups that display only certain attributes on the map.
In the image below, the locations of various orchids are symbolized by species, and by whether they are common or threatened. If the dataset is not customized, all the attributes are scattered and symbolized individually on the map.
In this example, the locations of Butterfly orchids where it is common and threatened are emphasized. To do this, the selected attributes are grouped and symbolized using the Arcade expression.
Below are the steps to use Arcade to group unique values from multiple attribute fields in ArcGIS Pro.
var name = $feature.Name var status = $feature.Status if (name == "Butterfly") { if (Status == "Common") { return "Group 1" } } if (name == "Butterfly") { if (Status == "Threatened") { return "Group 2"} } else { return "Group 3" }
Note: Repeat the 'if' or 'else if' statement in the expression if it is necessary to configure more fields for the unique values.
Id. de artículo: 000017852
Obtener ayuda de expertos en ArcGIS
Descargar la aplicación de soporte de Esri
You can also download the app to access the chatbot anytime! Download it now.