{"action":"created","issue":{"url":"https://api.github.com/repos/Turfjs/turf-distance/issues/4","labels_url":"https://api.github.com/repos/Turfjs/turf-distance/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Turfjs/turf-distance/issues/4/comments","events_url":"https://api.github.com/repos/Turfjs/turf-distance/issues/4/events","html_url":"https://github.com/Turfjs/turf-distance/issues/4","id":52789536,"number":4,"title":"Wrong value for R?","user":{"login":"ThomasG77","id":642120,"avatar_url":"https://avatars.githubusercontent.com/u/642120?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasG77","html_url":"https://github.com/ThomasG77","followers_url":"https://api.github.com/users/ThomasG77/followers","following_url":"https://api.github.com/users/ThomasG77/following{/other_user}","gists_url":"https://api.github.com/users/ThomasG77/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasG77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasG77/subscriptions","organizations_url":"https://api.github.com/users/ThomasG77/orgs","repos_url":"https://api.github.com/users/ThomasG77/repos","events_url":"https://api.github.com/users/ThomasG77/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasG77/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-24T01:47:01Z","updated_at":"2015-06-10T15:01:39Z","closed_at":null,"body":"Using the OpenLayers 3 function and turf-distance for kilometers, I got a signifiant difference for R.\r\n\r\nIn the OpenLayers 3, R value is 6378137 (in meters). You can see [the reference](https://github.com/openlayers/ol3/blob/master/src/ol/proj/epsg3857projection.js#L45).\r\nTurf use 6373 for kilometers (I suppose the value comes from Wikipédia).\r\n\r\nFollowing [this discussion](https://groups.google.com/forum/#!topic/google-maps-api/mw8kYD0Zga4), OpenLayers 3 value seems to be more \"common\". An opinion?"},"comment":{"url":"https://api.github.com/repos/Turfjs/turf-distance/issues/comments/110786639","html_url":"https://github.com/Turfjs/turf-distance/issues/4#issuecomment-110786639","issue_url":"https://api.github.com/repos/Turfjs/turf-distance/issues/4","id":110786639,"user":{"login":"morganherlocker","id":814300,"avatar_url":"https://avatars.githubusercontent.com/u/814300?v=3","gravatar_id":"","url":"https://api.github.com/users/morganherlocker","html_url":"https://github.com/morganherlocker","followers_url":"https://api.github.com/users/morganherlocker/followers","following_url":"https://api.github.com/users/morganherlocker/following{/other_user}","gists_url":"https://api.github.com/users/morganherlocker/gists{/gist_id}","starred_url":"https://api.github.com/users/morganherlocker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganherlocker/subscriptions","organizations_url":"https://api.github.com/users/morganherlocker/orgs","repos_url":"https://api.github.com/users/morganherlocker/repos","events_url":"https://api.github.com/users/morganherlocker/events{/privacy}","received_events_url":"https://api.github.com/users/morganherlocker/received_events","type":"User","site_admin":false},"created_at":"2015-06-10T15:01:39Z","updated_at":"2015-06-10T15:01:39Z","body":"Ok, I'm :+1: on the higher precision R. I'll wait and see where this [PR](https://github.com/Turfjs/turf-distance/pull/11) goes, and possibly roll it in."}}