Geographic Information Systems Asked by NVaissier on December 26, 2020
I would like to use an Arcade expression in ArcGIS Online web maps to assign a symbol and a colour to different attributes. For example, if the attribute value is ‘yes’: the symbol is round and has a green colour. And if the attribute value is ‘no’: Symbol is a square and has a red colour.
Is this possible in an Arcade expression?
Yes, it is possible!!
I am sharing the workflow to be followed.
Here, I have demonstrated if StreetType is "ST" symbolize as "Green Circle" and if the StreetType is "DR" symbolize them as "Red Squares"
Use the below Arcqade Expression to set up the service.
var PCI = $feature.StreetType;
if (PCI == "ST") {
return "Yes";
} else if (PCI == "DR") {
return "No";
}
Once the expression is set, select the option to symbolize
Set the shape and color as per your requirements.
Answered by Yogesh Chavan on December 26, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP