feat: new worldpop global2 layer sources [DHIS2-20774]#3608
Open
BRaimbault wants to merge 21 commits intomasterfrom
Open
feat: new worldpop global2 layer sources [DHIS2-20774]#3608BRaimbault wants to merge 21 commits intomasterfrom
BRaimbault wants to merge 21 commits intomasterfrom
Conversation
Contributor
|
🚀 Deployed on https://pr-3608.maps.netlify.dhis2.org |
BRaimbault
commented
Feb 6, 2026
Collaborator
Author
BRaimbault
left a comment
There was a problem hiding this comment.
Ready for review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements DHIS2-20774
Description
References: https://github.com/wpgp/g2onGEE and https://docs.google.com/document/d/1vX0Pf6OnLwu9cD51lNUIo7If-A0daRwmRKC2lGMDcX4/edit?usp=sharing.
Update list of available layers:
src/constants/earthEngineLayers/index.jsUpdate population layer sources:
src/constants/earthEngineLayers/legacy/population_age_sex_Worldpop.jssrc/constants/earthEngineLayers/legacy/population_total_Worldpop.jssrc/constants/earthEngineLayers/population_age_sex_Worldpop-Global2.jssrc/constants/earthEngineLayers/population_total_Worldpop-Global2.jsUpdate
layerSourcesVisibilitylist in datastore if it contains population datasets:src/components/app/useLoadDataStore.jsSelect current year (if available) by default instead of most recent:
src/components/edit/earthEngine/PeriodSelect.jsxNote: The two new layers have years stored as String in one Number in the other, which caused problems with switching and carrying the year over to the new config.
Update tests to use new WorldPop dataset:
src/util/__tests__/layerSources.spec.jsMinor unrelated fixes:
src/components/map/MapApi.jssrc/util/earthEngine.jsmaps-glversion.Screenshots
Data tab below ↓

Period tab below ↓

Quality checklist
Add N/A to items that are not applicable.
Testing