[13] [[地球]]上の[[距離]]の計算には、
[[地球]]の形を考慮する必要があります。
[[地球]]は[[球]]に近い[[回転楕円体]]のような形をしています。

* Google Maps API

[3] [[Google Maps API]] では [CODE[google.maps.geometry.spherical.computeDistanceBetween]]
で2つの[[座標]]の間の[[距離]]を得られます。
この[[関数]]は[[地球]]を[[球]]に[[近似]]しています。

* Strava

[14] [[Strava]] は複数の方法で得た[[距離]]のいずれかを使っています [SRC[>>2]]。

[2] [CITE@en-US[How Distance is Calculated – Strava Support]]
( ([TIME[2016-06-05 01:54:01 +09:00]]))
<https://support.strava.com/hc/en-us/articles/216919487-How-Distance-is-Calculated>

[8] [CITE@en-US[Why is Strava showing different data than my Garmin? – Strava Support]]
([TIME[2018-10-26 19:36:30 +09:00]])
<https://support.strava.com/hc/en-us/articles/216919737-Why-is-Strava-showing-different-data-than-my-Garmin->

[9] [CITE@en-US[Option to disable Strava smoothing algorithm on imports – Strava Support]]
([TIME[2018-10-26 19:39:59 +09:00]])
<https://support.strava.com/hc/en-us/community/posts/115000116490-Option-to-disable-Strava-smoothing-algorithm-on-imports>

[10] [CITE@ja-JP[同じMoveなのにStrava上とMovescount上とで表示される数値が異なるのはどうしてですか?]]
([TIME[2018-10-26 19:42:27 +09:00]])
<https://www.suunto.com/ja-jp/Support/faq-articles/movescount/why-does-my-move-show-different-values-in-strava-than-in-movescount/>

[11] [CITE@en-US[How Distance is Calculated – Strava Support]]
([TIME[2018-10-26 19:43:34 +09:00]])
<https://support.strava.com/hc/en-us/articles/216919487-How-Distance-is-Calculated>

[12] [CITE@en-US[Why is my activity's distance different than my friend's? – Strava Support]]
([TIME[2018-10-26 20:00:47 +09:00]])
<https://support.strava.com/hc/en-us/articles/115001188624-Why-is-my-activity-s-distance-different-than-my-friend-s->

* メモ

[1] [CITE@en[Wikitravel:Measurements - Wikitravel]]
([TIME[2010-02-24 08:24:04 +09:00]] 版)
<http://wikitravel.org/en/Wikitravel:Measurements>


-[4] [CITE[二地点の緯度・経度からその距離を計算する(日本は山だらけ〜)]]
( ([TIME[2016-06-14 02:13:49 +09:00]]))
<http://yamadarake.jp/trdi/report000001.html>
--[19] 消滅確認 [TIME[2024-04-26T06:31:50.300Z]]
-- [22] 
[CITE[二地点の緯度・経度からその距離を計算する(日本は山だらけ〜)]], [TIME[2024-04-26T06:31:05.000Z]], [TIME[2012-06-16T00:02:01.015Z]] <https://web.archive.org/web/20120616000121/http://yamadarake.jp/trdi/report000001.html>


[5] [CITE@en[緯度経度から2点間の距離を求める | ぷちのいず]]
( ([TIME[2016-06-14 02:15:21 +09:00]]))
<http://petit-noise.net/blog/%E7%B7%AF%E5%BA%A6%E7%B5%8C%E5%BA%A6%E3%81%8B%E3%82%892%E7%82%B9%E9%96%93%E3%81%AE%E8%B7%9D%E9%9B%A2%E3%82%92%E6%B1%82%E3%82%81%E3%82%8B/>

[FIG(quote)[
[FIGCAPTION[
[6] [CITE@ja[-]]
([[アイサンテクノロジー株式会社]]著, [TIME[2017-02-13 04:21:48 +09:00]])
<http://atmsr.aisantec.com/atmspark/modules/info_m2/index.php?id=35>
]FIGCAPTION]

>  図1-1に準拠楕円体の様子を示してありますが、日本の場合、準拠楕円体からジオイドまでの距離がおおよそ40mになります。2002年度から施行されている改正測量法は、“距離及び面積は楕円体面上の値で表示する。”と定めています。
>  改正測量法における距離は、旧測量法で定められた距離より短くなります。その量は1000mあたり、次式で計算できます。
> 改正測量法の距離=旧測量法の距離(1000m)×{6,370,000m/(6,370,000m+40m)}=999.9937m
> つまり、日本の土地の距離基準は、1kmあたり6mm程度短くなったことになります。距離では約1/20万短く、面積では約1/10万小さくなります。

]FIG]

[15] [CITE[距離と方位角の計算 計算式]]
([TIME[2018-10-18 14:54:37 +09:00]])
<https://vldb.gsi.go.jp/sokuchi/surveycalc/surveycalc/algorithm/bl2st/bl2st.htm>

[16] [CITE@ja[TrailNote : 2地点間の距離の計算]]
([TIME[2018-10-18 14:54:41 +09:00]])
<http://www.trail-note.net/tech/calc_distance/>

[17] [CITE@en[Vincenty solutions of geodesics on the ellipsoid in JavaScript | Movable Type Scripts]]
([[Chris Veness, www.movable-type.co.uk]]著, [TIME[2018-03-05 03:35:34 +09:00]])
<http://www.movable-type.co.uk/scripts/latlong-vincenty.html>

[18] [CITE[Geo::Direction::Distance - Process between Lat-Lng coordinates and direction - distance - metacpan.org]]
([TIME[2018-10-18 15:17:18 +09:00]])
<https://metacpan.org/pod/Geo::Direction::Distance>

[21] [[多角線簡略化]]

[7] [CITE@en[Why Every GPS Overestimates Distance Traveled - IEEE Spectrum]]
([TIME[2018-10-26 19:14:40 +09:00]])
<https://spectrum.ieee.org/tech-talk/at-work/test-and-measurement/why_every_gps_overestimates_distance_traveled>

[20] [CITE[Matsup's blog: GPS 経路データから求めた距離の誤差について]], [TIME[2024-04-08T12:56:04.000Z]], [TIME[2024-04-26T06:27:10.202Z]] <http://matsup.blogspot.com/2016/06/gps_14.html>
