Replies: 5 comments 6 replies
-
See this Slack thread for a related question and problem regarding a user friendly interface being needed for non-technical users to access the GO Data https://sims-ifrc.slack.com/archives/CEFDXURA9/p1720685659311549 |
Beta Was this translation helpful? Give feedback.
This comment has been minimized.
This comment has been minimized.
-
Hi there, agree lots to consider if changing around the way countries/territories/regions/National Societies etc. are modelled on GO.
Can I just check, what is intended by "Country Groups" in this context? From my end, I'm more knowledgeable about "gazetteer" style geodata (i.e. lists/tables/sets rather than spatial/boundary/point/polygon data per se), but superkeen to help the cause - and currently personally I'm not clear why Regions and Clusters wouldn't just be groupings of countries rather than having their own separate geospatial attributes? Grateful for any insights on the rationale for this bit. Noting that I think the lists/gazetteer info covers the bulk of @fionabrc 's mentioned use cases as well. Although boundaries/polygons also useful for other cases. Question: how will changes over time be modelled? When boundaries change, or names of admin areas change, or if new countries come into being/countries merge? Not sure if that is already considered in current design, but need to take an active decision about what geodata is used when looking at historic emergencies/events/data. |
Beta Was this translation helpful? Give feedback.
-
xref IFRCGo/go-frontend#1639 and other previous tickets - have these considerations already been taken into account in the above proposal? Or do we need to do a validation exercise against the prior tickets? THANKS! |
Beta Was this translation helpful? Give feedback.
-
@udaynwa Here is the link to a document listing relationships that exist between National Societies and Countries (Admin0 Areas) |
Beta Was this translation helpful? Give feedback.
-
Problem Statement
Tab 1 name
belongs to the Country modelProposed Solution
Introduction
We're proposing to divide the Country table into smaller, independent tables. This change will help us better organize different uses of the data and make our APIs much easier to work with. It will also improve how well developers, stakeholders, and end users understand our system, while also reducing our technical debt. Additionally, we aim to link GeoJSON data with each geographical entity. This will make it easier to use this data across different parts of the IFRC network, enhancing our overall efficiency and integration capabilities.
Our solution is structured into two distinct stages, with
Stage 1
serving as a prerequisite forStage 2
. Subtasks withinStage 1
can proceed concurrently, ensuring efficient progress towards our project goals.Stage 1.1. Create Geo App and New Models
Tasks
Create
Geo
app ingo-api
Geo
appCreate New Models
geoId
field referencing the corresponding models in the presentgo-api
Implement APIs to fetch GeoJSON files
Stage 1.2. Document new fields on existing models
Tasks
Stage 1.3. Make Mapbox style generic
Tasks
geoID
to each layers in Mapbox styleStage 2. Migration and Cleanup
Tasks
Create additional models like National Society, Country data, Region data, Organizations (ICRC, IFRC, etc) etc
Update serializers
go-api
Update UI
Add Migration script to migrate old data and use the new
Geo
appRemove old fields from models
Open Questions
cc @davidmuchatiza @batpad @geohacker @tovari @szabozoltan69 @LukeCaley @tnagorra @frozenhelium @samshara @thenav56
Beta Was this translation helpful? Give feedback.
All reactions