Global distribution of cattle, horses, goats, sheep and buffaloes at 1 km resolution for 2000–2022 based on subnational census data and spatiotemporal machine learning

The article describes the production and evaluation of annual livestock densities and headcounts of cattle, horses, sheep, goats and buffaloes (including 95% probability prediction intervals) at 1 km spatial resolution for the 2000–2022 period using spatiotemporal machine learning. A compilation of subnational livestock census data has been imported, harmonized and used as reference data (55,336 census polygons and 939,257 individual data entries; covering 147 countries) to build predictive models. A large stack of multi-source harmonized raster data sets (128 individual layers) were used as features. Models were fitted using scikit-map and scikit-learn libraries with recursive feature elimination and Poisson criteria to represent the distribution of the target variable. Intermediate rasters estimating potential land for livestock production based on grassland and cropland extent, along with biophysical features, were used to estimate the spatial domain of livestock. The final predictions at 1 km were further adjusted to annual headcounts based on Food and Agriculture Organization Corporate Statistical (FAOSTAT) national database to ensure consistency. Model benchmarking based on 10% test samples (with spatial blocking) shows that Random Forest outperforms Gradient Boosting Tree for predicting livestock densities, with concordance correlation coefficient (CCC) values of 0.603, 0.547, 0.622, 0.598, 0.689, and Root Mean Squared Error (RMSE) values of 104.59, 6.06, 67.57, 64.09, 30.37 (heads per km 2 ) for cattle, horses, sheep, goats and buffaloes. Feature importance analysis shows that the key variables include climate and socio-economic layers, such as water vapor, aridity index, land surface temperature, travel time to the nearest cities, and the spatial distribution of religious groups. Further evaluation of the output layers shows similar distributions to existing global livestock products (FAO Gridded Livestock of The World—GLW, and Annual Gridded Livestock of the World—AGLW). The spatial domain of livestock (active grazing/forage areas) is often difficult to validate, with many countries having very specific management cultures that can not be seamlessly represented using existing global raster layers, hence modeling distribution of livestock per country using local country-specific features (instead of using global models) could help increase accuracy, specially for regional/local applications. The modeling pipeline is open source and available on GitHub ( https://github.com/wri/global-pasture-watch ) with output layers (both original ML predictions and FAOSTAT-adjusted values) publicly available under Creative Commons Attribution (CC-BY) license on Zenodo ( https://doi.org/10.5281/zenodo.17491242 ).

Authors

Institutions

Publication Details

Journal
PeerJ
Published
2026-07-17
DOI
https://doi.org/10.7717/peerj.21494
Primary Topic
Remote Sensing in Agriculture
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Global distribution of cattle, horses, goats, sheep and buffaloes at 1 km resolution for 2000–2022 based on subnational census data and spatiotemporal machine learning

Carlos González Fischer, Tomislav Hengl, Steffen Ehrmann, Leandro Parente et al.
PeerJ
Remote Sensing in Agriculture
article

Global distribution of cattle, horses, goats, sheep and buffaloes at 1 km resolution for 2000–2022 based on subnational census data and spatiotemporal machine learning

Carlos González Fischer, Tomislav Hengl, Steffen Ehrmann, Leandro Parente, Carmelo Bonannella, Dominik Wisser, Radost Stanimirova, Žiga Malek, Giuseppina Cinardi, Katya Pérez, Lindsey Sloat, Carsten Meyer, Steffen Fritz
article en

Abstract

The article describes the production and evaluation of annual livestock densities and headcounts of cattle, horses, sheep, goats and buffaloes (including 95% probability prediction intervals) at 1 km spatial resolution for the 2000–2022 period using spatiotemporal machine learning. A compilation of subnational livestock census data has been imported, harmonized and used as reference data (55,336 census polygons and 939,257 individual data entries; covering 147 countries) to build predictive models. A large stack of multi-source harmonized raster data sets (128 individual layers) were used as features. Models were fitted using scikit-map and scikit-learn libraries with recursive feature elimination and Poisson criteria to represent the distribution of the target variable. Intermediate rasters estimating potential land for livestock production based on grassland and cropland extent, along with biophysical features, were used to estimate the spatial domain of livestock. The final predictions at 1 km were further adjusted to annual headcounts based on Food and Agriculture Organization Corporate Statistical (FAOSTAT) national database to ensure consistency. Model benchmarking based on 10% test samples (with spatial blocking) shows that Random Forest outperforms Gradient Boosting Tree for predicting livestock densities, with concordance correlation coefficient (CCC) values of 0.603, 0.547, 0.622, 0.598, 0.689, and Root Mean Squared Error (RMSE) values of 104.59, 6.06, 67.57, 64.09, 30.37 (heads per km 2 ) for cattle, horses, sheep, goats and buffaloes. Feature importance analysis shows that the key variables include climate and socio-economic layers, such as water vapor, aridity index, land surface temperature, travel time to the nearest cities, and the spatial distribution of religious groups. Further evaluation of the output layers shows similar distributions to existing global livestock products (FAO Gridded Livestock of The World—GLW, and Annual Gridded Livestock of the World—AGLW). The spatial domain of livestock (active grazing/forage areas) is often difficult to validate, with many countries having very specific management cultures that can not be seamlessly represented using existing global raster layers, hence modeling distribution of livestock per country using local country-specific features (instead of using global models) could help increase accuracy, specially for regional/local applications. The modeling pipeline is open source and available on GitHub ( https://github.com/wri/global-pasture-watch ) with output layers (both original ML predictions and FAOSTAT-adjusted values) publicly available under Creative Commons Attribution (CC-BY) license on Zenodo ( https://doi.org/10.5281/zenodo.17491242 ).

PeerJVol. 14
International Institute for Applied Systems Analysis (AT), Center for Global Development (US), Food and Agriculture Organization of the United Nations (IT), World Resources Institute (US), University of Ljubljana (SI), Cornell University (US), German Centre for Integrative Biodiversity Research (DE), Open University of the Netherlands (NL), Leipzig University (DE)
Deutsche Forschungsgemeinschaft
Openalex Percentile: Top 8%
Remote Sensing in Agriculture
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.