![]() When you hit the OK button, the expression is interpreted and the data will display using the Counts and Amounts (size option). P_ENERNO var coverage = 0 if (total_hh > 0 ) return coverage The Arcade expression configuration Windows allows you to configure your expression and put in all the logic you want based on the attributes of the data.Īrcade Expression: var total_hh = $feature. ![]() Just use the ADD button to add a new expression: This is done in the configuration of the pop-up window. Since this coverage information is not provided in the data, we can calculate it on the fly using Arcade. For instance:Įnergy coverage = households with electricity / (households with electricity + households without electricity) * 100%. ![]() This can be derived from the number of household with and without the service. To start, you should know the percentage of coverage of a service. Number of households not connected to the sewerage.Number of households connected to the sewerage.Number of households not connected to natural gas.This example displays a customized popup on the map. Number of households connected to natural gas Custom Popups Stay organized with collections Save and categorize content based on your preferences.Number of households without electricity.For each symbol (image) there is an expression that evaluates the coverage and defines which image to use.įor this example, we used a hosted feature service from our Open Data portal at Esri Colombia, with data per municipality: While exploring the possibilities I obtained the following result:īased in the percentage of coverage 5 symbols are displayed per service (water, sewer and gas). Relatively new is the use of Arcade expression in pop-ups in ArcGIS Online. See ArcGIS Arcade | ArcGIS for Developers Creating a matching symbology using ArcadeĪrcade expressions can be used to define the symbology in a dynamic way for almost a year now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |