I have in my MySQL database both longitude and latitude coordinates (GPS data).
It's currently stored as:
column type
------------------------
geolat decimal(10,6)
geolng decimal(10,6)
Question: Do I really need a data type as large as decimal(10,6)
to properly store coordinate data?
Since I have a combined index on the longitude and latitude, this index size is huge. If I can make it smaller without compromising anything, that would be great.