Is there any way to use st_distance (5.6 mysql function) or similar, in a mysql 5.5 database?
Asked
Active
Viewed 341 times
0
-
You'll have to code it yourself using the Haversine formula. Google it. – Barmar Jan 16 '16 at 00:43
-
1With respect, your question is not clear. What's a "geometry?" A point? What sort of distance computation do you need? Are these latitude and longitude? Or what? It's possible your question can be saved if you edit it to make it clearer. – O. Jones Jan 16 '16 at 02:06
-
Possible duplicate of [Mysql spatial distance using POINT - Not working](http://stackoverflow.com/questions/11436396/mysql-spatial-distance-using-point-not-working) – miken32 Jan 16 '16 at 03:59