mysqldatabase-designmapsmappinglatitude-longitude

What is the ideal data type to use when storing latitude / longitude in a MySQL database?


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


Solution

  • Use MySQL's spatial extensions with GIS.