Limit latitude and longitude precision

Yury GPS 17 hours ago

Is it possible to limit the maximum precision of decimal places in GPS messages for latitude and longitude columns, for example, to 6-5 digits? Sometimes there are a lot of numbers after the dot, which is completely unnecessary.

Anton Tananaev 12 hours ago

Limit where?

Yury GPS 11 hours ago

Maybe at saving to database.
6 digits is already an accuracy of up to 11 centimeters, so everything below just can't be true in the context of civilian GPS trackers, so I wouldn't even store this data in a database.

Yury GPS 11 hours ago

It would be great if there was an option in the configuration file that limits the number of decimal places for coordinates that are saved to the database when receiving from devices.

Anton Tananaev 10 hours ago

Location is stored in double type in the database, so there's no such concept as decimal places.