Gridded Livestock of the World, version 4 (GLW 4) maps modelled densities of six livestock species: buffalo, cattle, sheep, goats, pigs, and chickens. This data is for the 2020 reference year. Densities are estimated with a Random Forest model that downscales harmonized subnational census counts onto a regular grid, so the values represent modelled distributions rather than direct observations. All of the values are number of animals per km^2
Important note
Values are densities (head/km²), so individual pixel values are valid anywhere. However, the data are distributed in lat/long (EPSG:4326), where pixel ground area shrinks toward the poles. A standard lat/long map visually over-represents high-latitude densities, and naive spatial aggregation (totals, means, zonal statistics) assuming equal-area pixels will be biased. Reproject to an equal-area projection or weight by true pixel area for visualization and area-based analysis.
Quick start
import xarray as xr
url = "https://digital-atlas.s3.amazonaws.com/cdh/data/glw4-2020/glw4-2020.zarr"
ds = xr.open_zarr(url)
import rioxarray
url = "https://digital-atlas.s3.amazonaws.com/cdh/data/glw4-2020/cog/glw4-2020-buffalo.tif"
da = rioxarray.open_rasterio(url, masked=True)library(stars)
url <- 'ZARR:"/vsicurl/https://digital-atlas.s3.amazonaws.com/cdh/data/glw4-2020/glw4-2020.zarr"'
ds <- read_mdim(url, proxy = TRUE)
library(terra)
url <- "/vsicurl/https://digital-atlas.s3.amazonaws.com/cdh/data/glw4-2020/cog/glw4-2020-buffalo.tif"
r <- rast(url)Intended uses
- global and regional analysis of livestock distribution
- livestock exposure layers for hazard, disease, and emissions assessment
- spatial targeting at national and sub-national scale
Not recommended for
Why: values are spatially modeled estimates derived from census and other data
Use instead: official livestock census counts where available
Variables
| Variable | Type | Unit | Description |
|---|---|---|---|
| Livestock Density | float32 | {head}/km-1 | Number of livestock per km2 |
Dimensions
Axes of the cube — spatial, temporal, and domain axes.
The livestock species for which the data is provided
Access & use
Cloud-optimised distributions — read just the window you need directly from object storage.
Machine-readable file index: STAC Collection
Data
Zarr store of GLW 4 2020
Format: Zarr — best for cloud-native analysis, reading just the slices you need from the full cube
No Data: NaN
Access the data
https:/
Other access methods
Cloud-optimized GeoTIFFs of GLW 4 2020
Format: Cloud-Optimized GeoTIFF — best for single-file downloads, visualisation, and traditional GIS tools
No Data: -3.4028235e+38
Access a specific fileDownload
https://digital-atlas.s3.amazonaws.com/cdh/data/glw4-2020/cog/glw4-2020-buffalo.tif
Other access methods
File pattern: glw4-2020-{species}.tif
Technical metadata
The full spatial, temporal, and modelling detail behind the summaries elsewhere on this page.
Spatial
- CRS
- EPSG:4326
- Extent (W S E N)
- [-180, -90, 180, 90]
- Coverage
- World
- Resolution (xy)
- 5 arc-minutes (~10km at equator)
Temporal
- Reference date
- 2020
Record
- Resource type
- dataset
- Created
- 2026-06-23
- Updated
- 2026-06-23
Provenance
Ordered processing steps, from source to publication.
- source2024-07-15
Original GLW 4 release
- cloud-optimize2026-06-23
Optimize data for cloud storage
How to cite
Please cite the dataset and any associated peer-reviewed publications.
Food and Agriculture Organization of the United Nations (2024). GLW 4: Gridded Livestock Density (Global - 2020 - 10 km) [Data set]. FAO Agro-Informatic Data Catalog. https://data.apps.fao.org/catalog/dataset/9d1e149b-d63f-4213-978b-317a8eb42d02 Accessed through the CGIAR Climate Action Data Hub, https://cgiar-climate-data-hub.github.io/catalog/glw4-2020/.
Food and Agriculture Organization of the United Nations (2024) GLW 4: Gridded Livestock Density (Global - 2020 - 10 km) [Data set]. FAO Agro-Informatic Data Catalog. Available at: https://data.apps.fao.org/catalog/dataset/9d1e149b-d63f-4213-978b-317a8eb42d02. Accessed through the CGIAR Climate Action Data Hub, https://cgiar-climate-data-hub.github.io/catalog/glw4-2020/.
Food and Agriculture Organization of the United Nations. 2024. “GLW 4: Gridded Livestock Density (Global - 2020 - 10 km).” FAO Agro-Informatic Data Catalog. https://data.apps.fao.org/catalog/dataset/9d1e149b-d63f-4213-978b-317a8eb42d02. Accessed through the CGIAR Climate Action Data Hub, https://cgiar-climate-data-hub.github.io/catalog/glw4-2020/.
@misc{glw4_2020_2024,
title = {GLW 4: Gridded Livestock Density (Global - 2020 - 10 km)},
author = {Food and Agriculture Organization of the United Nations},
year = {2024},
publisher = {FAO Agro-Informatic Data Catalog},
url = {https://data.apps.fao.org/catalog/dataset/9d1e149b-d63f-4213-978b-317a8eb42d02},
note = {Accessed through the CGIAR Climate Action Data Hub, https://cgiar-climate-data-hub.github.io/catalog/glw4-2020/}
}Related publications
Contacts
Who produced this dataset, and who to reach about it.