I am trying to figure out how I can calculate and label acres in a polygon layer and line length (feet) of a couple layers I have hosted in AGO. The editing is going to be done in Web Appbuilder. I am reading the you can maybe do this somehow with arcade, but I can not figure it out. Is there other options as well? I can't seem to figure anything out.
Thanks,
Justin
Solved! Go to Solution.
You will need to convert the Area or length field in your feature service into the desired units with Arcade.
The linear unit for each feature layer is determined by the spatial reference. For feature layers in Web Mercator, this is metres.
This blog shows how to convert metres to Acres with arcade:
https://blogs.esri.com/esri/arcgis/2016/12/19/introducing-arcade/
http://support.esri.com/en/technical-article/000007350and the math for doing the conversion:
How To: Convert Area into Acres
-Kelly
You will need to convert the Area or length field in your feature service into the desired units with Arcade.
The linear unit for each feature layer is determined by the spatial reference. For feature layers in Web Mercator, this is metres.
This blog shows how to convert metres to Acres with arcade:
https://blogs.esri.com/esri/arcgis/2016/12/19/introducing-arcade/
http://support.esri.com/en/technical-article/000007350and the math for doing the conversion:
How To: Convert Area into Acres
-Kelly
Thank you, this got me pointed in the right direction.