MySQL Forums
Forum List  »  GIS

Distance in meters between two points
Posted by: Flavio Tobias
Date: September 17, 2013 06:24PM

I know that the MySql has GIS support for some time. However just now I tried to use it.
I tried the most basic GIS function, the distance between two points. Looking at the documentation I found the glength, however this function returns the distance in degree. Looking further I found the udf functions distance_sphere() and distance_spheroid(), however I tried to compile to MySql 5.6 and I got a lot of errors.
So my question is, how can I calculate the distance in meter between two points on MySql 5.6?

Many thanks
Flavio

Options: ReplyQuote


Subject
Views
Written By
Posted
Distance in meters between two points
4643
September 17, 2013 06:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.