{"id":1573,"date":"2020-09-11T15:10:35","date_gmt":"2020-09-11T14:10:35","guid":{"rendered":"http:\/\/blog.briang.org\/?p=1573"},"modified":"2020-09-15T21:08:03","modified_gmt":"2020-09-15T20:08:03","slug":"distance-between-two-latitude-longitudes","status":"publish","type":"post","link":"https:\/\/blog.briang.org\/?p=1573","title":{"rendered":"Distance between two latitude\/longitudes"},"content":{"rendered":"<p>Usually, the <a href=\"https:\/\/www.movable-type.co.uk\/scripts\/gis-faq-5.1.html\">great circle distance<\/a> is used to find the distance between two points on the Earth&#8217;s surface. This method is only an approximation (with errors being less than 0.5% according to <a href=\"https:\/\/en.wikipedia.org\/wiki\/Great-circle_distance\">Wikipedia<\/a>) because the Earth is not a perfect sphere.<\/p>\n<p><a href=\"https:\/\/www.movable-type.co.uk\/scripts\/latlong-vincenty.html\">Vincenty solutions of geodesics on the ellipsoid<\/a> demonstrates superior approximations (errors less than 1mm), with sample code in Java and Javascript. Wikipedia also has an article on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Vincenty%27s_formulae\">Vincenty&#8217;s formulas<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usually, the great circle distance is used to find the distance between two points on the Earth&#8217;s surface. This method is only an approximation (with errors being less than 0.5% according to Wikipedia) because the Earth is not a perfect sphere. Vincenty solutions of geodesics on the ellipsoid demonstrates superior approximations (errors less than 1mm), [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[58,531,86,105,529,530,113,528],"class_list":["post-1573","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-briang","tag-great-circle","tag-java","tag-javascript","tag-latitude","tag-longitude","tag-maths","tag-navigation"],"_links":{"self":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1573"}],"version-history":[{"count":8,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1573\/revisions"}],"predecessor-version":[{"id":1582,"href":"https:\/\/blog.briang.org\/index.php?rest_route=\/wp\/v2\/posts\/1573\/revisions\/1582"}],"wp:attachment":[{"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.briang.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}