{"action":"created","issue":{"url":"https://api.github.com/repos/ioam/geoviews/issues/38","repository_url":"https://api.github.com/repos/ioam/geoviews","labels_url":"https://api.github.com/repos/ioam/geoviews/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ioam/geoviews/issues/38/comments","events_url":"https://api.github.com/repos/ioam/geoviews/issues/38/events","html_url":"https://github.com/ioam/geoviews/issues/38","id":178672965,"number":38,"title":"Great-circle paths","user":{"login":"jbednar","id":1695496,"avatar_url":"https://avatars3.githubusercontent.com/u/1695496?v=3","gravatar_id":"","url":"https://api.github.com/users/jbednar","html_url":"https://github.com/jbednar","followers_url":"https://api.github.com/users/jbednar/followers","following_url":"https://api.github.com/users/jbednar/following{/other_user}","gists_url":"https://api.github.com/users/jbednar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbednar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbednar/subscriptions","organizations_url":"https://api.github.com/users/jbednar/orgs","repos_url":"https://api.github.com/users/jbednar/repos","events_url":"https://api.github.com/users/jbednar/events{/privacy}","received_events_url":"https://api.github.com/users/jbednar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars1.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false},"assignees":[{"login":"philippjfr","id":1550771,"avatar_url":"https://avatars1.githubusercontent.com/u/1550771?v=3","gravatar_id":"","url":"https://api.github.com/users/philippjfr","html_url":"https://github.com/philippjfr","followers_url":"https://api.github.com/users/philippjfr/followers","following_url":"https://api.github.com/users/philippjfr/following{/other_user}","gists_url":"https://api.github.com/users/philippjfr/gists{/gist_id}","starred_url":"https://api.github.com/users/philippjfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippjfr/subscriptions","organizations_url":"https://api.github.com/users/philippjfr/orgs","repos_url":"https://api.github.com/users/philippjfr/repos","events_url":"https://api.github.com/users/philippjfr/events{/privacy}","received_events_url":"https://api.github.com/users/philippjfr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-09-22T17:34:24Z","updated_at":"2017-05-13T17:15:40Z","closed_at":null,"body":"HLine and VLine will always be straight in screen coordinates, but it's important to be able to draw paths between two points that follow the great-circle path that one would need to travel in the real world.  Such paths can already be plotted using the latest geoviews master (thanks @philippjfr!):\n\n![image](https://cloud.githubusercontent.com/assets/1695496/18759031/3b64bd1a-80c0-11e6-9c66-48f387e440c7.png)\n\nthough it would be nice to increase the number of points to make smoother curves.  Philipp also had a suggestion for exposing the coordinate transformations for when you want to work with them explicitly:\n\n``` python\n\npath = gv.Path([[(132, -0.08), (43.17, 51.53)]], crs=crs.Geodetic())\nmercator_path = GeoConversion(path, crs=crs.GOOGLE_MERCATOR)\n```\n\nThis all sounds good, but there are some other things that would help when working with great-circle paths.  First, if there is a function in cartopy or proj4 for computing a great-circle distance between two points, it would be great to show that in an example in a GeoViews tutorial, along with the above example of plotting paths.  Second, if there is not currently such a function, Philipp has some code of his own for computing it, and it would be good to add that to GeoViews so that people can work naturally with great-circle paths.\n"},"comment":{"url":"https://api.github.com/repos/ioam/geoviews/issues/comments/301261602","html_url":"https://github.com/ioam/geoviews/issues/38#issuecomment-301261602","issue_url":"https://api.github.com/repos/ioam/geoviews/issues/38","id":301261602,"user":{"login":"ea42gh","id":13033479,"avatar_url":"https://avatars1.githubusercontent.com/u/13033479?v=3","gravatar_id":"","url":"https://api.github.com/users/ea42gh","html_url":"https://github.com/ea42gh","followers_url":"https://api.github.com/users/ea42gh/followers","following_url":"https://api.github.com/users/ea42gh/following{/other_user}","gists_url":"https://api.github.com/users/ea42gh/gists{/gist_id}","starred_url":"https://api.github.com/users/ea42gh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ea42gh/subscriptions","organizations_url":"https://api.github.com/users/ea42gh/orgs","repos_url":"https://api.github.com/users/ea42gh/repos","events_url":"https://api.github.com/users/ea42gh/events{/privacy}","received_events_url":"https://api.github.com/users/ea42gh/received_events","type":"User","site_admin":false},"created_at":"2017-05-13T17:15:40Z","updated_at":"2017-05-13T17:15:40Z","body":"get_circle_path should add start and end to lonlats"}}
{"actor":{"display_login":"ea42gh"}}