Select to view content in your preferred language

Area calculation

645
3
09-25-2024 08:52 AM
FernandoRuiz_Gámez
Emerging Contributor

The default reference system in survey 123 is WGS84. If we calculate the area using the area() function the resulting value is a geodesic area. How to calculate a planar area.

0 Kudos
3 Replies
abureaux
MVP Frequent Contributor

Feature Reports can choose between planar or geodesic area. Source here.

getValue

length, area, unit, measurement type

geotrace, geoshape

Map

Returns the length of a polyline, or the perimeter or area of a polygon, in given units and whether the measurements are planar or geodesic. Default measurement type is geodesic.

From that same document:

For geotrace and geoshape questions, you can use the getValue expression to display the length of the line or the perimeter of the polygon, respectively:

${polyline1 | getValue:"length":"meters":"planar"}

For geoshape questions, you can also use the getValue expression to display the area of the polygon:

${polygon1 | getValue:"area":"hectares":"geodesic"}

 As for within the actual Field App... I actually can't find a reference to these parameters.

0 Kudos
FernandoRuiz_Gámez
Emerging Contributor

I really need the data to be saved in a field. Not that I create any other ideas when generating the report @I really need the data to be saved in a field. Not that it creates any other ideas when generating the report @AI really need the data to be saved in a field. Don't let me create it when generating the report. Any other ideas @abureaux?

0 Kudos
FernandoRuiz_Gámez
Emerging Contributor

@abureaux, Perhaps the r system could be changed.Maybe you could change the reference system but I didn't find how to define it in XML forms either.

0 Kudos