Hi, i was trying to use geolocation fields that 8base provides
I tried to filter based in the coordinates that I put as parameters and it must give me the distance based in the coordinates that are in the other records
The unit that I want to have are meters, but it gives me wrong distance, when the distance is 45meters
Here is the code:
Hello @jetixsolorzano !
I’ve checked the distance function between a few points and actually got the right results with a ~ 5-10 meters margin of error compared to popular web GPS solutions.
I’ll clarify which formula/algorithm do we use to measure the distance between two geo points.
Can you provide exact data from the Addresses table so I’ll check it with your coordinates?
@jetixsolorzano
I’ve managed to reproduce it. Looks like a bug, I’ll report it to the dev team, they will investigate and fix it in one of the upcoming 2022 releases.
Sorry for that and thanks for the feedback!