PopCluster is a QGIS plugin that uses raster population, night-time light and administrative boundaries to generate vector based (polygon) population settlements or else "population clusters".
As of March 2020, there are four available versions of the plugin:
- Option 1. Plugin developed for QGIS 3.10
- Archive Plugin developed for HRSL in QGIS 3.4 and 3.2 and plugin developed for GHS in QGIS 3.2
Note! We recommend using a HRSL based version. The GHS based version shall be used only if HRSL is not available for your area of interest.
- QGIS 3.2, 3.4, 3.10 or 3.16
- Python >= 3.6 with the following packages installed:
- PyQt5
- shutil
- qgis
- datetime
Note! Detailed instruction on how to install and use the plugin is available in the "Instructions" folder.
-
Download the zipped plugin folder onto your computer.
-
Open QGIS Desktop (proper version)
-
Click on the "Plugins" menu
-
Go to "Manage and Install Plugins..."
-
Choose Install from ZIP
-
In the window that opens click on the three dots next to the empty field to navigate to where you saved the zipped plugin folder
-
Select it and click "Install plugin"
-
An installation progress bar will appear on top of the screen
-
After the plugin is installed it appear under the "Plugins" menu with the name HRSL Clustering. It is now ready to use!
- Open the plugin in QGIS
- Add necessary input layers
- The population raster file (HRSL or GHS)
- The admin boundaries layer for the area of interest (e.g. GADM)
- The nighttime lights raster layer (VIIRS)
- Run the plugin
If succesful, the resulting layer will be added in your workspace. The resulting clusters are attributed the following information:
- id - a unique identifier for each cluster
- Country - the name of the country/study area
- Population - population in defined year (based on HRSL published date)
- Area - the area of each cluster (in sq.km)
- Nightlights - the maximum value of nighttime light detected in each cluster
- ElecPop - the number of people living in areas with detected nighttime light
Sample input/output files are available for Equatorial Guinea here.
-
The admin boundaries layer is used to delineate the area of interest and to limit the maximum area of the clusters;therefore it is highly recommended that you choose administrative boundaries that are disaggregated beyond the national borders.
-
The nighttime lights map show anthropogenic light sources and will be used in order to determine the population living in areas with light emitting infrastructures present. It is recommended that you use the cleaned data with outliers removed. These data are only available on a yearly basis and as of March of 2021 the latest version is from 2016.