{"action":"created","issue":{"url":"https://api.github.com/repos/SciTools/cartopy/issues/568","labels_url":"https://api.github.com/repos/SciTools/cartopy/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/SciTools/cartopy/issues/568/comments","events_url":"https://api.github.com/repos/SciTools/cartopy/issues/568/events","html_url":"https://github.com/SciTools/cartopy/issues/568","id":58432098,"number":568,"title":"Azimuthal Equidistant incorrect for non-polar and global extent","user":{"login":"QuLogic","id":302469,"avatar_url":"https://avatars.githubusercontent.com/u/302469?v=3","gravatar_id":"","url":"https://api.github.com/users/QuLogic","html_url":"https://github.com/QuLogic","followers_url":"https://api.github.com/users/QuLogic/followers","following_url":"https://api.github.com/users/QuLogic/following{/other_user}","gists_url":"https://api.github.com/users/QuLogic/gists{/gist_id}","starred_url":"https://api.github.com/users/QuLogic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuLogic/subscriptions","organizations_url":"https://api.github.com/users/QuLogic/orgs","repos_url":"https://api.github.com/users/QuLogic/repos","events_url":"https://api.github.com/users/QuLogic/events{/privacy}","received_events_url":"https://api.github.com/users/QuLogic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SciTools/cartopy/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/SciTools/cartopy/labels/proj","name":"proj","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-21T01:09:32Z","updated_at":"2015-10-30T07:11:37Z","closed_at":null,"body":"If you use `AzimuthalEquidistant` with non-polar central latitudes (`central_latitude != +/- 90`) and _global_ extent, the projection does not project correctly.\r\n\r\nFor example, `central_latitude=40, central_longitude=-100` should be something like the following:\r\n![correct](http://www.globmaritime.com/images/stories/users/azimuthal_equidistant_map_of_the_world.gif)\r\n\r\nWhen attempted with Cartopy, the result is:\r\n![figure_1](https://cloud.githubusercontent.com/assets/302469/6312009/7c2b5074-b93a-11e4-9afc-86b39c38157a.png)\r\n\r\nI have marked 3 points at (100W, 40N) (correct - green), at (60W, 60S) (probably correct - blue), and at (60E, 60S) (not correct - red). I haven't had a chance to look too deeply, but is there some sort of optimization that prevents the paths from going the \"long way\" around? Maybe some constraint to [0, 2pi) or something?\r\n\r\n```\r\nimport matplotlib.pyplot as plt\r\nimport cartopy.crs as ccrs\r\n\r\nproj = ccrs.AzimuthalEquidistant(central_latitude=40, central_longitude=-100)\r\nax = plt.axes(projection=proj)\r\n\r\nax.coastlines()\r\nax.gridlines()\r\n\r\nax.plot(-100, 40, 'go', transform=ccrs.Geodetic())\r\nax.plot(60, -60, 'ro', transform=ccrs.Geodetic())\r\nax.plot(-60, -60, 'bo', transform=ccrs.Geodetic())\r\n\r\n# Global is as above\r\nax.set_global()\r\n# Local is mostly okay, but you get wrapped around stuff underneath\r\n#ax.set_extent([-140, -70, 10, 60])\r\n\r\nplt.show()\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/SciTools/cartopy/issues/comments/152446646","html_url":"https://github.com/SciTools/cartopy/issues/568#issuecomment-152446646","issue_url":"https://api.github.com/repos/SciTools/cartopy/issues/568","id":152446646,"user":{"login":"pelson","id":810663,"avatar_url":"https://avatars.githubusercontent.com/u/810663?v=3","gravatar_id":"","url":"https://api.github.com/users/pelson","html_url":"https://github.com/pelson","followers_url":"https://api.github.com/users/pelson/followers","following_url":"https://api.github.com/users/pelson/following{/other_user}","gists_url":"https://api.github.com/users/pelson/gists{/gist_id}","starred_url":"https://api.github.com/users/pelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelson/subscriptions","organizations_url":"https://api.github.com/users/pelson/orgs","repos_url":"https://api.github.com/users/pelson/repos","events_url":"https://api.github.com/users/pelson/events{/privacy}","received_events_url":"https://api.github.com/users/pelson/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T07:11:37Z","updated_at":"2015-10-30T07:11:37Z","body":"> because we're not sure if we want to bump the requirements just yet."}}