-
Notifications
You must be signed in to change notification settings - Fork 207
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
Introducing an option for the user to decide on simplifying GADM shapes #1138
Introducing an option for the user to decide on simplifying GADM shapes #1138
Conversation
|
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.
Great contribution :D added a comment, please also add a release note.
We are very close I believe :D
… into simplify_gadm
…th into simplify_gadm
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.
Hello @SermishaNarayana :)
Thank for the contribution and the PR is ready to merge.
Unfortunately git history is not the best; for future PRs, it is a great idea if you update your main and clean it.
Moreover, please fix merge conflicts into the README; I see the documenter is leading to some weird effects to be fixed in the future.
config.default.yaml
Outdated
@@ -106,6 +106,7 @@ cluster_options: | |||
|
|||
build_shape_options: | |||
gadm_layer_id: 1 # GADM level area used for the gadm_shapes. Codes are country-dependent but roughly: 0: country, 1: region/county-like, 2: municipality-like | |||
simplify_gadm: false # When true, shape polygons are simplified else no |
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.
By default, let's enable the simplification. This on average speeds up computation and is desirable
Hello @SermishaNarayana :D |
Hi @davide-f ! Apologies, I somehow missed the comment on the merge conflicts with READme earlier. I have resolved it now. |
Thanks! @SermishaNarayana :D merging |
Closes # (if applicable).
Changes proposed in this Pull Request
Checklist
envs/environment.yaml
anddoc/requirements.txt
.config.default.yaml
andconfig.tutorial.yaml
.test/
(note tests are changing the config.tutorial.yaml)doc/configtables/*.csv
and line references are adjusted indoc/configuration.rst
anddoc/tutorial.rst
.doc/release_notes.rst
is amended in the format of previous release notes, including reference to the requested PR.