Catchment Population import
OpenLMIS enables bulk updates of catchment populations for specific geographic zones through file imports. There are two modes of operation, based on the CATCHMENT_POPULATION_CALC_AUTO flag:
When the flag is set to True:
Only geographic zones at the lowest level can be updated.
Parent zones will automatically summarize the catchment population from their child zones.
When the flag is set to False:
The system will rely solely on user input, with no automatic calculation for parent zones.
Geographic zones at each level can be updated.
The flag can be set in the configuration repository, in the .env file, by default is set to False . Both import and export processes rely on the CATCHMENT_POPULATION_CALC_AUTO.
How to Import the Data
Create a file named geographicZone.csv.
Ensure the file contains the following two column headers:
code (Geographic zone identifier).
catchmentPopulation (Updated population value).
You can use the Population export file as a starting point and make the necessary updates.
Add or modify values depending on whether you created new, or used exported file.
Save the file with the name geographicZone.csv. It must be in .csv format.
Create a .zip file containing the geographicZone.csv file. The .zip file name does not matter.
Go to the Administration panel and select Data Import.
Select Population from drop-down menu.
Click Select File and choose your .zip file created in point 5.
Click Import button, located at the bottom-right corner.
A pop-up message will appear, informing you whether the import was successful or if any issues occurred during file processing (e.g., attempting to update a non-lowest geographic level when the flag was set to true).
Afterward, go to the Administration panel and select Geographic Zones.
Verify if the data from the file has been successfully reflected there.
Related content
OpenLMIS: the global initiative for powerful LMIS software