Background & Summary

Livestock grazing is a significant and widespread land use practice in drylands. Approximately 2.4 billion heads of livestock are distributed worldwide, providing livelihood to one billion people that earn $2 per day or less1. Population explosion, dietary shifts from plant- to animal-based consumption, globalization, and other social-environmental changes have increased the demand for meat and dairy products in dryland Asia2,3. This dramatic increase in livestock numbers has increased the scale and intensity of grazing, reshaping the grassland ecosystem’s species composition, structure, function, and dynamics4. Furthermore, livestock grazing systems have a broader, bi-directional interaction with climate change (CC). CC is widely characterized by drought and heat stress, causing loss of livestock production, feed availability (quality and quantity), and uneven distribution of water resources and disease vectors5. Meanwhile, the intensification of livestock densities and disturbances such as overgrazing cause environmental changes such as greenhouse gas emissions, elevated albedo, alterations in nitrogen and phosphorus cycles, and loss of biodiversity and ecosystem services6,7,8. However, unlike climate change, grazing impacts can be managed and regulated9, especially with a detailed assessment of livestock impacts10.

Rangelands facilitate various ecosystem functions and services apart from food that are non-provisioning in nature. Globally, rangelands have a long land-use history with species-rich vegetation communities that can store ~15% of the global organic carbon, protect soil fertility, prevent soil erosion, and influence the hydrologic cycle11. However, rangelands are also experiencing significant land cover changes and shifts, abandonment, and fragmentation due to livestock overgrazing and climate change12,13. Kazakhstan (KZ) is an interesting case study as these rangelands have historically undergone significant land-use change due to grassland conversion to cropland and intensifying livestock grazing before the reversal of these processes since the 1990s14,15. Previous studies have shown that 76.1% (2000–2015) of KZ is sensitive to desertification due to overgrazing, grassland conversion, mining, and infrastructure development and spends ~$5.4 billion annually to combat degradation16,17. However, a lack of longitudinal gridded livestock density (LSKD) datasets at the grid/county level has limited national-scale investigations of livestock impacts on terrestrial ecosystems. Livestock census data for KZ at the district level can be accessed from the Ministry of Agriculture or the national statistical agency websites. However, obtaining sub-district or village-level livestock numbers in KZ remains challenging. In addition, information on livestock farm locations, size and type, herd composition, production potential, and consumption behaviors (milk, meat, or wool) are not easily accessible. These shortcomings necessitate the development of high spatiotemporal gridded LSKD maps that enable precise livestock management, decrease environmental impacts, and use for a range of research and policy implications, from epidemiology and economics to environmental science7,8. The LSKD distribution further helps explain livestock systems and their environmental performance, determine spatial hotspots, and develop plausible strategies for environmental improvement18,19.

Livestock census data are generally publicly available only at the provincial/national level for most countries and lack timeliness20. These census data can be considered approximate ‘truth’ within the district/province; however, they fail to provide detailed information on the geographical distribution of livestock densities21. Hence, previous studies have aimed at developing gridded LSKD datasets at global, continental, national and regional scales, with various resolutions and animal species8,19,21,22,23,24,25,26. The Gridded Livestock of the World dataset (GLW), initially developed in 2007, with the most recent iteration (GLW-4) in 2022, produced global maps of cattle, buffaloes, horses, sheep, goats, pigs, chickens, and ducks for 2015 at a spatial resolution of 5 arcminutes (~10 km at the equator)27. GLW-4 uses dasymetric (DA) and area-weighted (AW) approaches to disaggregate statistical counts to gridded datasets8,28. Previous studies have mentioned that the accuracies of GLW are lowest in semi-arid and low-population regions due to the underrepresentation of livestock numbers that move seasonally across remote and inaccessible areas7,8,15. In addition, the GLW dataset was developed using livestock census data from first-level (provincial) administrative divisions for most countries (Russia, Kazakhstan, Mali, Sudan, and Saudi Arabia). The coarse resolution, lack of temporal spans and validation severely limit the suitability of the GLW for regional and local studies8,21. To complement the GLW project, Meisner et al.5 developed a longitudinal (2000–2020) gridded cattle and pig density dataset for Malawi and Uganda with a resolution of 0.017° (~1.88 km), and Li et al.21 developed cattle and sheep density datasets at five-year intervals. However, to our knowledge, no single study has developed high-resolution (1 km), multi-temporal small ruminant (sheep and goat) and horse density estimates spanning two decades for any region worldwide.

To fill these knowledge gaps, we aimed to develop gridded LSKD estimates for every year from 2000 to 2019 at 1 km resolution for KZ, facilitating their use in longitudinal analyses. Developing a small ruminant and horse density database is particularly important for Kazakhstan, as they significantly contribute to meat production, the pastoral economy, and land cover shifts. Mapping small ruminant densities provides insights into their extent and areas of concentration. Furthermore, mapping horse densities that have significant energy and nutritive elements assists in energy and fodder resource planning, thereby supporting their well-being and productivity, especially in regions of cultural and economic importance29. These databases can further assist policymakers and land managers in developing targeted land use, pasture management, and carrying capacity strategies. Developing high-resolution gridded estimates from statistical census data requires the integration of various forcing mechanisms of a social-environmental system (SES) (hydroclimatic and socioeconomic) to meet the requirements of spatial calculations, methods, and models. We seek to address the following research questions by developing the LSKD estimates: 1) What are the spatiotemporal distributions and trends of LSKD (small ruminants and horses) across KZ during the study period? 2) Do LSKD hotspots capture/follow settlement patterns? and 3) Which SES drivers are significant in explaining the LSKD distribution across KZ? To address these research questions, our objectives were to (i) employ a random forest (RF) regression model to disaggregate district-level livestock numbers into gridded estimates of LSKD, (ii) develop a high-resolution (1 km) gridded LSKD spatial database for small ruminants and horses in the KZ during 2000–2019 using vegetation proxies, climatic, socioeconomic, topographic, and proximity variables, (iii) detect spatiotemporal trends using Mann-Kendall and Sen’s slope approaches, and (iv) adjust the predictions with observed census data and validate them with maps from previous literature.

Methods

Study area

Kazakhstan, located at the center of Eurasia, is the largest landlocked country with an area of 2.72 million km2. It has 17 regions (oblasts) and 215 districts (rayons), with an estimated population of 19.2 million and a gross domestic product of 220.5 billion dollars (Fig. 1). Grasslands cover 85.4% of KZ (Fig. 1), followed by barren (5.79%), croplands (4.2%), water (2.73%), savannas (0.66%), and forests (0.33%)30. Most of these grasslands are in semi-arid regions receiving average annual precipitation of 100–300 mm/year (often as snow than rain)31. The KZ rangelands span across large elevation gradients (from −227 to 3000 m) and cover multiple ecological biomes, from the desert ecosystems (dominated by woody shrubs and ephemeral spring bulbs) to short and tall-grass steppes on the plains and alpine meadows32. The climate is extremely continental with fluctuating rainfall patterns, hot, dry summers (average temperature of 29 °C during June-August), and very cold snowy winters (average temperature of −20 °C during December-February)33. Stipa, Festuca and Artemisia dominate the grassland vegetation with fertile Chernozems soils in the northern part of KZ34. Before the Soviet Union collapsed in 1991, agricultural lands were generally used for growing cereals in the north and for livestock grazing in the south. After 1991, the country lost two-thirds of its livestock and one-third of its cropland. Since 2000, KZ has experienced a 15% recovery of abandoned croplands and a 30% increase in livestock numbers (compared to 1998)14. The livestock in KZ are raised in three different farm types: (i) agricultural enterprises with a few thousand to tens of thousands of animals, (ii) private farms with tens to thousands of livestock and (iii) household farms with only a few livestock. While 60% of grazing livestock are raised on household farms, private farms are the fastest-growing farm types and differ the most in size and grazing practices15. Notably, private farms and enterprises can legally lease pastures on state lands, whilst households have legal access only to kitchen gardens and village pastures available to all residents.

Fig. 1
figure 1

Land cover map of Kazakhstan overlaid with selected sample points, provincial boundaries (black), and district boundaries (grey). The map was derived from MODIS MCD12Q1 land cover product for 2020.

Social-environmental system (SES) database

The spatial heterogeneity of resources and environmental factors have a significant impact on the distribution of livestock. Hence, based on the existing literature, we identified and obtained 13 SES factors that may potentially influence LSKD distribution21,24,35,36,37. The variables with global extents were selected to facilitate the replication of the current study in other geographic regions (Table 1). Net primary productivity (NPP) and leaf area index (LAI) were derived from moderate-resolution imaging spectroradiometer (MODIS) sensors38,39. Annual precipitation, air temperature and vapor pressure deficit data were computed from climatologies at high resolution for the earth’s land surface areas (CHELSA) dataset40. Soil moisture, snow depth and net downward shortwave radiation were obtained from the famine early warning systems network (FEWS NET) land data assimilation system (FLDAS) dataset41. Elevation data was obtained from the shuttle radar topographic mission (SRTM)42. The location and temporal distribution of surface water were obtained from the joint research center (JRC) yearly water classification history, v1.4 dataset43. Pixels with permanent water bodies were extracted from this dataset, and Euclidean distances were calculated to derive the distance to water body maps for each year. Settlement locations were downloaded from the Geofabrik website, and Euclidean distance was calculated to derive the distance to the settlement map. The settlement shapefile was extensively corrected using imagery from OSM, Bing, Google, and Yandex, national census data, administrative boundaries maps, and Wikipedia articles containing coordinates to ascertain the locations of settlements. Annual population density estimates were downloaded from the Worldpop website44. Nighttime light data was obtained from the defense meteorological satellite program (DMSP) nighttime lights extension dataset45,46. Most of these datasets were downloaded through Google Earth Engine for 2000–2019 but rescaled to annual and 1 km spatial resolution.

Table 1 Description and data sources of the predictor variables considered in the study.

NPP and LAI were chosen because they indicate forage biomass availability, which varies geographically and supports livestock47. Environmental variables, such as precipitation, temperature, solar radiation, and vapor pressure deficit, were included to reflect climatological differences across regions. These environmental variables directly affect vegetation growth and indirectly impact livestock distribution by determining feed and water availability in a given area36,37,48. Additionally, the distance to settlements and water bodies was included as high-productive forage close to residential areas, and water bodies are more convenient for herders to allow livestock to graze21,37. Elevation was selected as it affects biotic variables, such as plant species composition and production, affecting livestock grazing distribution and movement49,50. Population density and nighttime lights were also considered as livestock are generally clustered around settlements with human populations15. Although the variables selected were not comprehensive, they were highly representative and reflected various heterogeneous aspects of livestock distribution.

District-level livestock numbers for small ruminants (i.e., sheep & goats combined) and horses were obtained from the Bureau of National Statistics, KZ (Table 1) for 2000–2019. Two years (2000–2001) of livestock statistics are missing for districts in Aktobe Oblast, and one year (2000) is missing from districts in Atyrau Oblast. The statistics for these missing years were linearly interpolated from the year before (1999) to the year after (2002 and 2001, respectively). District shapefiles were obtained from the database of the global administrative areas (GADM) website (Table 1). LSKD estimates were computed by dividing the livestock numbers with the district-level areal estimates. These LSKD estimates computed across years were assigned to the district shapefiles and were converted to rasters with a 1 km resolution for 2000–2019. Due to the geopolitical restructuring of KZ’s administrative districts during the study period, numbers from several affected districts were summed to generate a final database of 200 LSKD sample points per year.

Gridded livestock density: predictions

During Soviet times, the human population was settled in permanent villages with structured and strictly regulated livestock migration (grazed in large, transhumant, communal herds) across the pastures15. Fodder was provided under subsidized networks, especially during winter, to supplement livestock. After the Soviet Union collapsed, long-distance migration was immobilized, with the human population remaining sedentary and livestock housed primarily on small household farms51. This immobilization caused overgrazing around settlements, while outposts farther away fell into disrepair14,34,52. The livestock housing unit locations or sub-district level livestock data are required to capture these livestock density patterns around settlements. Lack of these datasets and, based on personal observation and expert guidance, we assumed that settlement locations could serve as proxies to capture grazing distribution near settlements.

Our primary objective is to enhance the sampling strength from 200 to 2000 points to train and test the machine learning model effectively. This can be achieved by (i) selecting ten random points or (ii) ten settlement locations across each district. In either case, we assign the same livestock density value to the 10 points per district, as we do not have data at a higher resolution than the district level. We chose option two of selecting ten settlement points with a higher human population from the available 100 or 1000 settlement points in each district. Therefore, we first obtained settlement locations (i.e., city, hamlet, town, and village) across KZ and tagged the human population counts for each settlement location to capture the LSKD distribution around settlements. We then chose the top 10 settlement locations per district by the human population, increasing the sampling strength to 2000 samples for each year. The selected 2000 settlement points cover hamlets, villages, towns, and cities with a human population ranging from 10 heads to 1.36 million heads. Of these 2000 settlement locations, 87% of the points are from rural areas (336 hamlets and 1412 villages), and the rest from towns and cities. These 2000 settlement location points spread across KZ were used to extract the training and testing data from the livestock and environmental variables. While the settlement location is the same across years, the predictor and response variable values vary across years, allowing us to capture the changing livestock density values. The 2000 sample points are extracted based on three main assumptions, namely, 1) settlement locations are proxies of livestock housing units, 2) higher population settlements would have higher livestock density than other settlements in the district, and 3) ten settlement locations would suffice RF model training and testing.

We first developed 12 RF models for predicting small ruminant density in 2015 with (i) 2000 samples each from the settlement locations and their respective buffers (2, 5 and 10 km radius), and (ii) train-test split ratios of 70:30, 80:20 and 90:10 for accurate estimates of gridded LSKD. The buffer distances were selected based on literature to account for daily livestock movements while disaggregating the district-level to grid-based estimates15,52,53,54,55,56. The sample points from the settlement locations and its three buffered polygons (2, 5 and 10 km) were used to extract data from the livestock rasters and 13 predictor variables to train and test an RF model (Fig. 2). Once the RF model was trained and tested with the livestock and predictor variables of the sampling data, it was applied on the predictor variable rasters obtained for 2015 to develop spatial livestock density map for 2015. The RF model-derived small ruminants map for 2015 was validated with the GLW dataset and maps from previous literature8,47,57,58.

Fig. 2
figure 2

Schematic diagram of workflow for predicting livestock density with potential socioeconomic-environmental variables using district-level livestock census data with random forest regression model for 2000–2019 in Kazakhstan.

Previous studies have also shown that RF proved efficient at predicting spatial patterns of species distribution compared to traditional linear models19,59,60,61,62. RF integrates multiple decision trees and activates attribute selection during training, alleviating over-fitting that generally occurs in conventional machine learning algorithms63. The closest parallel approach to our study is the development of GLW and Worldpop datasets that implemented a similar downscaling approach and proved that RF provides better predictions than land-use-based downscaling approaches8,19,44,64,65. These studies are very similar in their objectives to downscaling human/livestock population census data to the grid/pixel level. In addition, the RF model has also been widely implemented to downscale spatial resolution of various climate and vegetation datasets66,67,68.

Mann-Kendall (MK) and Sen’s slope (SS) trends were computed to examine the positive (increasing) or negative (decreasing) LSKD trends from the model predictions69,70. More details regarding MK and SS trends can be found in Venkatesh et al.31. The buffer distance and data split ratio were obtained from the best-performing RF model (out of 12 models) that accurately captured the patterns and density values. While the data split ratio and buffer distance were held constant for all years, hyperparameter tuning, training, and testing of the RF model were performed independently for each year (Fig. 2).

Hyperparameter tuning was performed by optimizing the number of randomly drawn candidate variables (mtry) and the number of trees (ntree) to minimize errors and improve the model accuracy. We implemented 10-fold cross-validation with five repetitions to optimize the hyperparameters and select the best subset model71. The coefficient of determination (R2), root mean square error (RMSE), and mean absolute error (MAE), were evaluated during the training and testing phases to test the model performance (Fig. 2). We computed variable importance to identify the top predictors contributing to LSKD prediction. We further developed response curves to understand the influence of biophysical and socioeconomic factors on LSKD distributions. The response curves were created by plotting mean predicted livestock densities against the corresponding values of a particular covariate, where other covariates in the model were held constant at their median value62.

Adjusting livestock density predictions

Predictions from the ML models need to be adjusted because downscaling might not accurately simulate identical livestock density values at the district and grid scales. For each district, the pixel values were multiplied by the ratio of observed livestock density estimates from census data to the sum of pixel values in the district obtained from the RF model. The livestock density adjustment was performed each year using the following equation8,21.

$$Ad{j}_{i}={P}_{i}\times \frac{{O}_{j}}{{P}_{j}}$$
(1)

Where i represents a pixel or grid and j represents an administrative district. Adji is the adjusted livestock density value of grid i, and Pi is the predicted livestock density value of grid i. Oj is the observed total livestock density in administrative district j, and Pj represents the predicted gridded livestock density of the corresponding administrative district.

Data Records

The developed database is publicly available for download from the figshare repository (https://doi.org/10.6084/m9.figshare.23528232)72. The repository has three folders with small ruminants, horses, and sample code and data in separate folders. Each file is saved in GeoTiff format with 1-km spatial resolution and an Albers equal-area conic projection. Each file is saved with an acronym of ‘sr’ for small ruminants (Sheep & goat) and ‘hr’ for horses, followed by an underscore and a year. Missing data are represented by “No data.”

Technical Validation

Spatiotemporal changes in livestock density

We implemented the RF models to estimate LSKD at 1 km2 resolution for KZ. Each RF model was initially trained and tested with different data split ratios and buffered distances for small ruminant density data in 2015. We computed the independent test score, which is more indicative of the model generalization ability because it was not used in training, and the cross-validation (CV) score, which is more representative because it reflects the model performance on 80% of the data rather than only the 20% used for testing (Table 2). The RMSE/MAE of the CV score dropped when the RF model was developed using a 90:10 data split ratio instead of 70:30 for settlement, 5 km, and 10 km buffered locations but increased for 2 km buffer distances (Table 2). Similarly, the RMSE/MAE test scores decreased with a 90:10 data split ratio for settlement and 2 km buffered locations but increased for 5 km and 10 km buffering distances (Table 2). When RF was tested with a 90:10 split ratio, R2 increased for the 5 km and 10 km buffered datasets for test scores and all buffering distances for CV scores (Table 2). Overall, the RF model performed best with 10 km buffered data and a 90:10 data split ratio, with low RMSE/MAE and a high R2 (Table 2). Hence, this data split ratio and buffer distance were held constant for all years, and hyperparameter tuning, CV, training, and testing of the RF model were performed independently for each year to develop maps for other years (2000–2019) and livestock (horses and small ruminants).

Table 2 Cross-validation and independent test scores of random forest regression model for predicting small ruminants (sheep & goat) density with different buffer distances and data split ratios for 2015 (lower RMSE/MAE and higher R2 indicate better model fit).

Gridded LSKD databases for 2000–2019 were developed (Supplementary Figs S1, S6), fit statistics (R2, RMSE and MAE) were calculated (Supplementary Table S1), and maps with 5-year intervals were produced (Fig. 3, 4). The predicted database was adjusted using the livestock density adjustment method to ensure that the cumulative values of the pixels within a district match the total livestock density recorded in the census database for a specific year. The fit statistics for small ruminant density estimates showed that RMSE ranged from 5.16 to 18.12, MAE from 2.34 to 4.76, and R2 from 0.63 to 0.94 for 2000 to 2019 (Supplementary Table S1). Similarly, for horse density estimates, RMSE ranged from 0.43 to 2.86, MAE from 0.21 to 0.78 and R2 from 0.54 to 0.8 for 2000 to 2019 (Supplementary Table S1). Higher LSKD hotspots were found in the southern and southeastern regions of KZ, namely, Turkistan, Zhambyl and Almaty, for all years (Supplementary Figs S1, S6). Additionally, medium-density livestock hotspots were evident in the western and northern Kazakhstan regions, namely, West Kazakhstan, North Kazakhstan and Aqmola (Fig. 4, 5). The higher livestock densities evident as dots from enlarged patches indicate that the RF model allocated higher LSKD values following settlement patterns (Figs. 35).

Fig. 3
figure 3

Spatial distribution of estimated small ruminant (sheep & goat) density across Kazakhstan for 2000–2019 (ae). The enlarged circles show livestock density in three demonstration areas.

Fig. 4
figure 4

Spatial distribution of estimated horse density across Kazakhstan for 2000–2019 (a-e). The enlarged circles show livestock density in three demonstration areas.

Fig. 5
figure 5

Spatial distribution of estimated small ruminant (sheep & goat) density based on random forest regression models that have a 90:10 split ratio and 10 km buffer distance for Kazakhstan in 2015. The enlarged portions with black borders show predicted livestock density distributions in six demonstration areas of Kazakhstan. The enlarged portions with red borders show settlement locations (n = 7234) obtained from the Geofabrik website in six demonstration areas of Kazakhstan. The settlement locations were extensively corrected using imagery from OSM, Bing, Google, and Yandex, national census data, administrative boundaries maps, and Wikipedia articles containing coordinates to ascertain the locations of settlements.

The MK test results for small ruminants and horses revealed significant (p < 0.05) positive trends across KZ with a smaller patch of negative trends in Qaraghandy, Qyzylorda, Almaty and Aqtobe regions (Fig. 6). Small ruminant, and horse density slope estimates ranged from −0.75 to 0.75 head/km2 and −0.1 to 0.1 head/km2 across the country, with the highest slopes in the southern (Turkistan, and Zhambyl) and southeastern (Almaty and East Kazakhstan) regions of KZ (Fig. 6). High, positive slopes were also found in Aqmola, Pavlodar, North Kazakhstan, West Kazakhstan, and Qaraghandy regions (Fig. 6).

Fig. 6
figure 6

Spatial distribution of Kendall’s Tau and Sen’s slope for small ruminants (a,b) and horses (c,d) during 2000–2019. Dots indicate pixels with significant p-values (p < 0.05).

Validations

Mann-Kendall trends and Sen’s slope analysis showed that the reconstructed LSKD estimates exhibited increasing trends and relative differences in rates of change in space across KZ for 2000–2019. These trends align well with previous findings that showed that KZ experienced an upward trend of sustained and steady growth in livestock densities from 200331,73,74,75. Furthermore, the reconstructed LSKD estimates were compared against the GLW (2010 and 2015), and off-take rate datasets (2015) developed for KZ (Supplementary Fig. S7). The off-take rate signifies the percentage of vegetation consumed by livestock, and higher off-take rate values indicate greater grazing activities. Visual validation with the GLW and off-take rate maps confirms that the reconstructed maps captured higher LSKD in southern and southeastern Kazakhstan regions along with medium density values in northern and western regions (Supplementary Fig. S7). However, the predicted maximum GLW sheep & goat (167.5 and 164.6 for 2010 & 2015, respectively) and horse (7.4 and 6.6 for 2010 & 2015, respectively) density values are significantly lower than the observed census and our prediction results (small ruminants − 844.3 and 858.3 and horses − 60.2 and 83.2 for 2010 & 2015, respectively) (Supplementary Fig. S7). The underestimation in the GLW might be due to the lack of district-level data for the dataset development. Indeed, the GLW dataset developers have discouraged using the GLW in countries such as Russia, Kazakhstan, Mali, Sudan, and Saudi Arabia8,21.

Apart from GLW, Piipponen et al. (2022) developed global livestock carrying capacity maps for 2001–2015 and a relative stocking density (RSD) map for 2010 using GLW, NPP, slope, temperature, forest, and grassland cover as inputs47. Regional assessment through visual validation shows that the RSD for south-central and southeastern parts of KZ were categorized as overstocked, which matches our areas of high LSKD estimates. In addition, northern and northeastern regions were categorized under medium pressure, while central and southwestern regions were categorized under low pressure, matching our LSKD distributions. Though the units or maps were not directly comparable, the RSD was derived by dividing GLW livestock densities by the potential density that could be available based on grass biomass availability47. In another study, Erb et al. (2007) developed a grazing suitability map that categorized most regions of KZ in the lowest suitability class for grazing57. However, the few high-suitability regions (e.g., south and southeast) match our areas of high LSKD clusters. A nationwide livestock survey was carried out by Schettino et al. (2021) to collect geographical coordinates of small ruminant holdings and livestock population counts in KZ during 2018–201958. They georeferenced 2478 small ruminant holding locations, and visual validation confirms that the current LSKD predictions align with those areas of livestock farm locations.

Animal husbandry accounts for 75% of all agricultural lands in KZ, which includes croplands and grasslands allocated to feed production15. The cultivated lands utilize agropastoral production systems, where agricultural waste can feed herbivorous livestock, promoting livestock breeding2,76. In addition, the grasslands utilize pastoral production systems that provide high-quality forage and space for raising livestock21. Our results align with these patterns as we found medium to higher livestock density concentrations in cultivated and grassland areas across all years in KZ. Medium-density livestock hotspots are found on cultivated lands in the northern and southern parts of KZ, as these regions have high grazing areas under agropastoral production systems. We also found high-density hotspots in pastoral production systems in the western plains and southern mountainous regions with high precipitation, snow, radiation, and temperatures that promote forage growth. In addition, the low-density livestock hotspots were spread across the country near settlements, as a vast area of KZ supports pastoral production systems.

We used a 10 km buffer radius for sampling the predictor datasets, which might induce spatial autocorrelation or clustering if suitable predictor variable values are available in neighboring pixels. The 10 km buffer captures livestock sedentarization around settlements and accounts for livestock that travel larger distances ( > 10 km). Moreover, lower buffer distances (2 and 5 km) did not result in better predictions, mandating using 10 km buffers. Additionally, spatial autocorrelation or clustering might occur as a stratified selective sampling strategy was used instead of stratified random sampling to sample predictor variables. Previous studies on livestock assessments have also detected spatial autocorrelation, clustering, or hotspots, which have helped to understand the characteristics of distribution and transition and to derive meaningful information for managing grasslands23,77,78,79. Clustering, despite potential contention, demonstrably represents genuine spatial dependence patterns inherent in the distribution of livestock. The identified hotspots can help herders and land managers devise proactive measures, village awareness programs, and on-the-ground actions for preventing livestock grazing in highly dense clusters and degraded areas80. The optimization of productive areas for grazing and identifying livestock density hotspots based on resource availability is a topic of ongoing scholarly discourse. Moreover, it serves as a basis for developing and implementing government policies in various regions78.

Significant SES variables

Variable importance from the RF model showed that temperature, population density, distance to settlements, vapor pressure deficit, solar radiation, and nighttime light were the top contributing drivers for horse and small ruminant density distributions (Supplementary Fig. S8). Spatial distributions of the predictors were created to examine the patterns of allocated livestock spatial densities (Supplementary Fig S9). The RF model allocated higher LSKD values where population density is higher and distance to settlements is lower. It also allocated higher livestock densities in the southeastern mountainous regions where precipitation and snow depth are high, temperature and vapor pressure deficit are low. (Supplementary Fig S9). Response curves were plotted for better visualization of the contribution of SES variables on LSKD prediction (Fig. 7). We found that increasing population density, elevation, nighttime lights and decreasing distance to settlements showed increasing LSKD (Fig. 7). We also found that increasing precipitation, temperature, solar radiation and decreasing snow depth increased LSKD (Fig. 7). Furthermore, decreasing vapor pressure deficit increased horse density estimates and resulted in stable estimates for small ruminant density predictions. In contrast, increasing vapor pressure deficit increased small ruminant density estimates and contributed to stable estimates for horse density predictions (Fig. 7).

Fig. 7
figure 7

Response curves for the top-ranked covariates in predicting small ruminants (sheep & goat) (ai) and horse density (jr) with random forest regression models. The horizontal axis shows the standardized predictors, whereas the vertical axis shows livestock density.

Our results showed that socioeconomic and climate-related factors efficiently explained the spatial LSKD distributions in KZ. Previous studies have shown that precipitation and temperature significantly affect the amount and quality of forage, consequently affecting the grassland carrying capacity for livestock81,82,83. Elevated precipitation levels increase above-ground biomass, enabling herders to maintain more livestock at these productive sites, where forage consumption is higher84. Furthermore, few studies have shown high grassland carrying capacities during summer, owing to the high foraging value in relatively warm and humid conditions81,85. The strong relationship between livestock, human population density and proximity to settlements reflects (i) the huge demand for meat in the rural-urban continuum, (ii) the need for people and infrastructure to raise livestock, and (iii) the importance of KZ as an exportation hub2,32,75,86. Larger livestock herds in KZ are generally mobile, traveling to remote locations during the summers and sometimes moving to remote bases in the winter months. Small to medium livestock herds are more likely to be housed in and around the settlements and locations with water access for feeding or grazing32,52,87,88. For centuries, pump wells were an integral component of grazing migrations in KZ. Thousands of new pump wells and outposts that serve as seasonal base camps were constructed during the Soviet era to support the regulated migrations of larger livestock herds. However, after the Soviet Union collapsed, most of these outposts were abandoned, and the wells deteriorated15,89,90. We could not consider wells and outposts in modeling LSKD distributions because of a lack of national data on the location of working wells or occupied outposts. Hence, we considered the distance to water bodies as a proxy of surface water availability, but it did not result as an important driver in our modeling. This might be because the water body locations used in the current study are derived from the Landsat satellite series that detects and counts a small patch of water area as a water body43. This generated ~0.2 million water body locations across KZ (Supplementary Fig. S10), altering proximity distances and true water sources for livestock.

Limitations and assumptions

Our modeling framework was developed based on the following assumptions: 1) Generally, larger livestock herds in KZ travel to areas remote from settlements (outside our 10 km buffers) during summers for grazing. However, we have limited our buffer distances to 10 km around the settlements that account for the daily mobility of livestock from villages returning at night. 2) Although livestock in KZ follows transhumance concerning seasons, the models were developed with annual livestock census data and did not consider seasonal movements of livestock. 3) We selected ten settlement locations per district, assuming that livestock co-exists with the human population and are housed in and around the settlements. However, some livestock are housed at remote bases well outside settlements. 4) We selected ten settlements per district from the available 100 or 1000 settlement points with a high human population. However, larger herds may be available in rural areas with minimal human population. 5) We assigned the same livestock density values to all 10 settlement locations in a district. However, in reality, livestock densities depend on farm type, availability of forage, water, and other biophysical characteristics in and around the settlements.

The current study has the following limitations: 1) KZ has a national livestock database linked to the national identification program, where every owner must declare each animal owned, all births, deaths, and sales. KZ also has sub-district or village-level livestock counts tagged with geographical information. However, the database is not publicly available and must be collected from each village/district office, which is tedious and time-consuming, thereby limiting the analysis to district-level input data and preventing model validation at the village level. 2) The lack of seasonal livestock density data at the district or sub-district level limits the analysis of animal movement patterns and seasonal livestock density maps. 3) We used human population settlements as a proxy of livestock farm locations due to the absence of information on the geographical distribution of animal farm units. Despite these limitations, the developed database could provide new insights into public health, sustainable livestock ecosystem-environment management, and food security.

Our work compliments GLW-4 with longitudinal, high-resolution gridded LSKD estimates, a high demonstrated validity, and broad potential utility. Previous studies have used similar livestock-related attributes to (i) determine hotspots of livestock-induced pollution91, (ii) enhance accuracy in emission inventory and water/air quality simulations92,93,94, (iii) assess eutrophication potential caused by manure emissions95,96, (iv) combine crop-livestock systems to promote circular agriculture97,98,99, etc. We propose that the current approach with limited spatial predictors efficiently explains the spatial and temporal changes of LSKD in KZ. However, other factors related to land cover, demographic changes in farmer population, farm sizes, migration, governance and politics, policy implementation and subsidies, and attractiveness of other sector employment could be considered when modeling LSKD patterns for future years. We did not test the model with more or fewer settlement location points per district, which can be tested in future studies. Different machine learning or deep learning algorithms should be tested in the future to develop livestock density maps. Finally, future studies could also map cattle distributions and differentiate grazing intensity and housing systems by categorizing livestock maintained under agricultural, private, and household farms for multiple years.

Usage Notes

The database can aid in livestock-related studies, as obtaining sub-national livestock census data is challenging. The current study provides a crucial step forward in understanding LSKD distribution in Kazakhstan. The modeling framework is transformative to other regions when observed livestock census data are available, albeit different split ratios and buffer distances around the ruminant holding locations need to be explored for accurate mapping. The developed livestock database can be used in spatially explicit research, such as quantifying grass-livestock balance, water consumption by animal husbandry, methane emissions, risk of zoonotic diseases and other environmental impact assessments. Both the lessons and database, generated from this study serve as essential foundation for sustainable livestock management, food security and other relevant practices and policy development in Kazakhstan.