geoshape type

648
7
Jump to solution
03-20-2019 01:54 PM
Highlighted
MVP Frequent Contributor

Can the area value of a geoshape type be used in a calculation for another field?

We need to determine the area of any polygon created and set that value on another field. 

Survey123 Connect v3.3.51

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Contributor

Hi James,

 

Sure can! You can use the area() function in a calculation field for another question. This example shows the area (in square metres) and perimeter (in metres) of a polygon being converted to hectares and kilometres and rounded to 2 decimal places.

 

Brett

View solution in original post

7 Replies
Highlighted
Esri Contributor

Hi James,

 

Sure can! You can use the area() function in a calculation field for another question. This example shows the area (in square metres) and perimeter (in metres) of a polygon being converted to hectares and kilometres and rounded to 2 decimal places.

 

Brett

View solution in original post

Highlighted
MVP Frequent Contributor

Score!  Thanks so much for the example!

Reply
0 Kudos
Highlighted
New Contributor

Hello Brett Stokes Employee

I have multiple GPS points. Can I do manually type with Multiple GPS Points to create a polygon in geoshape?  If we can create a polygon let me know how to create it

Reply
0 Kudos
Highlighted
Esri Contributor

Hello Thant Zaw Oo,

You can achieve this by putting your geopoint questions within a repeat. Then just use the sum() function in your geoshape question in the calculate column to build the polygon from the points in your repeat. I suggest joining the Early Adopter Community (if you haven't already) where you can find more detailed explanations on this beta functionality. Here is an example of setting up your XLSForm:

Hope this helps,

Brett

Highlighted
New Contributor

Thanks Brett, I could manage it and get polygon well. May I know same questions that I would like to know Sq Meter from this polygon for calculation If you don't mind can you please share me. Thanks.

Reply
0 Kudos
Highlighted
New Contributor

Hi Thant,

did u managed to calculate the SQM of the polygon so far

Thanks

Reply
0 Kudos
Highlighted
Esri Esteemed Contributor

Hi Thant Zaw Oo‌, Mohammad,

The area() function provides the area in square meters; no conversion is necessary.  Please refer to Geotrace and geoshape—Survey123 for ArcGIS | Documentation 

Reply
0 Kudos