M
M
Mikha Pankratov2016-06-17 09:34:54
MySQL
Mikha Pankratov, 2016-06-17 09:34:54

How to determine the distance between 2 points?

Hello,
I have a tablet in it with geo data
points
id
name
zip
geo (x,y)
How do I determine the distance for 2 lines?
Preferably without using sin, cos

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
VitGun, 2016-06-17
@VitGun

Something like this

S
Strange, 2016-06-17
@Strange

Why are you not satisfied with sin & cos?
www.movable-type.co.uk/scripts/latlong.html

S
Sergey Savostin, 2016-06-17
@savostin

No way without sinuses:
https://habrahabr.ru/post/179157/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question