Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

NamSoil v1.0: Predicted Sand (%) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)

Domaine:

geospatialagriculture

Type de record:

dataset
Créateur:
CoeGel
Éditeur:
Zenodo
Hôte:avatar

Dataset Overview

This dataset provides spatial predictions of Sand (%) content across Namibia at 90 m spatial resolution for three standard soil depth intervals: 0–30, 30–60, 60–100 cm. For each depth interval, the following outputs are provided: predicted mean; 5th percentile; 95th percentile; 90% prediction interval (PI90).

The maps are intended for national- and regional-scale applications and support environmental modelling, land evaluation, and resource management.

Input Soil Data

Model training was based on analytical data from the Namibian Soil Profile Database (NSPD2025) (https://zenodo.org/records/…). Profile locations have spatial accuracy better than 0.0001° and were reprojected to WGS84. Soil observations were depth-harmonised to the three standard depth intervals prior to modelling.

Summary statistics of observed Sand (%): 

 0–30 cm30–60 cm60–100 cm
n193714111030
Min11.002.102.10
Max100.0099.95100.00
Mean79.5676.8577.61
Median83.8080.9181.92
SD15.4516.8417.20
Skewness-1.26-1.11-1.19

Selected environmental covariates

Environmental covariates included in the final model for each depth interval are:

  • 0–30 cm: dem, tpi, chili, topo_diver, flow_accumul, landcover, hand, blue_w, green_w, red_w, nir_w, swir1_w, swir2_w, ndvi_w, savi_w, msavi_w, evi_w, kndvi_w, blue_s, green_s, red_s, nir_s, swir1_s, swir2_s, ndvi_s, savi_s, msavi_s, evi_s, kndvi_s, flow_lend_d, geology, pet, arid_ind, landform_iwa, namsoil_13, aspp, aez, veg_types, aez_n, cc, Slope, VerticalCurvature, kaolinite, calcite, quartz, carbonate, mafic, prec_wc2, tavg_wc2, geology_a, carb_diff, clay_diff, ferr_diff, iron, rock_out
  • 30–60 cm: dem, tpi, chili, topo_diver, landcover, blue_w, green_w, red_w, nir_w, swir1_w, swir2_w, ndvi_w, savi_w, msavi_w, evi_w, kndvi_w, blue_s, green_s, red_s, nir_s, swir1_s, swir2_s, ndvi_s, savi_s, msavi_s, evi_s, kndvi_s, flow_lend_d, geology, pet, arid_ind, landform_iwa, namsoil_13, aspp, aez, veg_types, aez_n, cc, Slope, calcite, quartz, mafic, prec_wc2, tavg_wc2, geology_a, carb_diff, clay_diff, ferr_diff, iron, rock_out
  • 60–100 cm: dem, tpi, chili, topo_diver, blue_w, green_w, red_w, nir_w, swir1_w, swir2_w, ndvi_w, savi_w, msavi_w, evi_w, kndvi_w, blue_s, green_s, red_s, nir_s, swir1_s, swir2_s, ndvi_s, savi_s, msavi_s, evi_s, kndvi_s, flow_lend_d, pet, arid_ind, landform_iwa, namsoil_13, aspp, aez, veg_types, aez_n, cc, calcite, quartz, mafic, prec_wc2, tavg_wc2, geology_a, carb_diff, clay_diff, iron, rock_out

Full stack of environmental covariates

CovariateDescription
demDigital elevation model (altitude in metres)
SlopeTerrain gradient in degrees
AspectSlope facing direction (0–360°)
EastnessEast-west slope orientation (sin of aspect)
NorthnessNorth-south slope orientation (cos of aspect)
HorizontalCurvaturePlan curvature; lateral flow convergence/divergence
VerticalCurvatureProfile curvature; flow acceleration along slope
chiliContinuous heat-insolation load index
tpiMulti-scale topographic position index (ridges vs valleys)
topo_diverTopographic diversity (habitat temperature/moisture variety)
landforms_alosHillslope position classes (15 landform types)
flow_dirLocal drainage flow direction
handHeight above nearest drainage
flow_accumulUpstream drainage area (km²)
river_distDistance to nearest drainage line
flow_lend_dFlow length downstream to pour point
flow_len_upFlow length upstream to farthest source
landcoverLand cover classes (11 classes, Sentinel-based)
Prec_wc2Mean annual precipitation 1970–2000 (mm)
tavg_wc2Mean annual temperature 1970–2000 (°C)
arid_indAridity index (precipitation / potential evapotranspiration)
petPotential evapotranspiration 1970–2000
blue_sLandsat blue band (summer)
blue_wLandsat blue band (winter)
green_sLandsat green band (summer)
green_wLandsat green band (winter)
red_sLandsat red band (summer)
red_wLandsat red band (winter)
nir_sLandsat near-infrared band (summer)
nir_wLandsat near-infrared band (winter)
swir1_sLandsat shortwave infrared 1 (summer)
swir1_wLandsat shortwave infrared 1 (winter)
swir2_sLandsat shortwave infrared 2 (summer)
swir2_wLandsat shortwave infrared 2 (winter)
ndvi_sNormalized Difference Vegetation Index (summer)
ndvi_wNormalized Difference Vegetation Index (winter)
savi_sSoil Adjusted Vegetation Index (summer)
savi_wSoil Adjusted Vegetation Index (winter)
msavi_sModified Soil Adjusted Vegetation Index (summer)
msavi_wModified Soil Adjusted Vegetation Index (winter)
evi_sEnhanced Vegetation Index (summer)
evi_wEnhanced Vegetation Index (winter)
kndvi_sKernel NDVI (summer)
kndvi_wKernel NDVI (winter)
carb_diffCarbonate normalization ratio (Landsat)
clay_diffClay normalization ratio (Landsat)
ferr_diffFerrous minerals normalization ratio (Landsat)
ironIron normalization ratio (Landsat)
rock_outRock outcrop normalization ratio (Landsat)
kaolinite indexASTER kaolinite mineral index
calcite indexASTER calcite mineral index
quartz indexASTER quartz mineral index
carbonate indexASTER carbonate mineral index
mafic indexASTER mafic mineral index
AezAgro-ecological zones of Namibia (1996, categorical)
aez_nUpdated agro-ecological zones of Namibia (2021)
ccPotential carrying capacity of Namibia (2021)
namsoil_13National soil map (13 WRB reference soil groups)
asppAverage seasonal plant productivity (1999–2019)
veg_typesVegetation types
geology_aMajor rock groups by type and age
geologyLithology units (geological map)
Landform_iwaIwahashi-Pike landform classification (slope, texture, convexity)
convexTerrain convexity (ratio of positive curvature cells)
curv_maxTerrain curvature (rate of change in slope)

The complete description and source details can be found in S5 – Environmental covariates assembled in the predictor stack.pdf file.

Modelling Framework

Spatial prediction was performed using the Random Forest algorithm. A bootstrap resampling strategy (20 iterations) was implemented, using an 80:20 calibration–validation split with replacement and a fixed random seed.

Soil data preprocessing, hyperparameter tuning, feature selection, post-modelling metrics and external validation were executed in R, while covariate preparation, model implementation, and uncertainty quantification were conducted in Google Earth Engine.

The Random Forest hyperparameters were:

Depth intervalntreemtrynodesizesampsize
0–30 cm1501820.47
30–60 cm15041110.52
60–100 cm1502880.53

where:
ntree: number of decision trees in the forest
mtry: the number of predictors randomly sampled at each RF split
nodesize: the minimum number of samples required at a leaf node to prevent overfitting
sampsize: the in-bag (internal RF bootstrap) sample size drawn to train each tree

Model Performance

Model performance was evaluated for each bootstrap iteration using Root Mean Square Error (RMSE) to quantify prediction errors and Coefficient of Determination (R²) to measure explained variance. The performance metrics, averaged across the 20 bootstrap runs, are:

Depth intervalR² calibrationRMSE calibrationR² validationRMSE validation
0–30 cm0.8496.8250.44811.612
30–60 cm0.61011.0720.36413.271
60–100 cm0.66010.8470.33413.870

Uncertainty Quantification

Uncertainty estimates were derived from the bootstrap prediction distributions. The 5th and 95th percentile maps represent lower and upper prediction limits.

The 90% Prediction Interval Coverage Probability (PICP90) of Sand for the three depth classes were:

Depth intervalPICP90
0–30 cm91.33
30–60 cm91.71
60–100 cm91.17

Data Outputs

Map outputs are provided as Cloud-Optimised GeoTIFFs (WGS84) for GIS and modelling applications, and PNG format for visualisation and reporting.

Data Access

The input soil data used for model training is available in the Namibian Soil Profile Database (NSPD2025) at https://doi.org/10.5281/zen….
Predicted soil maps can be retrieved directly from Zenodo using the quick-start scripts for reading, cropping, and exporting NamSoil layers — without downloading the full files — available at: https://github.com/Gelsleic….
These scripts enable reproducible data retrieval workflows, allowing users to fetch and process specific layers programmatically.

Code Availability

The complete source code for data preprocessing, feature selection, hyperparameter tuning, model implementation, and post-processing is available at:
https://doi.org/10.5281/zen…, also published on https://github.com/Gelsleic….
The Google Earth Engine scripts for covariate preparation, regression matrix export, and Random Forest modelling with 20-iteration bootstrap are available at: https://code.earthengine.go….
Note that the GEE repository runs at a coarser spatial resolution than the published maps to reduce computational cost, memory usage, and export time within the Earth Engine environment. Users can adjust the output resolution to 90 m (or other) by modifying the scale parameter in the export functions, although this will require longer processing times and larger storage allocation.
All scripts, fixed random seeds, and parameter configurations are provided to ensure full reproducibility of the modelling pipeline — from covariate preparation through spatial prediction and uncertainty quantification. Users can replicate the entire workflow or adapt individual components to other study areas or soil properties.

Related Publication

A full methodological description, model evaluation framework, and interpretation of results are provided in:
[Publication DOI to be added]

Uploaded via Zenodo REST API.

Visit

doi.org

Languages

DegGunNdasaNyamwanga

Tags

Soil propertiesSoil information systemDigital soil mappingNamibiaAfricaRandom ForestGoogle Earth EngineDepth splinesFeature selectionEnvironmental covariates+6

Licenses

info:eu-repo/semantics/openAccessCreative Commons Attribution 4.0 Internationalhttps://creativecommons.org/licenses/by/4.0/legalcode

Similaires

NamSoil v1.0: Predicted Silt (%) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)NamSoil v1.0: Predicted pH (H₂O) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)NamSoil v1.0: Predicted Plant-available Phosphorus (mg kg-1) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)

NamSoil v1.0: Predicted Silt (%) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)

Dataset Overview

This dataset provides spat

NamSoil v1.0: Predicted pH (H₂O) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)

Dataset Overview

This dataset provides spat

NamSoil v1.0: Predicted Plant-available Phosphorus (mg kg-1) for Namibia at 90 m resolution (0–30, 30–60 and 60–100 cm)

Dataset Overview

This dataset provides spat