Configuration of Implementation Model#137
Configuration of Implementation Model#137Samweli merged 52 commits intoConservationInternational:mainfrom
Conversation
|
Plugin zip package for the changes in this PR has been successfully built!. Download the plugin zip file here https://github.com/kartoza/cplus-plugin/suites/14234184721/artifacts/799192264 |
|
@Samweli please see the near-final changes to step two, only thing remaining is defining the file names for the NCS pathway files here, could not update as am unable to download the ZIP files, will follow-up separately. Also, this will also be dependent on the settings work, specifically on the base data directory so that we can use this to build the absolute path for the NCS pathway layers using this snippet. |
|
@Samweli see the updated PR which resolves the comments that you raised. On the use of sqlite, I debated on this as well. On one hand, its use is definitely relevant if we are storing multiple scenarios with each scenario being linked to the respective implementation models, which are then subsequently linked to the respective NCS pathways. However, since we, at least for the current implementation, are only dealing with one scenario at any one time then the level of effort vs. the comparative advantage would be a bit skewed. I also considered JSON as another data source/store and maybe we might need to implement some aspects of it in the next epic. Other considerations included:
That said, the implementation is flexible and can always revert to the original idea of adopting sqlite as the requirements evolve. |
| self._update_controls() | ||
| self._edit_mode = True | ||
|
|
||
| help_icon = QgsApplication.instance().getThemeIcon("mActionHelpContents.svg") |
There was a problem hiding this comment.
@gkahiu thanks, the line above should now change to fetch the icon from the plugin icon directory right?
|
Hi @Samweli, thanks. The icon source is now fixed. |
Fixes #76
Mapping of NCS pathways to implementation models in step two of setting up a scenario.