New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic Population Vector IF Improvements #2551
Conversation
@@ -772,18 +763,18 @@ | |||
'type': 'field', | |||
'description': tr('Attribute for the area name ') | |||
} | |||
area_type = { | |||
area_type_field = { | |||
'key': 'area_type_field', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe area_name_field
would make more sense here?
@Samweli thanks for this patch. I have some mostly minor comments in the PR review above. If we can address these we can merge! |
Thanks @timlinux, i will look into them :). |
I've tried in my PC, both of Win7 64bit and Ubuntu 14.04 64bit. @Samweli I've a question for the vector population keyword wizard, What is the meaning of "Attribute for the type of the area"? Is the geomerty type or population type or what? Thank you. |
Hi @samnawi, the type attribute stands for the area type(ward or district or sub-ward) and from the exposure data you have used, is the population values of type range? The IF expects integer type population values, this can be one of the reason it is raising an exception. |
Ouch, write long comment, and it's gone. Accidentally click back button.
|
Hi @ismailsunni - as requested more info on point 4 above. b) the results in the output layer are displayed by the attribute safe_ag which is coded to mean yes or no. I think the results would be more meaningful if the label was the number of people in the hazard zone. No might be 0 and yes should be greater than 0. c) The map title should also be "affected people" - with capitalisation as per standards. |
re PR #2600 & point 5 above - results still look dodgy to me. We now have negative unaffected people ?? The total numbers also look incorrect to me. The notes and assumptions also need to be updated to use the same standard wording and changes made by @timlinux - i'm pretty sure we removed the human fractions statement previously |
Hi @Charlotte-Morgan thanks for your comments, i'm looking at the problems you have highlighted. Will get back once i have fix them. |
hi @ismailsunni @Samweli - I see that some of the issues above are addressed but the results are still confusing for me. I do not understand what you are trying to present with the results. I'm assuming that you are reporting on affected people. The number of people affected in the no zone is still HUGE. Suggestion: Would it be possible to style the top of the report in a similar way to the flood vector on raster population and just show the number of people in the flood affected area (yes hazard zone) Another issue I just noticed: is this IF calculating the min needs for all affected people or only a certain percentage? ie in flood vector on raster population we use the 1% rule but we also state this in the impact report and notes. Sorry - I think this gives you more things to tweak, but its getting there and it runs, even on data with NULL values so you have made great progress. :) And this IF will be so useful next week when it floods in Jakarta. |
Generic Population Vector IF Improvements Merging this now, @timlinux will address the reporting things after merging...
This Pull Request addresses #2543
The following are the changes are made