{"action":"created","issue":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/2090","labels_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2090/labels{/name}","comments_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2090/comments","events_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2090/events","html_url":"https://github.com/AIFDR/inasafe/issues/2090","id":93427366,"number":2090,"title":"Volcano impact on buildings - report by type error","user":{"login":"Charlotte-Morgan","id":5743135,"avatar_url":"https://avatars.githubusercontent.com/u/5743135?v=3","gravatar_id":"","url":"https://api.github.com/users/Charlotte-Morgan","html_url":"https://github.com/Charlotte-Morgan","followers_url":"https://api.github.com/users/Charlotte-Morgan/followers","following_url":"https://api.github.com/users/Charlotte-Morgan/following{/other_user}","gists_url":"https://api.github.com/users/Charlotte-Morgan/gists{/gist_id}","starred_url":"https://api.github.com/users/Charlotte-Morgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Charlotte-Morgan/subscriptions","organizations_url":"https://api.github.com/users/Charlotte-Morgan/orgs","repos_url":"https://api.github.com/users/Charlotte-Morgan/repos","events_url":"https://api.github.com/users/Charlotte-Morgan/events{/privacy}","received_events_url":"https://api.github.com/users/Charlotte-Morgan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AIFDR/inasafe/labels/Bug","name":"Bug","color":"f7c6c7"},{"url":"https://api.github.com/repos/AIFDR/inasafe/labels/Release%20Blocker","name":"Release Blocker","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"cchristelis","id":2319504,"avatar_url":"https://avatars.githubusercontent.com/u/2319504?v=3","gravatar_id":"","url":"https://api.github.com/users/cchristelis","html_url":"https://github.com/cchristelis","followers_url":"https://api.github.com/users/cchristelis/followers","following_url":"https://api.github.com/users/cchristelis/following{/other_user}","gists_url":"https://api.github.com/users/cchristelis/gists{/gist_id}","starred_url":"https://api.github.com/users/cchristelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchristelis/subscriptions","organizations_url":"https://api.github.com/users/cchristelis/orgs","repos_url":"https://api.github.com/users/cchristelis/repos","events_url":"https://api.github.com/users/cchristelis/events{/privacy}","received_events_url":"https://api.github.com/users/cchristelis/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/AIFDR/inasafe/milestones/27","html_url":"https://github.com/AIFDR/inasafe/milestones/Version%203.2","labels_url":"https://api.github.com/repos/AIFDR/inasafe/milestones/27/labels","id":741634,"number":27,"title":"Version 3.2","description":"Freeze 15 May\r\nActual release day 1 June\r\n\r\n# Implementation\r\n\r\n- [ ] **high priority** - OOP  Impact Functions - second level inheritance - Rizky\r\n- [ ]   **High Priority** metadata as ISO 19115 XML - Marco\r\n- [ ] **Low priority** - Land cover impact function implementation (implemented as a generic IF) - Ismail\r\n- [ ] **High priority** - Soft coding attribute selection for exposure and hazard data (move to layer keywords) - @akbar / @ismailsunni\r\n  * by keywords e.g. user defines a keyword which indicates which column contains type - @ismailsunni\r\n- [ ] Prompt user to update keywords if no version: tag exists - @cchristelis\r\n- [ ] Improve analysis area selection - @ timlinux (#1811)\r\n- [ ] implement IF progress callbacks - @timlinux\r\n- [ ] **High Priority** - Initial InaWARE / PDC integration requirements specification - deferred from 3.1\r\n- [ ] Identify generic GIS functionality and port to QGIS - Martin\r\n- [ ] Improved raster resampling implementation  / tool - Martin\r\n- [X] Generic impact functions - Ismail\r\n- [ ] Network analysis on OSM roads - Etienne\r\n- [ ]  Support downloading political boundaries with OSM downloader - Etienne\r\n- [ ] Support downloading potential IDP camps with OSM downloader - Etienne\r\n- [ ] Support for user input to minimum needs (done), post processors & aggregation to use new style parameters - Jannes\r\n- [ ] Generic impact functions implemented as ContinuousRHContinuosRE IF, ContinuousRHClassifiedVE etc - finalise - Rizky\r\n- [ ] **Low priority** - People in buildings impact function based on PIB assignment tool from 3.1\r\n- [ ] **high priority** - Add population and roads reporting mixins to new IF's - Christian\r\n- [ ] Implementation of new A3 template (e.g. https://cloud.githubusercontent.com/assets/8871958/7410837/beea7806-ef5c-11e4-87cd-fd6014c16778.jpg)  -Borys\r\n\r\n\r\n\r\n# Web\r\n\r\n- [ ] Initial implementation of realtime Django APP (with pager style reporting) - Akbar / Rizky carried over from 3.1\r\n- [ ] Deployment of GeoNode instance for InaSAFE - Gavin\r\n- [ ] Theming of all InaSAFE web properties according to styles guidelines - Maria\r\n- [ ] InaSAFE Realtime (Rizky and Christian):\r\n    * docker container inasafe\r\n    * internal api for docker\r\n    * external api for docker\r\n        * cli\r\n        * python api\r\n    * django project\r\n    * adapter for django app to call and run InaSAFE jobs in docker using python api\r\n    * app for django app to display events in tabular and map form\r\n    * rest api for django app to fetch events programmatically\r\n    * adapter for django to go off and poll for updates from feeds\r\n    * rest API for feeds that push rather than need to be pulled\r\n    * wrapper for different supported feeds (we will need to implement on a case by case basis)\r\n\r\n![Realtime architecture](https://s3-eu-west-1.amazonaws.com/uploads-eu.hipchat.com/35909/249331/oTjZfsa9raWc4hY/RealtimeDjango%20-%20Data%20Model%20%281%29.png)\r\n\r\n- [ ] Extension to PDC / InAWARE support publishing reports to InAWARE (need to clarify if this is push from desktop or push from realtime) - Rizky\r\n","creator":{"login":"Charlotte-Morgan","id":5743135,"avatar_url":"https://avatars.githubusercontent.com/u/5743135?v=3","gravatar_id":"","url":"https://api.github.com/users/Charlotte-Morgan","html_url":"https://github.com/Charlotte-Morgan","followers_url":"https://api.github.com/users/Charlotte-Morgan/followers","following_url":"https://api.github.com/users/Charlotte-Morgan/following{/other_user}","gists_url":"https://api.github.com/users/Charlotte-Morgan/gists{/gist_id}","starred_url":"https://api.github.com/users/Charlotte-Morgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Charlotte-Morgan/subscriptions","organizations_url":"https://api.github.com/users/Charlotte-Morgan/orgs","repos_url":"https://api.github.com/users/Charlotte-Morgan/repos","events_url":"https://api.github.com/users/Charlotte-Morgan/events{/privacy}","received_events_url":"https://api.github.com/users/Charlotte-Morgan/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":17,"state":"open","created_at":"2014-08-04T05:56:54Z","updated_at":"2015-07-24T14:14:10Z","due_on":"2015-06-29T17:00:00Z","closed_at":null},"comments":8,"created_at":"2015-07-07T03:21:12Z","updated_at":"2015-07-24T14:14:10Z","closed_at":"2015-07-24T14:14:10Z","body":"# problem\r\nThe volcano point impact on buildings generates a report of affected buildings that also has some extra unrelated information.\r\nIt appears that during the impact analysis the attributes for the volcano buffer are joined to the building attribute table. The volcano data also has a type field and this is being propogated into the analysis results so that the buildings which were 'residential' in the OSM downloaded data are all \"stratovolcano\" in the building impact analysis results.\r\n![image](https://cloud.githubusercontent.com/assets/5743135/8538202/7365eec6-2493-11e5-91dd-f250d926d1f4.png)\r\n\r\n# proposed solution\r\nensure the original building type field is retained throughout the analysis and that this field is the one used to generate impact reports"},"comment":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/comments/124536764","html_url":"https://github.com/AIFDR/inasafe/issues/2090#issuecomment-124536764","issue_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2090","id":124536764,"user":{"login":"cchristelis","id":2319504,"avatar_url":"https://avatars.githubusercontent.com/u/2319504?v=3","gravatar_id":"","url":"https://api.github.com/users/cchristelis","html_url":"https://github.com/cchristelis","followers_url":"https://api.github.com/users/cchristelis/followers","following_url":"https://api.github.com/users/cchristelis/following{/other_user}","gists_url":"https://api.github.com/users/cchristelis/gists{/gist_id}","starred_url":"https://api.github.com/users/cchristelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cchristelis/subscriptions","organizations_url":"https://api.github.com/users/cchristelis/orgs","repos_url":"https://api.github.com/users/cchristelis/repos","events_url":"https://api.github.com/users/cchristelis/events{/privacy}","received_events_url":"https://api.github.com/users/cchristelis/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T14:14:10Z","updated_at":"2015-07-24T14:14:10Z","body":"yes we can!"}}