Skip to content

feat: support fallback coordinates in event layers [DHIS2-8165]#3468

Draft
BRaimbault wants to merge 24 commits intomasterfrom
feat/DHIS2-8165
Draft

feat: support fallback coordinates in event layers [DHIS2-8165]#3468
BRaimbault wants to merge 24 commits intomasterfrom
feat/DHIS2-8165

Conversation

@BRaimbault
Copy link
Collaborator

@BRaimbault BRaimbault commented Feb 17, 2025

Implements:

Requires:


Description

Test datasets:

Alternative coordinates:
  • Event coordinate
  • Enrollment coordinate *
  • Tracked entity coordinate *
  • Program stage data elements of type coordinates
  • Program tracked entity attributes of type coordinate *

* Only for programs with enrollment

Fallback mechanism:
  • None
  • Single coordinate
  • Cascade: Enrollment > event > tracked entity > org unit coordinate

References:

Frontend:
Backend:

We are supporting these parameters:

coordinateField. We are supporting all previous type plus pigeometry, psigeometry, teigeometry and ougeometry. Do not forget that teigeometry is valid only for registration program,

fallbackCoordinateField: it is hard fallback. We are supporting “pigeometry“, “psigeometry“, “teigeometry“ and “ougeometry“ as well as data elements and tracked attributes. Do not forget that teigeometry is valid only for registration program,

defaultCoordinateFallback (true/false).

When fallbackCoordinateField is null and defaultCoordinateFallback is true (default), a cascade fallback is applied (pigeometry -> psigeometry -> teigeometry -> ougeometry)

TODO

  • Dashboard tested
  • Tests added (Cypress and/or Jest)
  • Docs added
  • Update dependencies to not point to d2-ci
  • todo

Known issues

  • issue

Screenshots

supporting images

@dhis2-bot
Copy link
Contributor

dhis2-bot commented Feb 17, 2025

🚀 Deployed on https://pr-3468.maps.netlify.dhis2.org

@dhis2-bot dhis2-bot temporarily deployed to netlify February 17, 2025 15:45 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify February 21, 2025 08:30 Inactive
@BRaimbault BRaimbault changed the title feat: support multiple coordinates and fallback coordinates in event layers (2nd iteration) feat: support fallback coordinates in event layers [DHIS2-8165] Apr 4, 2025
@dhis2-bot dhis2-bot temporarily deployed to netlify April 4, 2025 15:19 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify April 24, 2025 11:12 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify May 8, 2025 09:11 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify May 9, 2025 14:00 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify July 2, 2025 10:30 Inactive
@BRaimbault BRaimbault changed the base branch from master to feat/DHIS2-3354 July 17, 2025 13:52
@dhis2-bot dhis2-bot temporarily deployed to netlify July 17, 2025 13:56 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify July 18, 2025 13:54 Inactive
Base automatically changed from feat/DHIS2-3354 to master August 1, 2025 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants