-
Notifications
You must be signed in to change notification settings - Fork 1
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
RFC: DaLA Configuration #2
Comments
@mf4dl1, I have partially completed Path tab as follow. It has too many fields to fill and hardly fits in one screen. Few questions:
What do you think? |
@timlinux, I have Qt .ui file for DaLA Configuration window. Can I put it under /safe/gui/ui directory? Also, what is the preferable file name for this? Thanks. |
Yes in the ui dir. Please note that we dynamically compile ui files (instead of using py4uic) so please look at other dialog implementations for an example. Referring to your dialog above:
|
Hi @ekaakurniawan ,
For Building Exposure and Road Exposure can be set as an Exposure using Keyword Creation Wizad or InaSAFE keyword editor in InaSAFE menu. For Boundary, we can set as an aggregation layer also using Keyword Creation Wizad or InaSAFE keyword editor in InaSAFE menu. We also can move Classification Impact to Hazard Classification Tab.
|
Hi @timlinux, I have just pushed DaLA Configuration Dialog on this CL 3330c09. Please help to check. I managed to install InaSAFE-dev. Now, I am trying to run the dialog on QGIS but don't know how (I did it during the Hackathon but I cannot recall). Do you have the step-by-step? Thanks. Hi @mf4dl1, Following are the UIs please help to check. I combine Path and URL together. |
Hi @mf4dl1, Please find the new update on this CL 1da8041. Following is the screen shoot. Hi @ismailsunni, Could you help to advise on how to load this new DaLA Configuration dialog on InaSAFE-dev plugin? Please also help on determining the icon to use for the dialog. Thanks |
@ekaakurniawan wrote:
Could you as @ismailsunni or @lucernae to help you on hipchat - I am going to be tied up over the next week so they will be able to more help. For an icon, we could ask @MariaSolovyeva to help. For getting your dialog to work, I suggest to take a peek at another dialog for now and copy the implementation pattern we used e.g. https://github.com/AIFDR/inasafe/blob/develop/safe/gui/tools/extent_selector_dialog.py Pay particular attention to the fact that we dont pre-compile uic files - see e.g.
Regards Tim |
@timlinux, I have implemented non pre-compiled uic files (3330c09#diff-6152571d5870b3175ae09a5f7ccd6c0eR22). Just not sure if it works. I will check with @ismailsunni or @lucernae to run the dialog. Thanks. |
Hi As someone who loves minimalism, its nice to see the dialog reduced in complexity. A couple more suggestions:
In your case I would get rid of both the group box and the tab as they both seem superfluous. Regards Tim |
Hi @ekaakurniawan Just ping me in hipchat, if you need help. |
Thanks @ismailsunni. It works (c9f10f3). I will start looking at InaSAFE keywords creation wizard and try to better integrate this. |
Status
This RFC is in draft
Problem
Lot of configuration need to be setup before doing DaLA. In fact, the core estimation is based on some of these configuration files including hazard, exposure and assumptions setup.
User Interface
This interface will be put under the QGIS Menu > Plugin > InaSAFE. It shall be put after "InaSAFE Keyword Editor" with the label "DaLA Configuration":
Path
Path tab, store set of information related to path, folder location and several input file.
Table
Tables tab stores information related to tables that used by DaLA.
URL
URL tab stores information of URL from flood reporting system (for Jakarta using DIMS) which return JSON services.
Subsector
Subsector tab consist of Subsector list that used for DaLA.
Hazard Classification
Hazard Classification tab enables user to configure classification of Flood level that used for DaLA. In this case will be using flood depth and duration.
Damage
This tab enables user to define the assumptions of Damage valuation for each Hazard Classification.
Loss
This tab enables user to define the assumptions of Loss valuation for each Hazard Classification.
Aggregate
This tab enables user to define the assumptions of Damage and Loss valuation for each Hazard Classification in the form of Boundary Aggregate number.
Insurance
This tab enables user to configure Insurance DaLA related information.
The text was updated successfully, but these errors were encountered: