Morocco Population Map Metadata Report

Prediction Weighting Layer Used in Population Redistribution

The data presented below represent the predicted number of people per ~100 m pixel as estimated using the random forest (RF) model as described in Stevens, et al. (In Press). The following pages contain a description of the RF model and its covariates, their sources and any metadata collected for each covariate. The prediction weighting layer is used to dasymetrically redistribute the census counts and project counts to match estimated populations based on UN estimates for the final population maps provided by AfriPop, AsiaPop and AmeriPop.

plot of chunk predict_density

Morocco Census Data and Observed Population Density

These data are the population density values used to estimate the RF model used to create the prediction weighting layer you see above. Values represent population density as measured by people per hectare and calculated from population counts within each census unit. These values are used as the dependent variable during model estimation.

Morocco Census Data, 2004, Admin-level 4

Folder: Census
File Name: admin.shp
Source: Haut Commissariat au Plan, Morocco
Description: Required fields for map production are ADMINID and ADMINPOP.
Class: polygon
Derived Covariates:
area, buff, zones,

class       : SpatialPolygonsDataFrame 
nfeatures   : 1515 
extent      : -2341485, -1010753, 13296995, 14174098  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 7

plot of chunk census_data


Random Forest Model and Diagnostics

These output and figures outline the estimated RF model that is used to predict the population density weighting layer. The model is fitted to the population density values for the preceding census data using covariates aggregatedfrom the ancillary data sources summarized following the model diagnostics.


Call:
 randomForest(x = x_data, y = y_data, ntree = popfit$ntree, mtry = popfit$mtry,      nodesize = length(y_data)/1000, importance = TRUE, proximity = TRUE) 
               Type of random forest: regression
                     Number of trees: 500
No. of variables tried at each split: 11

          Mean of squared residuals: 0.63
                    % Var explained: 80

plot of chunk random_forestplot of chunk random_forestplot of chunk random_forest

Covariate Metadata

Morocco Classified Land Cover

Folder: Landcover
File Name: refined_lc.tif
Source: GlobCover, 300m
Description: Landcover from the GlobCover product resampled to 100m, refined with detailed Landsat-derived settlement extents (Tatem et al. 2004,2005), reclassified to match AfriPop coding and eventually broken down into binary classifications by aggregated land cover type (see Linard, et al., 2010 and Gaughan, et al. 2013 for category information).
Class: raster
Derived Covariates:
cls011, dst011, cls040, dst040, cls130, dst130, cls140, dst140, cls150, dst150, cls160, dst160, cls190, dst190, cls200, dst200, cls210, dst210, cls230, dst230, cls240, dst240, cls250, dst250, clsBLT, dstBLT,

class       : RasterBrick 
dimensions  : 8972, 13509, 121202748, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : -2351582, -1000682, 13286966, 14184166  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\APRF\RF\data\MAR\Landcover\Derived\landcover.tif 
names       : landcover 
min values  :        11 
max values  :       240 

plot of chunk covariate_reports


MODIS 17A3 2010 Estimated Net Primary Productivity, 1km

Folder: NPP
File Name: DEFAULT: MODIS 17A3 2010
Source: United States Geological Survey (USGS)
Description: MODIS 17A3 version-55 derived estimates of net primary productivity for the year 2010, estimated for 1km pixel sizes and subset and resampled to match the available land cover and final population map output requirements.
Class: raster
Derived Covariates:
,

class       : RasterBrick 
dimensions  : 8972, 13509, 121202748, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : -2351582, -1000682, 13286966, 14184166  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\APRF\RF\data\MAR\NPP\Derived\npp.tif 
names       :   npp 
min values  :     0 
max values  : 15600 

plot of chunk covariate_reports


Suomi NPP VIIRS-Derived 2012 Lights at Night, 15 arc-second

Folder: Lights
File Name: DEFAULT: VIIRS 2012
Source: http://ngdc.noaa.gov/eog/viirs/download_viirs_ntl.html
Description: These 'Lights at Night' data were derived from imagery collected by the Suomi National Polar-orbiting Partnership (NPP) Visible Infrared Imaging Radiometer Suite (VIIRS) sensor. Data were collected in 2012 on moonless nights and though background noise associated with fires, gas-flares, volcanoes or aurora have not been removed it represents the best-available data for night-time light production.
Class: raster
Derived Covariates:
,

class       : RasterBrick 
dimensions  : 8972, 13509, 121202748, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : -2351582, -1000682, 13286966, 14184166  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\APRF\RF\data\MAR\Lights\Derived\lights.tif 
names       : lights 
min values  :  -0.25 
max values  :    240 

plot of chunk covariate_reports


WorldClim/BioClim Mean Annual Temperature 1950-2000, 30 arc-second

Folder: Temp
File Name: DEFAULT: BIO1
Source: http://www.worldclim.org/current
Description: WorldClim/BioClim 1950-2000 mean annual precipitation (BIO12) and mean annual temperature (BIO1) estimates (Hijmans et al., 2005) were downloaded, mosaicked and subset to match the extent of our land cover data for the mapping of this region.
Class: raster
Derived Covariates:
,

class       : RasterBrick 
dimensions  : 8972, 13509, 121202748, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : -2351582, -1000682, 13286966, 14184166  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\APRF\RF\data\MAR\Temp\Derived\temp.tif 
names       : temp 
min values  :    9 
max values  :  255 

plot of chunk covariate_reports


WorldClim/BioClim Mean Annual Precipitation 1950-2000, 30 arc-second

Folder: Precip
File Name: DEFAULT: BIO12
Source: http://www.worldclim.org/current
Description: WorldClim/BioClim 1950-2000 mean annual precipitation (BIO12) and mean annual temperature (BIO1) estimates (Hijmans et al., 2005) were downloaded, mosaicked and subset to match the extent of our land cover data for the mapping of this region.
Class: raster
Derived Covariates:
,

class       : RasterBrick 
dimensions  : 8972, 13509, 121202748, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : -2351582, -1000682, 13286966, 14184166  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\APRF\RF\data\MAR\Precip\Derived\precip.tif 
names       : precip 
min values  :     14 
max values  :   1181 

plot of chunk covariate_reports


Roads (OSM), 2015

Folder: Roads
File Name: roads.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: linear
Derived Covariates:
cls, dst,

class       : SpatialLinesDataFrame 
nfeatures   : 193485 
extent      : -2347154, -1005919, 13298382, 14173958  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 7

plot of chunk covariate_reports


River Network

Folder: Rivers
File Name: DEFAULT: hydro/watrcrsl
Source: National Geospatial-Intelligence Agency (NGA), http://geoengine.nga.mil/geospatial/SW_TOOLS/NIMAMUSE/webinter/rast_roam.html
Description: The VMAP0 data area downloaded as separate files, grouped roughly by continent, and merged into individual shapefiles for subsetting and further processing for population mapping efforts. These data were obtained directly from the original VMAP0 data sources provided by the NGA and pre-processed using Military Analyst in ArcGIS 10.0.
Class: linear
Derived Covariates:
dst,

class       : SpatialLinesDataFrame 
nfeatures   : 2079 
extent      : -2242377, -1003861, 13293843, 14169321  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 9

plot of chunk covariate_reports


Populated Places

Folder: Populated
File Name: DEFAULT: Merged pop/builtupp, pop/builtupa, pop/mispopp
Source: National Geospatial-Intelligence Agency (NGA), http://geoengine.nga.mil/geospatial/SW_TOOLS/NIMAMUSE/webinter/rast_roam.html
Description: The VMAP0 data area downloaded as separate files, grouped roughly by continent, and merged into individual shapefiles for subsetting and further processing for population mapping efforts. These data were obtained directly from the original VMAP0 data sources provided by the NGA and pre-processed using Military Analyst in ArcGIS 10.0. Point data sources are buffered to 100 m and then all polygon data sources are merged to a single shapefile prior to processing.
Class: polygon
Derived Covariates:
cls, dst,

class       : SpatialPolygonsDataFrame 
nfeatures   : 787 
extent      : -2307996, -1034087, 13320194, 14170291  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 12

plot of chunk covariate_reports


Inland Waterbodies

Folder: Waterbodies
File Name: DEFAULT: hydro/watrcrsl
Source: National Geospatial-Intelligence Agency (NGA), http://geoengine.nga.mil/geospatial/SW_TOOLS/NIMAMUSE/webinter/rast_roam.html
Description: The VMAP0 data area downloaded as separate files, grouped roughly by continent, and merged into individual shapefiles for subsetting and further processing for population mapping efforts. These data were obtained directly from the original VMAP0 data sources provided by the NGA and pre-processed using Military Analyst in ArcGIS 10.0.
Class: polygon
Derived Covariates:
cls, dst,

class       : SpatialPolygonsDataFrame 
nfeatures   : 264 
extent      : -2314790, -1042609, 13292608, 14154568  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 10

plot of chunk covariate_reports


Protected Areas

Folder: Protected
File Name: DEFAULT: WDPAfgdb_Sept2012.gdb
Source: World Database on Protected Areas, Downloaded September, 2012, UNEP, http://www.wdpa.org, http://protectedplanet.net
Description: These data are compiled by UNEP and distributed via the Protected Planet website. All protected areas were downloaded regardless of International Union for Conservation of Nature (IUCN) or any other designation, so they include sanctuaries, national parks, game reserves, World Heritage Sites, etc.
Class: polygon
Derived Covariates:
cls, dst,

class       : SpatialPolygonsDataFrame 
nfeatures   : 25 
extent      : -2267679, -1093594, 13377368, 14172707  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 27

plot of chunk covariate_reports


Urban Extents

Folder: Urban
File Name: DEFAULT: schneider-urban.shp
Source: Schneider, et al., United Nations
Description: These data were constructed from MODIS-derived imagery and provided to WorldPop researchers by Schneider, et al. as part of a global urban extents datasets.
Class: polygon
Derived Covariates:
cls, dst,

class       : SpatialPolygonsDataFrame 
nfeatures   : 754 
extent      : -2111479, -1035679, 13421817, 14170386  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 2

plot of chunk covariate_reports


Elevation and Derived Slope, 3 second

Folder: Elevation
File Name: DEFAULT: Void-Filled DEM.gdb
Source: HydroSHEDS Void-Filled DEM (Lehnert, et al., 2006), http://hydrosheds.cr.usgs.gov/dataavail.php
Description: The HydroSHEDS data are the result of an effort to provide a globally consistent dataset consisting of NASA's Shuttle Radar Topography Mission (SRTM) data and have been processed, void-filled and corrected for use at large scales.
Class: raster
Derived Covariates:
, slope,

class       : RasterBrick 
dimensions  : 8972, 13509, 121202748, 1  (nrow, ncol, ncell, nlayers)
resolution  : 100, 100  (x, y)
extent      : -2351582, -1000682, 13286966, 14184166  (xmin, xmax, ymin, ymax)
coord. ref. : +proj=utm +zone=33 +south +datum=WGS84 +units=m +no_defs +ellps=WGS84 +towgs84=0,0,0 
data source : D:\APRF\RF\data\MAR\Elevation\Derived\elevation.tif 
names       : elevation 
min values  :       -89 
max values  :      4131 

plot of chunk covariate_reports


Digitized Building Locations (OSM), 2015

Folder: Buildings
File Name: buildings.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: polygon
Derived Covariates:
cls, dst,

class       : SpatialPolygonsDataFrame 
nfeatures   : 90099 
extent      : -2323343, -1010574, 13386591, 14173986  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 3

plot of chunk covariate_reports


Natural Feature Polygons (OSM), 2015

Folder: Natural
File Name: natural.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: polygon
Derived Covariates:
cls, dst,

class       : SpatialPolygonsDataFrame 
nfeatures   : 6722 
extent      : -2341135, -1011959, 13372040, 14174033  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 3

plot of chunk covariate_reports


Place points (OSM), 2015

Folder: Places
File Name: places.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: point
Derived Covariates:
cls, dst,

class       : SpatialPointsDataFrame 
nfeatures   : 9552 
extent      : -2319565, -1011323, 13351361, 14172787  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 4

plot of chunk covariate_reports


Points of Interest Locations (OSM), 2015

Folder: Points
File Name: points.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: point
Derived Covariates:
cls, dst,

class       : SpatialPointsDataFrame 
nfeatures   : 14325 
extent      : -2319612, -1010789, 13292900, 14172068  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 4

plot of chunk covariate_reports


Railways (OSM), 2015

Folder: Railways
File Name: railways.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: linear
Derived Covariates:
cls, dst,

class       : SpatialLinesDataFrame 
nfeatures   : 1542 
extent      : -1858018, -1023212, 13601887, 14179035  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 3

plot of chunk covariate_reports


Waterways (OSM), 2015

Folder: Wtrways
File Name: Waterways.shp
Source: Open Street Map, Downloaded 2015-03-20, http://extract.bbbike.org/
Description: These data were downloaded as part of a per-country package of data layers made availalble as shapefiles through the http://extract.bbbike.org website, extracted from the Open Street Map (OSM) database.
Class: linear
Derived Covariates:
cls, dst,

class       : SpatialLinesDataFrame 
nfeatures   : 24108 
extent      : -2181403, -1001362, 13355340, 14171709  (xmin, xmax, ymin, ymax)
coord. ref. : NA 
nvariables  : 4

plot of chunk covariate_reports