在MySQL数据库中存储纬度/经度时使用的理想数据类型是什么?

问题描述:

请记住,我将对lat / long对执行计算,什么数据类型最适合与MySQL数据库一起使用?

Bearing in mind that I'll be performing calculations on lat / long pairs, what datatype is best suited for use with a MySQL database?

使用MySQL的空间扩展 GIS。

Use MySQL's spatial extensions with GIS.