I am looking to calculate and label acres/line lengths in web application.

1226
2
Jump to solution
08-15-2017 12:54 PM
JustinNettleton
Occasional Contributor

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 

0 Kudos
1 Solution

Accepted Solutions
KellyGerrow
Esri Frequent Contributor

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

View solution in original post

2 Replies
KellyGerrow
Esri Frequent Contributor

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

JustinNettleton
Occasional Contributor

Thank you, this got me pointed in the right direction. 

0 Kudos