{"action":"created","issue":{"url":"https://api.github.com/repos/dvdoug/PHPCoord/issues/5","labels_url":"https://api.github.com/repos/dvdoug/PHPCoord/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/dvdoug/PHPCoord/issues/5/comments","events_url":"https://api.github.com/repos/dvdoug/PHPCoord/issues/5/events","html_url":"https://github.com/dvdoug/PHPCoord/issues/5","id":123058755,"number":5,"title":"Bug: Transformations give wrong longitudes when longitude is outside -90 to 90 degrees","user":{"login":"caffme","id":3276090,"avatar_url":"https://avatars.githubusercontent.com/u/3276090?v=3","gravatar_id":"","url":"https://api.github.com/users/caffme","html_url":"https://github.com/caffme","followers_url":"https://api.github.com/users/caffme/followers","following_url":"https://api.github.com/users/caffme/following{/other_user}","gists_url":"https://api.github.com/users/caffme/gists{/gist_id}","starred_url":"https://api.github.com/users/caffme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffme/subscriptions","organizations_url":"https://api.github.com/users/caffme/orgs","repos_url":"https://api.github.com/users/caffme/repos","events_url":"https://api.github.com/users/caffme/events{/privacy}","received_events_url":"https://api.github.com/users/caffme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-19T03:38:50Z","updated_at":"2015-12-21T11:56:06Z","closed_at":null,"body":"I have created failing tests for this in pull #4 I found the bug in a real transform but the test used transform parameters intended to make no change to the coordinates.\r\n\r\nSome sample longitudes input => output:\r\n```\r\n-180 => 0\r\n-100 => 80\r\n-90 => -90\r\n-80 => -80\r\n0 => 0\r\n80 => 80\r\n90 => 90\r\n100 => -80\r\n180 => -0\r\n```"},"comment":{"url":"https://api.github.com/repos/dvdoug/PHPCoord/issues/comments/166282314","html_url":"https://github.com/dvdoug/PHPCoord/issues/5#issuecomment-166282314","issue_url":"https://api.github.com/repos/dvdoug/PHPCoord/issues/5","id":166282314,"user":{"login":"caffme","id":3276090,"avatar_url":"https://avatars.githubusercontent.com/u/3276090?v=3","gravatar_id":"","url":"https://api.github.com/users/caffme","html_url":"https://github.com/caffme","followers_url":"https://api.github.com/users/caffme/followers","following_url":"https://api.github.com/users/caffme/following{/other_user}","gists_url":"https://api.github.com/users/caffme/gists{/gist_id}","starred_url":"https://api.github.com/users/caffme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caffme/subscriptions","organizations_url":"https://api.github.com/users/caffme/orgs","repos_url":"https://api.github.com/users/caffme/repos","events_url":"https://api.github.com/users/caffme/events{/privacy}","received_events_url":"https://api.github.com/users/caffme/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T11:56:06Z","updated_at":"2015-12-21T11:56:06Z","body":"Merry Christmas :)\r\n\r\nI'd have fixed it if it was straight forward."}}