proper/best type for storing latitude and longitude

前端 未结 13 894
天涯浪人
天涯浪人 2020-12-07 11:21

In a system level programming language like C, C++ or D, what is the best type/encoding for storing latitude and longitude?

The options I see are:

  • IEEE
13条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-07 11:58

    0.3 inch resolution is getting down to the point where earthquakes over a few years make a difference. You may want to reconsider why you believe you need such fine resolution worldwide.

    Some of the spreading centres in the Pacific Ocean change by as much as 15 cm/year.

提交回复
热议问题