{"action":"created","issue":{"url":"https://api.github.com/repos/google/earthengine-api/issues/59","repository_url":"https://api.github.com/repos/google/earthengine-api","labels_url":"https://api.github.com/repos/google/earthengine-api/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/google/earthengine-api/issues/59/comments","events_url":"https://api.github.com/repos/google/earthengine-api/issues/59/events","html_url":"https://github.com/google/earthengine-api/issues/59","id":363500786,"node_id":"MDU6SXNzdWUzNjM1MDA3ODY=","number":59,"title":"cannot export table and image ","user":{"login":"gracie2017","id":34991614,"node_id":"MDQ6VXNlcjM0OTkxNjE0","avatar_url":"https://avatars2.githubusercontent.com/u/34991614?v=4","gravatar_id":"","url":"https://api.github.com/users/gracie2017","html_url":"https://github.com/gracie2017","followers_url":"https://api.github.com/users/gracie2017/followers","following_url":"https://api.github.com/users/gracie2017/following{/other_user}","gists_url":"https://api.github.com/users/gracie2017/gists{/gist_id}","starred_url":"https://api.github.com/users/gracie2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gracie2017/subscriptions","organizations_url":"https://api.github.com/users/gracie2017/orgs","repos_url":"https://api.github.com/users/gracie2017/repos","events_url":"https://api.github.com/users/gracie2017/events{/privacy}","received_events_url":"https://api.github.com/users/gracie2017/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2018-09-25T10:03:22Z","updated_at":"2018-09-27T07:09:07Z","closed_at":null,"author_association":"NONE","body":"Is there a way could export table and image easily? Thanks!\r\n\r\nTried multiple lines to try to export image and table,like below:\r\n\r\nee.batch.Export.table.toDrive({\r\n  collection: stats,\r\n  description:'vectorsToDriveExample',\r\n  fileFormat: 'KML'\r\n});\r\n\r\nee.batch.Export.map.toCloudStorage(\r\n  image= classifiedImage.clip(city),\r\n  description= 'mapToCloudExample',\r\n  bucket= 'gl1',\r\n  maxZoom= 4,\r\n  region= city2\r\n);\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/google/earthengine-api/issues/comments/424982431","html_url":"https://github.com/google/earthengine-api/issues/59#issuecomment-424982431","issue_url":"https://api.github.com/repos/google/earthengine-api/issues/59","id":424982431,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDk4MjQzMQ==","user":{"login":"gena","id":169821,"node_id":"MDQ6VXNlcjE2OTgyMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/169821?v=4","gravatar_id":"","url":"https://api.github.com/users/gena","html_url":"https://github.com/gena","followers_url":"https://api.github.com/users/gena/followers","following_url":"https://api.github.com/users/gena/following{/other_user}","gists_url":"https://api.github.com/users/gena/gists{/gist_id}","starred_url":"https://api.github.com/users/gena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gena/subscriptions","organizations_url":"https://api.github.com/users/gena/orgs","repos_url":"https://api.github.com/users/gena/repos","events_url":"https://api.github.com/users/gena/events{/privacy}","received_events_url":"https://api.github.com/users/gena/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T07:09:07Z","updated_at":"2018-09-27T07:09:07Z","author_association":"NONE","body":"Usually, adding ** before {} dictionary helps, this is a typical error when switching from JavaScript to Python EE API, not sure if EE can be a bit more aggressive checking these errors. Also, you need to wrap key names with quotes:\r\n\r\n```\r\ntask = ee.batch.Export.table.toDrive(**{\r\n  \"collection\": stats,\r\n  \"description\":'vectorsToDriveExample',\r\n  \"fileFormat\": 'KML'\r\n})\r\n\r\ntask.start()\r\n```\r\n\r\nOr use explicit argument names:\r\n\r\n```\r\ntask = ee.batch.Export.table.toDrive(\r\n  collection=stats,\r\n  description='vectorsToDriveExample',\r\n  fileFormat='KML'\r\n)\r\n\r\ntask.start()\r\n```\r\n\r\nI'm getting permission denied on the fusion table, so can't test if this works.\r\n"}}
{"actor":{"display_login":"gena"}}