{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/412","labels_url":"https://api.github.com/repos/mapbox/rasterio/issues/412/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/rasterio/issues/412/comments","events_url":"https://api.github.com/repos/mapbox/rasterio/issues/412/events","html_url":"https://github.com/mapbox/rasterio/pull/412","id":94445073,"number":412,"title":"Add a --color option to rio-shapes","user":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/rasterio/labels/cli","name":"cli","color":"d4c5f9"},{"url":"https://api.github.com/repos/mapbox/rasterio/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/rasterio/milestones/34","html_url":"https://github.com/mapbox/rasterio/milestones/0.25","labels_url":"https://api.github.com/repos/mapbox/rasterio/milestones/34/labels","id":1186045,"number":34,"title":"0.25","description":null,"creator":{"login":"sgillies","id":33697,"avatar_url":"https://avatars.githubusercontent.com/u/33697?v=3","gravatar_id":"","url":"https://api.github.com/users/sgillies","html_url":"https://github.com/sgillies","followers_url":"https://api.github.com/users/sgillies/followers","following_url":"https://api.github.com/users/sgillies/following{/other_user}","gists_url":"https://api.github.com/users/sgillies/gists{/gist_id}","starred_url":"https://api.github.com/users/sgillies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgillies/subscriptions","organizations_url":"https://api.github.com/users/sgillies/orgs","repos_url":"https://api.github.com/users/sgillies/repos","events_url":"https://api.github.com/users/sgillies/events{/privacy}","received_events_url":"https://api.github.com/users/sgillies/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":13,"state":"open","created_at":"2015-06-29T20:52:04Z","updated_at":"2015-07-15T22:03:17Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-11T06:34:36Z","updated_at":"2015-07-16T00:11:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/rasterio/pulls/412","html_url":"https://github.com/mapbox/rasterio/pull/412","diff_url":"https://github.com/mapbox/rasterio/pull/412.diff","patch_url":"https://github.com/mapbox/rasterio/pull/412.patch"},"body":"This is turned into [simplestyle](https://github.com/mapbox/simplestyle-spec/tree/master/1.1.0) `fill` and `stroke` properties.\r\n\r\nNow the following \r\n\r\n```bash\r\nrio shapes tests/data/shade.tif --sampling 1 --color '#990000' > 1.geojson\r\nrio shapes tests/data/shade.tif --sampling 20 --color '#999999' > 20.geojson\r\nrio shapes tests/data/shade.tif --sampling 50 --color '#000099' > 50.geojson\r\nfio cat 1.geojson 20.geojson 50.geojson | fio collect | geojsonio\r\n```\r\n\r\nProduces\r\n\r\n![geojson io color](https://cloud.githubusercontent.com/assets/33697/8632703/240f9fe2-2764-11e5-8078-b83c3a091829.png)\r\n\r\nCloses #393."},"comment":{"url":"https://api.github.com/repos/mapbox/rasterio/issues/comments/121784187","html_url":"https://github.com/mapbox/rasterio/pull/412#issuecomment-121784187","issue_url":"https://api.github.com/repos/mapbox/rasterio/issues/412","id":121784187,"user":{"login":"geowurster","id":2676083,"avatar_url":"https://avatars.githubusercontent.com/u/2676083?v=3","gravatar_id":"","url":"https://api.github.com/users/geowurster","html_url":"https://github.com/geowurster","followers_url":"https://api.github.com/users/geowurster/followers","following_url":"https://api.github.com/users/geowurster/following{/other_user}","gists_url":"https://api.github.com/users/geowurster/gists{/gist_id}","starred_url":"https://api.github.com/users/geowurster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geowurster/subscriptions","organizations_url":"https://api.github.com/users/geowurster/orgs","repos_url":"https://api.github.com/users/geowurster/repos","events_url":"https://api.github.com/users/geowurster/events{/privacy}","received_events_url":"https://api.github.com/users/geowurster/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T00:11:10Z","updated_at":"2015-07-16T00:11:10Z","body":"@sgillies This looks good, although if the intention is to move the feature elsewhere, as mentioned in #393, I wonder if this flag shouldn't be issuing a warning in 0.25?  I guess we could just start issuing a warning once the feature is migrated since we don't know for sure that will happen before the next release."}}