{"action":"created","issue":{"url":"https://api.github.com/repos/php-geospatial/geospatial/issues/15","labels_url":"https://api.github.com/repos/php-geospatial/geospatial/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/php-geospatial/geospatial/issues/15/comments","events_url":"https://api.github.com/repos/php-geospatial/geospatial/issues/15/events","html_url":"https://github.com/php-geospatial/geospatial/issues/15","id":123023566,"number":15,"title":"Add Spherical Law Of Cosines method","user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T20:47:56Z","updated_at":"2016-01-28T08:35:14Z","closed_at":null,"body":"Spherical Law Of Cosines is commonly used instead of Haversine due to better performance and very close results. Generally, if you need higher accuracy than SLOC, Haversine is probably too inaccurate as well.\r\n\r\nSee here for an explaination of the quality aspect:\r\nhttp://gis.stackexchange.com/questions/4906/why-is-law-of-cosines-more-preferable-than-haversine-when-calculating-distance-b\r\n\r\nSee here for documentation:\r\nhttps://en.wikipedia.org/wiki/Spherical_law_of_cosines\r\n\r\nIf you want, I have PHP code for it, but it's pretty trivial to implement yourself."},"comment":{"url":"https://api.github.com/repos/php-geospatial/geospatial/issues/comments/176053973","html_url":"https://github.com/php-geospatial/geospatial/issues/15#issuecomment-176053973","issue_url":"https://api.github.com/repos/php-geospatial/geospatial/issues/15","id":176053973,"user":{"login":"vanderlee","id":649240,"avatar_url":"https://avatars.githubusercontent.com/u/649240?v=3","gravatar_id":"","url":"https://api.github.com/users/vanderlee","html_url":"https://github.com/vanderlee","followers_url":"https://api.github.com/users/vanderlee/followers","following_url":"https://api.github.com/users/vanderlee/following{/other_user}","gists_url":"https://api.github.com/users/vanderlee/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderlee/subscriptions","organizations_url":"https://api.github.com/users/vanderlee/orgs","repos_url":"https://api.github.com/users/vanderlee/repos","events_url":"https://api.github.com/users/vanderlee/events{/privacy}","received_events_url":"https://api.github.com/users/vanderlee/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T08:35:14Z","updated_at":"2016-01-28T08:35:14Z","body":"Is this project still active?\r\nIf you need, I can provide some code for SLOC myself as I already have working PHP code, but compiling is a bit problematic."}}