Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A 64-bit structure that compactly contains latitude and longitude data with an accuracy of ±2.8 mm.

License

NotificationsYou must be signed in to change notification settings

chubrik/LatLng64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheLatLng64 is a 64-bit structure that compactly contains latitude and longitude data with an accuracy of ±2.8 mm.This format is great for geographic databases. Occupies half the space of traditional solutionsand provides accuracy sufficient for the vast majority of applications.

Features

  • The structure occupies 64 bits of memory and uses them to the maximum.
  • In the populated part of the Earth, the accuracy is no worse than ±2.8 mm.
  • In the polar regions of the Earth, the accuracy is no worse than ±5.6 mm.
  • The restored latitude and longitude values have a neat decimal form.

Comparison with other formats

  • TheFloat32 pair has different precision depending on the location.Step up to 1.7 m is unacceptable for most applications.
  • TheFloat64 pair is the traditional solution.But it takes up a huge 128 bits and gives meaningless sub-nanometer precision.
  • TheInt32 pair can give uniform accuracy of ±5.6 mm. It gives four times fewer values ​​per area thanLatLng64.

About

A 64-bit structure that compactly contains latitude and longitude data with an accuracy of ±2.8 mm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp