How do we create a new variable to calculate an area

Is it possible to create a new variable to calculate an area when using the geoshape variable

Just add a calculation field using the area() function

1 Like

Does KoBo support this variable or not?

The area() function is a built-in ODK Collect XPath function, which is available in the current KoBoCollect fork. So strictly speaking it is a function (ie to be used in a suitable calculation) not a variable per se. But yes, it is supported in the shipping KoBoCollect app today.


Thanks Xiphware.

1 Like

Hi @Xiphware
how can i use area( ) to compute area of the plot when collect data, please your assistance from design a form which allow me to calculate area and how I can handle it during data collection process.