Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Latitude and Longitude should use DECIMAL datatype instead of FLOAT #4923
Recently we encountered problem with accurate lat/long storing when being passed by request parameter.
It looks like it's connected strictly with type of location_latitude and location_longitude columns.
Then launch simpliest tracking request like:
and see in database what values are stored:
On the other hand tracker debug show proper values.
After changing schema of log_visit table and launching next request, coordinates are stored properly (lat: 98.230000, long: -21.450000)