{"action":"created","issue":{"url":"https://api.github.com/repos/sentinelsat/sentinelsat/issues/232","repository_url":"https://api.github.com/repos/sentinelsat/sentinelsat","labels_url":"https://api.github.com/repos/sentinelsat/sentinelsat/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/sentinelsat/sentinelsat/issues/232/comments","events_url":"https://api.github.com/repos/sentinelsat/sentinelsat/issues/232/events","html_url":"https://github.com/sentinelsat/sentinelsat/issues/232","id":358544849,"node_id":"MDU6SXNzdWUzNTg1NDQ4NDk=","number":232,"title":"error message when using geojson file ","user":{"login":"anngitta","id":7138685,"node_id":"MDQ6VXNlcjcxMzg2ODU=","avatar_url":"https://avatars1.githubusercontent.com/u/7138685?v=4","gravatar_id":"","url":"https://api.github.com/users/anngitta","html_url":"https://github.com/anngitta","followers_url":"https://api.github.com/users/anngitta/followers","following_url":"https://api.github.com/users/anngitta/following{/other_user}","gists_url":"https://api.github.com/users/anngitta/gists{/gist_id}","starred_url":"https://api.github.com/users/anngitta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anngitta/subscriptions","organizations_url":"https://api.github.com/users/anngitta/orgs","repos_url":"https://api.github.com/users/anngitta/repos","events_url":"https://api.github.com/users/anngitta/events{/privacy}","received_events_url":"https://api.github.com/users/anngitta/received_events","type":"User","site_admin":false},"labels":[{"id":214922605,"node_id":"MDU6TGFiZWwyMTQ5MjI2MDU=","url":"https://api.github.com/repos/sentinelsat/sentinelsat/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-09-10T09:41:20Z","updated_at":"2018-09-13T08:58:02Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI made polygon using the site recommed in Sentinelsat Documentation (http://geojson.io/#map=4/60.63/370.28), but I got an error message when using the saved file with sentinelsat, see below.\r\n\r\n`sentinelsat.sentinel.SentinelAPIError: HTTP status 200 OK: Invalid query string. Check the parameters and format`\r\n\r\nI'm using:\r\n`sentinelsat -u myusername -p mypassword -g mypath\\map.geojson --sentinel 2 -d`\r\n\r\nI manage to download Sentinel-2 files when excluding the geojson file. Is there something wrong with how the file is written? \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sentinelsat/sentinelsat/issues/comments/420934957","html_url":"https://github.com/sentinelsat/sentinelsat/issues/232#issuecomment-420934957","issue_url":"https://api.github.com/repos/sentinelsat/sentinelsat/issues/232","id":420934957,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDkzNDk1Nw==","user":{"login":"valgur","id":1778160,"node_id":"MDQ6VXNlcjE3NzgxNjA=","avatar_url":"https://avatars3.githubusercontent.com/u/1778160?v=4","gravatar_id":"","url":"https://api.github.com/users/valgur","html_url":"https://github.com/valgur","followers_url":"https://api.github.com/users/valgur/followers","following_url":"https://api.github.com/users/valgur/following{/other_user}","gists_url":"https://api.github.com/users/valgur/gists{/gist_id}","starred_url":"https://api.github.com/users/valgur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valgur/subscriptions","organizations_url":"https://api.github.com/users/valgur/orgs","repos_url":"https://api.github.com/users/valgur/repos","events_url":"https://api.github.com/users/valgur/events{/privacy}","received_events_url":"https://api.github.com/users/valgur/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T08:58:02Z","updated_at":"2018-09-13T08:58:02Z","author_association":"MEMBER","body":"Actually, it should work with a single file right now, if you use a MultiPolygon instead of two Polygons, I think.\r\n\r\nAnyway, I suggest we add a check in `geojson_to_wkt()` for coordinates outside the -180...180 range and throw an exception. This would be quite helpful since the response from server is totally useless in this case."}}
{"actor":{"display_login":"valgur"}}