Background & Summary

Uneven population distribution and population change trends have important effects on society and landscapes. Knowledge about the past, current and future distribution of the human population is fundamental for tackling many global challenges such as food security, climate change adaptation, and poverty reduction. Detailed data on human population distribution is therefore vital. However, such data is most often aggregated to administrative areas, as is the case with census data, and in some cases may even be non-existent.

Censuses constitute the typical way of collecting information about a population within a tract or any spatial unit. Commonly the unit is the nation with all its subdivisions. From an analytical perspective the typical data collection framework used to record population is problematic. The spatial units, typically administrative, used by each nation are usually arbitrarily defined and their numbers, size and shape tend to change over time1. The aggregated nature of census data means that an assumption is made about the equal distribution of people within administrative units. Carrying out a census is also a costly and cumbersome undertaking. The revisit time is at best once a year but more commonly once every 5–10 years. In addition, accurate census estimates can be limited by inability to count inaccessible populations, whether this is for political, economic or even environmental reasons.

In recent years, nighttime lights imagery has emerged as a popular proxy for human activity and has been used to simulate human population distribution2 and even to generate detailed population estimates at the pixel level3,4,5. Such data has the potential to address some of the previously discussed limitations of census data due to its high spatial and temporal resolution and disaggregated nature. However, what is required is a methodology for simulating human population distribution using this nighttime lights data.

We have, in previous work, shown that the centroid of any population can be located with high accuracy without knowing the actual population distribution through the use of nighttime lights imagery alone6. We showed that the shape of the lit area, weighted by its intensity could be used to simulate characteristics of the population distribution, such as the mean centre of population (also referred to as the centroid).

In this paper we expand on our previous work to generate a global nighttime lights centroid dataset. Population centroids are valuable in many fields of social science and business where locational analysis, interactions, flows, and network modelling are used. Population centroids are in these instances much more beneficial than using geographic centroids which are located in the geographic center of administrative areas. We have, therefore, processed global nighttime lights data for the period 1992–2013 and derived annual centroids for administrative levels 0–2 of the GADM (Database of Global Administrative Areas), corresponding to nations and two levels of sub-divisions. This data is consistent in both time and space and can thus be used to analyse patterns of global or local population distribution changes without many of the typical caveats associated with traditional population data. We propose that population centroids based on nighttime lights data can be used in applications that require knowledge of human population distribution but where full time-series may not be available or where analyses span over many different countries.

One such application, which we have previously illustrated, is in migration research where estimation of migration distances has for long been hampered by inconsistent data7. Distance is key not only for definitional purposes but also to understand migrants’ characteristics and reasons for migration1,8. Migration distances are generally derived based on the area centroid of administrative tracts and the measured distance between these resulting centroids. This approach provides an estimate of migration distance but the location of the administrative centroid might, for obvious reasons, not correspond well with the location of the population within the administrative tract. Greater precision can be achieved by weighting area centroids by population6 and thus locating a more accurate “population centre”. However, locating the population-weighted centre requires population data at a high spatial level, which is typically not available or not accessible due to integrity reasons. The nighttime lights centroids derived here could serve as a proxy for population centroids in migration distance applications.

There are, of course, limitations to the generated centroid dataset. Some of these are related to inherent issues in the nighttime lights data. One such issue is that the nighttime lights data used is known to overestimate the lighted area on the ground which and can lead to shifts in centroids away from the true population centroid. Additionally, there is a loss of accuracy in nighttime lights data above approximately 60 to 65°N because of late sunsets and high amounts of aurora activity9 which can impact centroids in those latitudes. Other limitations are related to the boundary data used to generate the centroids, which are subject to the Modifiable Area Unit Problem (MAUP), meaning that, if other boundaries were used, centroids might shift. Additionally, the irregular nature of administrative boundary polygons can lead to centroids which do not fall within the corresponding administrative area. Finally, there are limitations associated with administrative areas that are composed of multiple polygons, as is the case with some island nations, for example, because the disaggregated nature of the polygons leads to centroids which may potentially be pulled away from the true population center. These limitations are important to consider depending on the study area and scale of analysis.

Methods

The centroid datasets were created using two different algorithms for locating weighted geographic centres. The first was that described by Barmore10 and the second was that described by Aboufadel and Austin11. Before generating the centroid datasets, the input nighttime lights data were calibrated to allow for cross-year analysis. These methods are expanded versions of descriptions in our related work6.

Annual nighttime light intensity data from the digital data archive at the National Oceanic and Atmospheric Association’s National Geophysical Data Center (NOAA-NGDC) were used. The Version 4 DMSP-OLS Stable Lights time series consists of 34 tiff raster layers collected by six different satellites over 22 years (1992–2013). During some years there are multiple satellites collecting data from which an average value was extracted. Administrative boundaries were taken from the GADM database of Global Administrative Areas, version 2.8. A shapefile of locations of gas flares, produced by Elvidge, et al.12, was used in calibration. See Table 1 for a summary of datasets.

Table 1 Summary of included datasets.

Calibration and gas flare removal

The Operational Linescan System (OLS) flown by the U.S. Air Force Defence Meteorological Satellite Program (DMSP) collects nighttime lights data. The stable lights dataset is an annual average digital brightness (DN) product, processed to remove ephemeral lights, clouds and background noise. In order to allow cross-year analysis it must be calibrated against a reference year since the visible band on the OLS has no in-flight calibration and the sensors initially differ in their radiometric performance and since times of and conditions under image acquisition vary.

Here, a calibration method developed by Elvidge, et al.12,13, referred to as the invariant region and quadratic regression (IRQR) method, was used. This is a regression-based calibration method which takes a reference region where lighting intensity has changed very little over time and uses this region to standardize the datasets. Various other calibration methods have been developed and tested in the literature14,15,16,17. Most of these methods are based on the IRQR method and make the same assumptions; however, they are either region specific, adopt different calibration sites or use different regression methods18. The IRQR method remains the most widely used calibration method for its simplicity and adaptability and for this reason it was selected for this application.

Following Elvidge, et al.12,13, a reference area where lighting has remained constant throughout the study period was selected and used to develop a linear regression equation between the DN values for each individual satellite product in that area against those of a reference satellite product. The regression equation was applied to the global dataset to convert the DN values into a common range.

Satellite F18 for year 2010 (F182010) was selected as the reference satellite product because it contained the highest average DN values. Twenty candidate calibration regions were selected and scattergrams of the DN values were plotted against the reference satellite product in order to find a reference area with minimal change in lighting over time. This is defined as an area with a scattergram that has a clearly defined diagonal axis and minimal width along the primary axis13. Sicily was ultimately selected as the reference area. This is consistent with the findings and methods in the literature12,13.

Next, a second order regression was estimated for Sicily for each satellite product, as shown in Eq. 1, where y is the calibrated DN value; x is the original DN value; and C0, C1 and C2 are the calibration coefficients. The calibration coefficients where then applied globally to each satellite product. See Table 2 for coefficients used for calibrating each image. The individual satellite products were then averaged by year in order to create 22 final calibrated rasters, one for each year from 1992 to 2013.

Table 2 Coefficients for calibration of DN values in nighttime lights time series.

Following calibration, lighting from gas flares was masked out using polygon shapefiles of known gas flare locations available from the NOAA-NGDC12. Eliminating gas flares from the dataset is important because these do not reflect permanent population distribution.

$$y={C}_{0}+{C}_{1}x+{C}_{2}{x}^{2}$$
(1)

Centroid location

The two algorithms used to locate nighttime lights centroids are described below. Each algorithm was implemented using the calibrated nighttime lights and GADM levels 0, 1, and 2 as inputs. For each GADM level an output point shapefile of the weighted nighttime light centre for each administrative area was created. Therefore, in total 132 output datasets were created, one for each of the 22 years, three GADM levels, and two different algorithms represented.

Barmore’s10 method for locating weighted centroids is an iterative method which uses an azimuthal-equidistant projection centred on the centroid itself to find the point which minimizes the sum of squared great circle distances from all weighted locations19. An azimuthal equidistant projection preserves distances and directions measured from the centre of the projection. This means that, when the weighted centroid is located at the centre of the projection itself, then distances between the centroid and each of the weighted points are true distances. Barmore’s process is described in detail in refs19,20,21.

First, a starting centroid was located using Eq. (2):

$${x}_{w}=\frac{{\sum }_{i=1}^{n}{w}_{i}{x}_{i}}{{\sum }_{i=1}^{n}{w}_{i}},\,{y}_{w}=\frac{{\sum }_{i=1}^{n}{w}_{i}{y}_{i}}{{\sum }_{i=1}^{n}{w}_{i}}$$
(2)

where xi and yi are the east-west and north-south coordinates of point i, respectively; wi is the weight (DN) at point i; and n is the total number of points. The centre of each nighttime lights pixel was used as the weighting point i. For simplicity, a spherical datum with major and minor axes of 6371000 meters was used. The nighttime lights raster was projected into an azimuthal equidistant projection based on the same spherical datum and centred on the identified coordinates. A new centroid was then identified using Eq. (2) and the newly projected raster. The newly identified centre was then used to re-project the nighttime lights raster and once again calculate a new centre. This process was iterated until the distance between the newly identified centre and the centre used to establish the azimuthal equidistant projection was less than or equal to one meter.

Aboufadel and Austin’s11 method instead minimizes the sum of the squared straight-line distances from each of the weighted locations to the centre point19 by calculating the centre from a three-dimensional perspective. The centre is defined as the balance point of the population distribution as it resides on an idealized spherical representation of Earth’s surface. Aboufadel and Austin’s method is described in refs11,19.

The nighttime lights data were projected to the same spherical geographic coordinate system that was used for the Barmore method. The centre was then computed as the vector with coordinates given in Eq. (3):

$$\widehat{x}=\frac{{\sum }_{i}{w}_{i}{x}_{i}}{{\sum }_{i}{w}_{i}},\,{\hat{y}}=\frac{{\sum }_{i}{w}_{i}{y}_{i}}{{\sum }_{i}{w}_{i}},\, {\hat{z}} =\frac{{\sum }_{i}{w}_{i}{z}_{i}}{{\sum }_{i}{w}_{i}}$$
(3)

where \(\widehat{{\rm{x}}}\), \(\widehat{{\rm{y}}}\) and \(\widehat{{\rm{z}}}\) compose the centre vector; wi is the weight (DN) at the point i; and xi, yi, and zi compose the three-dimensional vector to point i, as given in Eq. (4):

$$\begin{array}{c}{x}_{i}={\rm{\cos }}{\lambda }_{i}{\rm{\cos }}{\phi }_{i}\\ {y}_{i}={\rm{\sin }}{\lambda }_{i}{\rm{\cos }}{\phi }_{i}\\ {z}_{i}={\rm{\sin }}{\phi }_{{\boldsymbol{i}}}\end{array}$$
(4)

where \({\lambda }_{i}\) and \({\phi }_{{\boldsymbol{i}}}\) are the longitude and latitude at point i, respectively. The longitude and latitude of the centre were then extracted using Eq. (5):

$$\widehat{\lambda }={{\rm{\tan }}}^{-1}\left(\frac{\hat{y}}{\widehat{x}}\right),\,\,\widehat{\phi }={{\rm{\sin }}}^{-1}\left(\frac{ {\hat{z}} }{\sqrt{{\widehat{x}}^{2}+{\hat{y}}^{2}+{ {\hat{z}} }^{2}}}\right)$$
(5)

where \(\widehat{{\rm{\lambda }}}\) and \(\widehat{\phi }\) are the longitude and latitude of the centre, respectively; and \(\widehat{{\rm{x}}}\), \(\widehat{{\rm{y}}}\) and \(\widehat{{\rm{z}}}\) compose the centre vector.

Centres that did not fall within the corresponding administrative area were flagged, as were administrative areas that did not have a corresponding centre (see Data Records). The first case occurs when the shape of the administrative area is such that its weighted centre of nighttime lights does not fall within it. The second case occurs for one of two reasons. First, an administrative area will not have a corresponding centre if there are no lighted pixels found within it. Second, small administrative areas (smaller than or near to the nighttime lights pixel resolution) may be left without a centroid.

Data Records

The centroid datasets described here can be freely and publicly accessed at the figshare web site9. The centroid datasets created were separated by algorithm, year, and GADM level. In total 132 different datasets were created each including a quality flag for each centroid point. Since each dataset is small in terms of storage they are grouped by algorithm and GADM level making the resulting data files 8 in total. In each shapefile (adm0, adm1, adm2) the field OUT_FLAG is used to store the flag value. In addition, there are three corresponding CSV-files, which report on unplaced centroids. The user can then decide how to proceed with the handling of unplaced centroids based on the specific user needs and application at hand. Possible options would be to force centroids to fall within a specific region based on some rule or just exclude them from analysis.

Technical Validation

First, the consistency of the produced dataset was investigated. As mentioned in the previous section, sometimes it was not possible to define a population centre based on nighttime lights and sometimes they fall within another administrative unit. This is assessed and quantified. Second, distance between true population centres and derived centres are compared using Swedish census data.

Centroid consistency

Centroids that did not fall within their corresponding administrative unit, or administrative areas that did not have a corresponding centroid were flagged. The flag values 0, 1 and 2 were used. 0- indicates point in region, 1- indicates point not in region and not on landmass, and 2- indicates point not in region but on land (i.e. it is in another region).

Table 3 is a summary for each year and reports on placed and unplaced centroids. There is no difference between the two methods at use. The number of placed centroids is increasing over the time period 1992–2013. This is not investigated further here but may be attributed to a combination of interacting factors such as increased economic development and possible improvements in satellite imagery over time. It is also noted that the trend is not linear but flickering between years. This is a pattern previously observed in countries with low electricity levels such as Burkina Faso where some villages and towns show unstable light patterns between years (submitted manuscript). It is possible that this could be an effect of processing heuristics and the thresholds used to pass as a lit area (lit 50% of the year).

Table 3 Expected and actual counts for each administrative level.

Distance between derived and true centroids

Next we compare the distance between each nighttime lights derived centroid to each true population centroid, for each administrative level and for both approaches (i.e. Barmore and Aboufadel & Austin). The true population centroid is derived from Swedish population data from Statistics Sweden, which is distributed on a 100 m by 100 m grid. Each grid cell contains the count of the number of people living there. This is based on data from the Swedish population register which has been geocoded to the location of the building of residence. All individuals that were registered as inhabitants in Statistics Sweden in 2007 and 2008 are included in the analysis and the data were aggregated to 500 m spatial resolution due to confidentiality reasons. The data was obtained in an RT90 25 gon väst projection; however, the distance between true and nighttime lights centroids was calculated in a SWEREF99 projection since this is a more current projection for Sweden.

Population data from Sweden was used as a benchmark partly because of outstanding annual population data with a very high spatial resolution and partly because Sweden varies greatly in population distribution and shape of administrative units. Therefore, it can be representative for many parts of the world. We do, however, recognize that the relationship between the true and derived centroids which we test may be stronger in developed countries such as Sweden than in developing regions. It has been shown that agricultural based economies in developing regions emit low levels of light which can be difficult to separate from image noise20,22,23 and therefore produce a weaker link to population distribution. However, we expect that while the link between the true and nighttime lights centroid may be weaker in developing countries with lower light levels, there is still an added benefit of such estimating the nighttime lights centroid due to the fact that other, better population data may not exist or be readily available.

Figure 1 describes the distribution of distance error between true and derived centroids. The influence of the area, shape and population density of the regions were previously compared to distance between centroids6. The only significant correlation found was between distance between centroids and area of region (R2 = 0.1213). This means that the larger the administrative region, the larger the distance between centroids. This error is most pronounced in the northern parts of Sweden, which contains larger regions as compared to the south. The population density follows much the same pattern, with low-density regions in the North and high-density regions in the South.

Fig. 1
figure 1

Comparison of distance between NTL centroids and true centroids for the year 2008 in Sweden per administrative level. Numbers shown are deviations from the mean distance error between derived and true centroids. Errors tend to be larger in the northern half of Sweden.

The discrepancies described can also possibly be attributed to the inherent properties of the nighttime light satellite sensor. Known issues are saturation in brightly lit areas and overestimation of lit area (blooming) due to sensor sensibility2. In related works, areas above 65°N are regularly masked out due to inconsistencies based on the fact that the Sun sets late and high amount of aurora activity6. This issue affects 7 countries and 0.036% of the global population. Care should be taken for regions above 60°N as these effects increase with latitude.

Comparison between centroid estimation methods

A comparison between the methods was done for each country and year 2008 by relating the differences in the centroids with the area of the administrative unit (Fig. 2). The distance between the centroid locations increases with area. However, some of the smaller countries show a higher than expected distance which is because they are island nations which cover a much larger total extent but have a smaller total area. From this we can conclude that the selection of method is more important when the area of the interested regions is large or when the regions cover a large extent.

Fig. 2
figure 2

Comparison between methods for each country. Numbers shown are distance between derived centroids (y-axis) and size of administrative area (x-axis). The R-code to generate this figure is found in the repository.