FYI you can now just use the ODK distance() function to accomplish this; see Calculate distance between geopoints
1 Like
FYI you can now just use the ODK distance() function to accomplish this; see Calculate distance between geopoints