{"action":"created","issue":{"url":"https://api.github.com/repos/python-visualization/folium/issues/34","labels_url":"https://api.github.com/repos/python-visualization/folium/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/python-visualization/folium/issues/34/comments","events_url":"https://api.github.com/repos/python-visualization/folium/issues/34/events","html_url":"https://github.com/python-visualization/folium/issues/34","id":34879805,"number":34,"title":"Support GeoPandas","user":{"login":"barryrowlingson","id":888980,"avatar_url":"https://avatars.githubusercontent.com/u/888980?v=3","gravatar_id":"","url":"https://api.github.com/users/barryrowlingson","html_url":"https://github.com/barryrowlingson","followers_url":"https://api.github.com/users/barryrowlingson/followers","following_url":"https://api.github.com/users/barryrowlingson/following{/other_user}","gists_url":"https://api.github.com/users/barryrowlingson/gists{/gist_id}","starred_url":"https://api.github.com/users/barryrowlingson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryrowlingson/subscriptions","organizations_url":"https://api.github.com/users/barryrowlingson/orgs","repos_url":"https://api.github.com/users/barryrowlingson/repos","events_url":"https://api.github.com/users/barryrowlingson/events{/privacy}","received_events_url":"https://api.github.com/users/barryrowlingson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/python-visualization/folium/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/python-visualization/folium/labels/PullRequested","name":"PullRequested","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/python-visualization/folium/milestones/3","html_url":"https://github.com/python-visualization/folium/milestones/v0.2.0","labels_url":"https://api.github.com/repos/python-visualization/folium/milestones/3/labels","id":1264632,"number":3,"title":"v0.2.0","description":null,"creator":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":26,"state":"open","created_at":"2015-08-20T14:00:03Z","updated_at":"2015-12-14T18:42:46Z","due_on":null,"closed_at":null},"comments":13,"created_at":"2014-06-03T16:23:18Z","updated_at":"2015-12-16T08:11:20Z","closed_at":null,"body":"Its possible to use Folium to map using data and geometry from a GeoPandas object, but it requires writing the GeoPanda geometry to geojson (using the .to_json method);\r\n\r\nsomething like, for gp being a geopandas obejct:\r\n\r\n```\r\nopen(\"geom.json\",\"w\").write(gp.to_json())\r\n```\r\nand then you can map a column 'q' in the GeoPandas object:\r\n\r\n```\r\nmap.geo_json(\"geom.json\", data=gp, columns=[\"name\", \"q\"], key_on='feature.properties.name', ...etc)\r\n```\r\n\r\nIt should be possible to remove the steps of writing the json and the keying for a GeoPandas frame. Something like:\r\n\r\n```\r\nmap_osm.geo_json(gp, column=\"q\",....etc...)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/python-visualization/folium/issues/comments/165028008","html_url":"https://github.com/python-visualization/folium/issues/34#issuecomment-165028008","issue_url":"https://api.github.com/repos/python-visualization/folium/issues/34","id":165028008,"user":{"login":"BibMartin","id":4586863,"avatar_url":"https://avatars.githubusercontent.com/u/4586863?v=3","gravatar_id":"","url":"https://api.github.com/users/BibMartin","html_url":"https://github.com/BibMartin","followers_url":"https://api.github.com/users/BibMartin/followers","following_url":"https://api.github.com/users/BibMartin/following{/other_user}","gists_url":"https://api.github.com/users/BibMartin/gists{/gist_id}","starred_url":"https://api.github.com/users/BibMartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BibMartin/subscriptions","organizations_url":"https://api.github.com/users/BibMartin/orgs","repos_url":"https://api.github.com/users/BibMartin/repos","events_url":"https://api.github.com/users/BibMartin/events{/privacy}","received_events_url":"https://api.github.com/users/BibMartin/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T08:11:20Z","updated_at":"2015-12-16T08:11:20Z","body":"Can we close this one ?"}}