
Calculate distance between two lat-long's
Hi there,
I want to calculate the distance between two latitude / longitude pairs in order to check a radius of 100 meter. I need the distance "as the crow flies", so the Google DistanceMatrix service (we already use for another purpose) is of no use here.
I have found a lot of solutions in all kind of programming languages (ruby, php, python, JavaScript and even Excel) but they all need (pretty basic) mathematical operations like sinus, cosinus and acosinus. I am not aware if these are available in Betty Blocks (anyone knows that?).
I'd prefer calculating this in Betty Blocks and not use an external service to do this. Has anyone else tried this before and a direction where to look at?
Best regards,
Jeroen
Hi there,
I want to calculate the distance between two latitude / longitude pairs in order to check a radius of 100 meter. I need the distance "as the crow flies", so the Google DistanceMatrix service (we already use for another purpose) is of no use here.
I have found a lot of solutions in all kind of programming languages (ruby, php, python, JavaScript and even Excel) but they all need (pretty basic) mathematical operations like sinus, cosinus and acosinus. I am not aware if these are available in Betty Blocks (anyone knows that?).
I'd prefer calculating this in Betty Blocks and not use an external service to do this. Has anyone else tried this before and a direction where to look at?
Best regards,
Jeroen
Login to reply