{"action":"created","issue":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/1857","labels_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1857/labels{/name}","comments_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1857/comments","events_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1857/events","html_url":"https://github.com/AIFDR/inasafe/issues/1857","id":69888155,"number":1857,"title":"Flood vector building impact fails when using projected data","user":{"login":"timlinux","id":178003,"avatar_url":"https://avatars.githubusercontent.com/u/178003?v=3","gravatar_id":"","url":"https://api.github.com/users/timlinux","html_url":"https://github.com/timlinux","followers_url":"https://api.github.com/users/timlinux/followers","following_url":"https://api.github.com/users/timlinux/following{/other_user}","gists_url":"https://api.github.com/users/timlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/timlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlinux/subscriptions","organizations_url":"https://api.github.com/users/timlinux/orgs","repos_url":"https://api.github.com/users/timlinux/repos","events_url":"https://api.github.com/users/timlinux/events{/privacy}","received_events_url":"https://api.github.com/users/timlinux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AIFDR/inasafe/labels/Needs%20review","name":"Needs review","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"timlinux","id":178003,"avatar_url":"https://avatars.githubusercontent.com/u/178003?v=3","gravatar_id":"","url":"https://api.github.com/users/timlinux","html_url":"https://github.com/timlinux","followers_url":"https://api.github.com/users/timlinux/followers","following_url":"https://api.github.com/users/timlinux/following{/other_user}","gists_url":"https://api.github.com/users/timlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/timlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlinux/subscriptions","organizations_url":"https://api.github.com/users/timlinux/orgs","repos_url":"https://api.github.com/users/timlinux/repos","events_url":"https://api.github.com/users/timlinux/events{/privacy}","received_events_url":"https://api.github.com/users/timlinux/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-21T16:15:21Z","updated_at":"2015-04-21T21:57:38Z","closed_at":null,"body":"# Problem\r\n\r\nWhen using a projected layer, we get a failure saying that no features with the Inundated attribute fall within the extent. The underlying cause is the QgsRequest uses a Geo Rect for filtering features which does not intersect with any projected features in the hazard layer.\r\n\r\n# Proposed solution\r\n\r\nIn the new IF API, we have facility to set the CRS of the extent. For now we know that dock always passes a geo extent so lets hard code that in the IF base for now. In longer term, we can deal more dynamically with different CRS's."},"comment":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/comments/94955459","html_url":"https://github.com/AIFDR/inasafe/issues/1857#issuecomment-94955459","issue_url":"https://api.github.com/repos/AIFDR/inasafe/issues/1857","id":94955459,"user":{"login":"timlinux","id":178003,"avatar_url":"https://avatars.githubusercontent.com/u/178003?v=3","gravatar_id":"","url":"https://api.github.com/users/timlinux","html_url":"https://github.com/timlinux","followers_url":"https://api.github.com/users/timlinux/followers","following_url":"https://api.github.com/users/timlinux/following{/other_user}","gists_url":"https://api.github.com/users/timlinux/gists{/gist_id}","starred_url":"https://api.github.com/users/timlinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlinux/subscriptions","organizations_url":"https://api.github.com/users/timlinux/orgs","repos_url":"https://api.github.com/users/timlinux/repos","events_url":"https://api.github.com/users/timlinux/events{/privacy}","received_events_url":"https://api.github.com/users/timlinux/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T21:57:38Z","updated_at":"2015-04-21T21:57:38Z","body":"See also PR #1858 \r\n\r\nNote that this issue affects:\r\n\r\n* safe/impact_functions/inundation/flood_vector_building_impact/impact_function.py\r\n* safe/impact_functions/inundation/flood_polygon_roads/impact_function.py"}}