Landcover Data Preparation#

MISLAND Africa uses the European Space Agency (ESA) Climate Change Initiative (CCI) land cover dataset. This dataset provides global maps describing the land surface into 22 classes, which have been defined using the United Nations Food and Agriculture Organization’s (UN FAO) Land Cover Classification System (LCCS). In addition to the land cover (LC) maps, four quality flags are produced to document the reliability of the classification and change detection. In order to ensure continuity, these land cover maps are consistent with the series of global annual LC maps from the 1990s to 2015 produced by the European Space Agency (ESA) Climate Change Initiative (CCI), which are also available on the ESA CCI LC viewer.

The dataset can be downloaded here from the ESA C3S archives

Data Processing and Download in GEE#

This Google Earth Engine (GEE) script performs land cover classification across the entire African continent using the ESA Climate Change Initiative (CCI) land cover dataset. The data spans from 1992 to 2018, with this analysis specifically targeting the year 2018.

Key processing steps include:

  • Clipping the global ESA CCI land cover image to the African continent boundary defined by a custom Africa_shapefile FeatureCollection.

  • Cleaning the dataset by replacing invalid land cover values (9999) with a no-data placeholder (-32768) and masking them out.

  • Reclassifying the original ESA land cover classes into seven broad IPCC land use/land cover (LULC) categories. This harmonization is useful for standardized climate reporting and environmental assessments.

  • Visualizing the resulting classified land cover image in the GEE map viewer.

  • Exporting the processed image as a Cloud-Optimized GeoTIFF (COG) to Google Drive, with the following settings: - Coordinate Reference System: EPSG:4326 (WGS 84) - Spatial resolution: 300 meters - Region: Entire African continent - Skipping of empty tiles to optimize storage and export speed

This script enables large-scale monitoring of land cover dynamics and supports regional to continental-scale reporting on land use trends, degradation, and policy-relevant indicators.

Script#

var africa = ee.FeatureCollection("projects/ee-briansimiyu/assets/Africa_shapefile");

// Land cover data from ESA CCI
var lc = ee.Image("users/geflanddegradation/toolbox_datasets/lcov_esacc_1992_2018");
var lc = lc.where(lc.eq(9999), -32768);
var lc = lc.updateMask(lc.neq(-32768));
var lc = lc.clip(africa);

print(lc);

var matrix = [10, 11, 12, 20, 30, 40, 110, 120, 121, 122, 130, 140, 150, 151, 152, 153,
              50, 60, 61, 62, 70, 71, 72, 80, 81, 82, 90, 100, 160, 170, 180, 190, 200,
              201, 202, 220, 210];
var matrix2 = [5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,3,2,2,2,2,1];

// Reclassify to 7 IPCC classes
var lc_t0 = lc.select('y2018')
    .remap(matrix, matrix2);

Map.addLayer(lc_t0, {}, 'Landcover');

Export.image.toDrive({
    image: lc_t0,
    description: 'Landcover',
    crs: 'EPSG:4326',
    scale: 300,
    region: africa,
    maxPixels: 1e13,
    fileFormat: 'GeoTIFF',
    folder: 'LC_',
    formatOptions: {
        cloudOptimized: true
    },
    skipEmptyTiles: true
});

Data Preprocessing Steps in QGIS#

  1. Unzip the C3S-LC-L4-LCCS-Map-300m-P1Y-yyyy-v2.1.1 data from the compressed format that it comes in after downloading. Closely examine the contents of this folder as it has various files.

admin panel

Rasters option on admin panel#

  1. Load the unzipped NetCDF4 raster onto qgis and select the lccs_class on the “Select Raster Layers to Add” dialog.

admin panel

Extraction by mask#

  1. Once the raster layer is loaded add the vector layer of the OSS region and navigate to Raster > Extraction > Clip Raster by Mask Layer

admin panel

Finding the r.reclass processing tool#

  1. Once the raster layer has been clipped to the area of interest, open the processing toolbox and search for r.reclass and select the GRASS>Raster>r.reclass tool.

admin panel

Finding the r.reclass processing tool#

  1. On the r.reclass dialog that pops up, select the clipped land cover data as the input layer and paste the following reclassification rules into the “Reclass rules text box” and save the output in a desired location.

admin panel

Finding the r.reclass processing tool#

  1. Once the data is reclassified you can upload the QML style layer to visualize and validate the reclassified land cover data.

admin panel

Finding the r.reclass processing tool#

Data Upload to MISLAND service#

To upload the Land cover dataset to the admin panel. Follow these simple steps

  1. Select the Rasters option from the list of options on the admin panel

admin panel

Rasters option on admin panel#

2 From the FILTER options, By raster type select LULC: Land use/land Cover option to view the list of Land cover datasets that are already availabel on the database

Fitering to view availabel datasets

Selecting Land cover option from the list of filters#

  1. Once you have confirmed that the raster you wish to add is not in the database. Select the ADD RASTER option from the top-right conner of the admin panel.

add raster

Selecting ‘ADD RASTER’ option#

  1. On the add raster form that opens up, fill in the Name of the Land cover raster you with to add, then select the Raster Year and the Raster Type as shown below:

add raster form

Filling the ADD RASTER form for land cover data upload#

Note

It is recomended that you include the Year of the raster in the Name field as shown and that you associate the Land cover raster with the LULC: Land use/land cover *Raster Type*for the system to work properly and point to the right raster dataset.