{"action":"created","issue":{"url":"https://api.github.com/repos/ChicagoCityscape/moatp/issues/17","repository_url":"https://api.github.com/repos/ChicagoCityscape/moatp","labels_url":"https://api.github.com/repos/ChicagoCityscape/moatp/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/ChicagoCityscape/moatp/issues/17/comments","events_url":"https://api.github.com/repos/ChicagoCityscape/moatp/issues/17/events","html_url":"https://github.com/ChicagoCityscape/moatp/issues/17","id":172010613,"number":17,"title":"Allow one-place-at-a-time creation","user":{"login":"stevevance","id":1330459,"avatar_url":"https://avatars.githubusercontent.com/u/1330459?v=3","gravatar_id":"","url":"https://api.github.com/users/stevevance","html_url":"https://github.com/stevevance","followers_url":"https://api.github.com/users/stevevance/followers","following_url":"https://api.github.com/users/stevevance/following{/other_user}","gists_url":"https://api.github.com/users/stevevance/gists{/gist_id}","starred_url":"https://api.github.com/users/stevevance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevevance/subscriptions","organizations_url":"https://api.github.com/users/stevevance/orgs","repos_url":"https://api.github.com/users/stevevance/repos","events_url":"https://api.github.com/users/stevevance/events{/privacy}","received_events_url":"https://api.github.com/users/stevevance/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ChicagoCityscape/moatp/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"fitnr","id":714125,"avatar_url":"https://avatars.githubusercontent.com/u/714125?v=3","gravatar_id":"","url":"https://api.github.com/users/fitnr","html_url":"https://github.com/fitnr","followers_url":"https://api.github.com/users/fitnr/followers","following_url":"https://api.github.com/users/fitnr/following{/other_user}","gists_url":"https://api.github.com/users/fitnr/gists{/gist_id}","starred_url":"https://api.github.com/users/fitnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitnr/subscriptions","organizations_url":"https://api.github.com/users/fitnr/orgs","repos_url":"https://api.github.com/users/fitnr/repos","events_url":"https://api.github.com/users/fitnr/events{/privacy}","received_events_url":"https://api.github.com/users/fitnr/received_events","type":"User","site_admin":false},"assignees":[{"login":"fitnr","id":714125,"avatar_url":"https://avatars.githubusercontent.com/u/714125?v=3","gravatar_id":"","url":"https://api.github.com/users/fitnr","html_url":"https://github.com/fitnr","followers_url":"https://api.github.com/users/fitnr/followers","following_url":"https://api.github.com/users/fitnr/following{/other_user}","gists_url":"https://api.github.com/users/fitnr/gists{/gist_id}","starred_url":"https://api.github.com/users/fitnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitnr/subscriptions","organizations_url":"https://api.github.com/users/fitnr/orgs","repos_url":"https://api.github.com/users/fitnr/repos","events_url":"https://api.github.com/users/fitnr/events{/privacy}","received_events_url":"https://api.github.com/users/fitnr/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-08-18T21:55:55Z","updated_at":"2016-09-23T17:22:58Z","closed_at":null,"body":"MOATP is designed to create maps for all of the Places of a single type in one go. Once those are created, though, it's impossible to create a single new Place of that type without deleting every supporting file for that Place type (like names, shapefile of every Place within that type). \r\n\r\nI'm thinking a solution is to trigger a reset before any individual Place's map is called to be made; the reset would delete the necessary files first. \r\n\r\nThis is the command that I can't do without deleting supporting files first:\r\n````\r\nmake png/b_business_organizations/businessorganization-north-river-commission.png\r\n````"},"comment":{"url":"https://api.github.com/repos/ChicagoCityscape/moatp/issues/comments/249252009","html_url":"https://github.com/ChicagoCityscape/moatp/issues/17#issuecomment-249252009","issue_url":"https://api.github.com/repos/ChicagoCityscape/moatp/issues/17","id":249252009,"user":{"login":"fitnr","id":714125,"avatar_url":"https://avatars.githubusercontent.com/u/714125?v=3","gravatar_id":"","url":"https://api.github.com/users/fitnr","html_url":"https://github.com/fitnr","followers_url":"https://api.github.com/users/fitnr/followers","following_url":"https://api.github.com/users/fitnr/following{/other_user}","gists_url":"https://api.github.com/users/fitnr/gists{/gist_id}","starred_url":"https://api.github.com/users/fitnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fitnr/subscriptions","organizations_url":"https://api.github.com/users/fitnr/orgs","repos_url":"https://api.github.com/users/fitnr/repos","events_url":"https://api.github.com/users/fitnr/events{/privacy}","received_events_url":"https://api.github.com/users/fitnr/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T17:22:58Z","updated_at":"2016-09-23T17:22:58Z","body":"The `horner-park-west` nbhd association isn't in the `shp/b_neighborhoodgroups.shp`, because the PG database was updated. So this command is generating an empty file:\r\n```\r\nogr2ogr shp/b_neighborhoodgroups/neighborhoodorganization-horner-park-west-neighborhood-association.shp shp/b_neighborhoodgroups.shp\r\n    -f 'ESRI Shapefile' -lco ENCODING=UTF-8 -overwrite -skipfailures -t_srs EPSG:3435\r\n    -where \"slug='neighborhoodorganization-horner-park-west-neighborhood-association'\"\r\n```\r\nIf you run`make --always-make png/b_neighborhoodgroups/neighborhoodorganization-horner-park-west-neighborhood-association.png` will create the PNG file. The `--always-make` will force all the files upstream from the PNG to be made.\r\n\r\nGoing forward, there are two ways to go about this. First, you keep careful track of what geographies have been added, and run the files with `--always-make`. The other is to set up a cron job that remakes everything regularly."}}
{"actor":{"display_login":"fitnr"}}