{"action":"created","issue":{"url":"https://api.github.com/repos/pyviz/EarthSim/issues/225","repository_url":"https://api.github.com/repos/pyviz/EarthSim","labels_url":"https://api.github.com/repos/pyviz/EarthSim/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/pyviz/EarthSim/issues/225/comments","events_url":"https://api.github.com/repos/pyviz/EarthSim/issues/225/events","html_url":"https://github.com/pyviz/EarthSim/issues/225","id":360999136,"node_id":"MDU6SXNzdWUzNjA5OTkxMzY=","number":225,"title":"PolyAndPointAnnotator not populating point_table correctly","user":{"login":"kcpevey","id":15659110,"node_id":"MDQ6VXNlcjE1NjU5MTEw","avatar_url":"https://avatars3.githubusercontent.com/u/15659110?v=4","gravatar_id":"","url":"https://api.github.com/users/kcpevey","html_url":"https://github.com/kcpevey","followers_url":"https://api.github.com/users/kcpevey/followers","following_url":"https://api.github.com/users/kcpevey/following{/other_user}","gists_url":"https://api.github.com/users/kcpevey/gists{/gist_id}","starred_url":"https://api.github.com/users/kcpevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcpevey/subscriptions","organizations_url":"https://api.github.com/users/kcpevey/orgs","repos_url":"https://api.github.com/users/kcpevey/repos","events_url":"https://api.github.com/users/kcpevey/events{/privacy}","received_events_url":"https://api.github.com/users/kcpevey/received_events","type":"User","site_admin":false},"labels":[{"id":1055685036,"node_id":"MDU6TGFiZWwxMDU1Njg1MDM2","url":"https://api.github.com/repos/pyviz/EarthSim/labels/high%20priority","name":"high priority","color":"d15010","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-17T18:57:53Z","updated_at":"2018-09-19T18:55:27Z","closed_at":null,"author_association":"COLLABORATOR","body":"Given this:  \r\n\r\n```\r\ncoord_system = ccrs.UTM(17)\r\ndisplay_extent = (-95, 25, -55, 50)\r\nannot = PolyAndPointAnnotator(polys=[], path_type=gv.Path, crs=coord_system, extent=display_extent)\r\n(annot.tiles * annot.polys * annot.points + annot.point_table + annot.vertex_table).cols(1)\r\n```\r\n  \r\nWhen I draw paths, they don't appear in the `point_table`.   \r\n  \r\nThe same thing happens with  \r\n\r\n```\r\nannot = PolyAndPointAnnotator(\r\n    path_type=gv.Path, polys=[])\r\n(annot.tiles * annot.polys * annot.points + annot.point_table + annot.vertex_table).cols(1)\r\n```\r\n\r\nbut using `annot.view()` works correctly.  \r\n"},"comment":{"url":"https://api.github.com/repos/pyviz/EarthSim/issues/comments/422919079","html_url":"https://github.com/pyviz/EarthSim/issues/225#issuecomment-422919079","issue_url":"https://api.github.com/repos/pyviz/EarthSim/issues/225","id":422919079,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjkxOTA3OQ==","user":{"login":"kcpevey","id":15659110,"node_id":"MDQ6VXNlcjE1NjU5MTEw","avatar_url":"https://avatars3.githubusercontent.com/u/15659110?v=4","gravatar_id":"","url":"https://api.github.com/users/kcpevey","html_url":"https://github.com/kcpevey","followers_url":"https://api.github.com/users/kcpevey/followers","following_url":"https://api.github.com/users/kcpevey/following{/other_user}","gists_url":"https://api.github.com/users/kcpevey/gists{/gist_id}","starred_url":"https://api.github.com/users/kcpevey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kcpevey/subscriptions","organizations_url":"https://api.github.com/users/kcpevey/orgs","repos_url":"https://api.github.com/users/kcpevey/repos","events_url":"https://api.github.com/users/kcpevey/events{/privacy}","received_events_url":"https://api.github.com/users/kcpevey/received_events","type":"User","site_admin":false},"created_at":"2018-09-19T18:55:27Z","updated_at":"2018-09-19T18:55:27Z","author_association":"COLLABORATOR","body":"> When I draw paths, they don't appear in the point_table.   \r\n  \r\nNot entirely sure where my head was at when I wrote that. There doesn't appear to be an issue when I use `annot.poly_table` to visualize the *polys* table.   \r\n  \r\nAt any rate, I still have an issue. Which is to say that if I draw a `path` on this drawing: \r\n\r\n```\r\ncoord_system = ccrs.UTM(17)\r\ndisplay_extent = (-95, 25, -55, 50)\r\nannot = PolyAndPointAnnotator(polys=[], path_type=gv.Path, crs=coord_system, extent=display_extent)\r\n(annot.tiles * annot.polys * annot.points + annot.poly_table + annot.vertex_table).cols(1)\r\n```\r\n\r\nthe `annot.poly_stream` remains empty.   \r\n  \r\n```\r\nannot.poly_stream  \r\nPolyDraw(data={'Group': [], 'xs': [], 'ys': []})  \r\n```  \r\n\r\nHowever, the `annot.poly_stream` populates correctly with this:  \r\n```\r\nannot = PolyAndPointAnnotator(\r\n    path_type=gv.Path, polys=[])\r\n(annot.tiles * annot.polys * annot.points + annot.point_table + annot.vertex_table).cols(1)\r\n```\r\n"}}
{"actor":{"display_login":"kcpevey"}}