Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

A suite of global, cross-scale topographic variables for environmental and biodiversity modeling


Topographic variation underpins a myriad of patterns and processes in hydrology, climatology, geography and ecology and is key to understanding the variation of life on the planet. A fully standardized and global multivariate product of different terrain features has the potential to support many large-scale research applications, however to date, such datasets are unavailable. Here we used the digital elevation model products of global 250 m GMTED2010 and near-global 90 m SRTM4.1dev to derive a suite of topographic variables: elevation, slope, aspect, eastness, northness, roughness, terrain roughness index, topographic position index, vector ruggedness measure, profile/tangential curvature, first/second order partial derivative, and 10 geomorphological landform classes. We aggregated each variable to 1, 5, 10, 50 and 100 km spatial grains using several aggregation approaches. While a cross-correlation underlines the high similarity of many variables, a more detailed view in four mountain regions reveals local differences, as well as scale variations in the aggregated variables at different spatial grains. All newly-developed variables are available for download at Data Citation 1 and for download and visualization at

Design Type(s) source-based data transformation objective
Measurement Type(s) Topography
Technology Type(s) computational modeling technique
Factor Type(s)  
Sample Characteristic(s) Earth (Planet) • elevation • physiographic feature • slope • Cardinal Direction • curvature

Machine-accessible metadata file describing the reported data (ISA-Tab format)

Background & Summary

Spatial heterogeneity is an important driver of environmental complexity in a region and influences the sub-regional variation of (i) abiotic factors such as micro/macro climates, soil composition, dynamic processes of the hydrological systems and (ii) biotic factors such as species richness and structure, population complexity, animal movement1. Topography as measured by elevation and its derived variables (e.g., slope and aspect), is key for characterizing spatial heterogeneity and the abiotic environment in a given area, subsequently driving hydrological, geomorphological, and biological processes1,2. For instance, elevation has numerous dependencies regarding topographic complexity, micro/macro climates or land cover, and can be used to assess biodiversity patterns across the globe by relating species occurrences to environmental factors3,4. Besides using the ‘raw’ elevation from a digital elevation model (DEM), a multitude of topographic metrics can be extracted from the DEM to better understand the physical geographic context and landscape properties of a study region3,5. For instance, slope and terrain curvatures (defined as a measure of the concavity and convexity, or convergence and divergence) play an important role in catchment-related hydrological responses driving the flow direction, water runoff velocity, water accumulation, soil erosion and soil moisture6. Similarly, topographic variation strongly influences the accumulation and heterogeneity of mountain/alpine snow cover7 and landslide formation8. All these factors regulate the water availability in soil and thus directly influence vegetation moisture, and this constitutes an important element for wildfire risk modeling9. Specific terrain attributes may also provide important conditions facilitating the movements and migration of mobile species such as birds10,11. Moreover, terrain characteristics may represent vital refugia for species under climate change12, a function that likely varies with spatial grain.

Traditionally, DEMs have been derived from aerial photography with stereoscopy or ground surveys. In the last decades, advances in remote sensing technology have contributed to the availability of DEM products with different spatial grains. These products provide gridded information about land surface elevation, where fine spatial grain DEMs (<10 m) derived from laser sensors (e.g., Light Detection and Ranging—LIDAR), and DEMs on medium (10-100 m) to coarse spatial grains (>100 m) are obtained from optical sensors (e.g., Advanced Spaceborne Thermal Emission and Reflection Radiometer—ASTER) and radar sensors (Shuttle Radar Topography Mission—SRTM)13. Beside a global cover age at coarse spatial grains, also national and regional DEMs at fine grains are available, such as ArcticDEM (2 m), TanDEM-X (12 m), 3DEP (1 m), CDEM (25 m), AW3D (5 m). Nonetheless, these DEMs are not fully calibrated and their local extension does not allow a global implementation.

Environmental and biological processes depend strongly on the spatial grain of the input variables14,15. For instance, to successfully predict species occurrences using species distribution models, the spatial grain of the environmental variables has to match and agree with the sample size and spatial data accuracy, extent of the species data, movement and dispersal range, etc. Coarsening the environmental predictors to, e.g., 50-100 km, may be needed to match coarse atlas data, expert range information, or point records with a high spatial uncertainty16,17.

A variety of DEMs elaborated under different projects are currently available and grouped/listed at However, the calculation and aggregation of elevation-derived variables across spatial grains are typically done on a case-by-case basis. Hence, a coherent and standardized framework for obtaining range-wide, spatially aligned, and ready-to-use topographic variables at different spatial grains is missing. Currently available DEMs may lack the quality required for many applications. For instance, ASTER GDEM contains artifacts and outliers (i.e., abrupt rise—‘humps/bumps’; fall—‘pits’) that require post-processing to remove errors or offsets using additional sources (i.e., SRTM or ICESat laser altimetry)18. These anomalies can produce large elevation errors on local scales and impede the use of ASTER GDEM for specific applications. Hydrological applications, for example, require high quality standardized inputs to derive watershed properties that are, in turn, used to track water flows and quality. Similarly, watershed delineation, drainage divide and channel network increasingly rely on digital data from DEMs and derived topography metrics rather than manual or visual interpretation from photography or ground data. In addition, as topography is one of the major driver of local temperature and precipitation patterns, topographic layers (elevation and aspect in particular) are important inputs in many climate layers (e.g., WorldClim Errors or inaccuracies in the inputs can propagate throughout the analyses and derived datasets. Assembling readily available data of high quality is therefore useful in many fields. Of particular relevance for many applications is a global coverage and comparability among different regions. This is emphasized by assessment processes such as those of the Intergovernmental Platform for Biodiversity and Ecosystem Services (IPBES)19, where global availability and comparability of data is crucial. The modeling of species distributions worldwide, as targeted in projects such as Map of Life (https://www.mol.org20), requires a rich stack of global environmental information, which to date, has only been partially developed in regards to terrain.

To address the lack of readily available topographic variables at a global extent, we calculated a suite of elevation-derived topographic variables based on the 250 m Global Multi-resolution Terrain Elevation Data 2010 dataset21 (hereafter ‘GMTED’). As a comparison, we also calculated the most relevant variables using the widely used 90 m Shuttle Radar Topographic Mission22,23 void filled dataset SRTM4.1dev24,25 (hereafter ‘SRTM’). We resampled (i.e., aggregated) each metric to coarser spatial grains (1, 5, 10, 50, 100 km) using several spatial aggregation approaches to characterize the global topographic heterogeneity (see Aggregated topographic variables session).

In total, we computed 15 continuous variables that characterize the shape of the relief (elevation, slope, aspect sine/cosine, eastness, northness, roughness, terrain ruggedness index, topographic position index, vector ruggedness measure, profile/tangential curvature, first/second order partial derivative) and 1 categorical variable, describing ten major landform classes. The variables (Data Citation 1) are ready to use as input data in various environmental models and analyses, and we provide the code to calculate user-specified variables (e.g., coefficient of variation, range) on custom spatial grains. The newly developed layers are suitable for large-scale environmental analyses and are available for download at Data Citation 1 and for download and visualization at


For this study, we used the following terminology to define three layer types, each referring to a specific step within the work-flow: source layers are the raw elevation layers from the 250 m GMTED (available as different elevation products, see below) or from the 90 m SRTM dataset. Derived topographic variables are a suite of 15 topographic variables that were calculated from the source layers using moving window analysis. From these derived variables, we obtained the aggregated topographic variables at coarser spatial grains.

Source layers

Two data sources were used for this work: the 250 m GMTED21 and the 90 m SRTM4.1dev24,25. GMTED served as the main data set due to its full global extent and having the highest resolution (250 m) available thus far, while SRTM was used for comparing and validating the GMTED-derived variables and for assessing the effect of spatial scale acquisition in regions where the extents of the two data sets overlap (56S—60N latitude).

The GMTED data set (downloaded at was released in 2010 by the United States Geological Survey (USGS) and the National Geospatial-Intelligence Agency (NGA) globally at three spatial grains 1 km (30 arc-seconds), 500 m (15 arc-seconds) and 250 m (7.5 arc-seconds), with the exception for Greenland and Antarctica, where only 1-km data sets are available. The original GMTED product is a composite product based on several gridded elevation data sources with spatial grains ranging from approximately 30 m to 2 km (1 to 60 arc-seconds, ref. 21). The main source for GMTED is NGA’s SRTM Digital Terrain Elevation Data ( at a 1-arc-second resolution (void-filled). Seven additional data sources were used for regions not covered by SRTM, and to fill any remaining holes due to miscellaneous factors such as cloud cover. These included 1) the non-SRTM DTED (NGA) the Canadian Digital Elevation Data (GeoBase—Canada) at two resolutions, 3) the Satellite Pour l’Observation de la Terre Reference 3D (Spot Image—IGN), 4) the National Elevation Dataset for the continental United States and Alaska (USGS), 5) the GEODATA 9 s DEM for Australia (Geoscience Australia), 6) an Antarctica satellite radar and laser altimeter DEM (University of Bristol), and 7) a Greenland satellite radar altimeter DEM (University of Bristol) (see GMTED2010 technical report21 for more information). These single DEMs were merged with the global GMTED DEM to a reduced, but standardized spatial grain of 250 m to produce a dataset21 with 5 layers that have the values of the mean, median, minimum, maximum, and standard deviation of the native resolution DEMs (1 to 60 arc-seconds) within the aggregated grid cells. The GMTED root-mean-square error (RMSE) ranges are between 25 and 42 m, between 29 and 32 m, and between 26 and 30 m for the 1 km, 500 m and 250 m products, respectively21. The 250 m GMTED product does not include Antarctica because the only available DEM is available at a 1 km spatial grain21,26. The 250 m GMTED is the only DEM covering the full globe with the highest spatial grain available, consisting of a raster layer of 172800 x 67200 cells.

As a comparison, we also used the 90 m (3 arc-seconds) SRTM4.1dev data produced by the Consultative Group for International Agricultural Research—Consortium (CGIAR) for Spatial Information24,25. This product is based on the NASA Shuttle Radar Topographic Mission (SRTM) released in 200322,23. No-data voids relate to water bodies and lakes, shadow effects and areas where insufficient textural information was available for the generation of a DEM. Missing data patches were filled using various methods depending on the availability of other DEM sources (USA—NED 3, Mexico—90 m DM, Canadian Digital Elevation Data Level 1, New Zealand—100 m DEM, Australia GEODATA TOPO 100 k contour data, de Ferranti’s mountainous areas DEM, CIAT Costa Rica 50 m DEM, Ecuador 90 m DEM; more information regarding the DEMs and and 'holes' in a topographic context is available at Where available, higher resolution data were used to compute the DEM at 90 m using an interpolation with a vector-based contour and points approach24,25. When no additional high resolution DEM was available, an interpolation was performed using the coarser STRM product with the exact method varying according to the size, shape, and topography of the area: 1) kriging and inverse-distance-weighting for small and medium-size holes in flat areas, 2) triangulated irregular network for very flat areas, 3) splines for small and medium holes within areas with complex topography and at high elevations and, 4) advanced splines for large holes with other topography. One limiting factor of the SRTM data is that it only covers low latitude areas between 60N and 58S. In total, the 90 m SRTM4.1dev product consists of a raster of 432000 x 144000 cells. The SRTM data set consists of only one value of altitude per grid cell (as opposed to the GMTED that comes in four different products: median, minimum, maximum, standard deviation).

Derived topographic variables

As explained in section ‘Source layers’, GMTED is available in the form of several products derived from the different high resolution DEMs, namely minimum, maximum, median, mean and standard deviation (abbreviated in this work and also in the GMTED repository as mi, ma, md, mn, sd, respectively—the same variable abbreviation is used also in Table 1) which can be downloaded from These GMTED layers were used to calculate the derived topographic variables listed in Table 1. The derived topographic variables were calculated based on 1) the value at each focal grid cell individually, or 2) a set of grid cells in the immediate vicinity of each focal cell as defined by a 3×3 moving window (i.e., the focal cell with eight surrounding cells, see Fig. 1). In the first case, we obtained the mi, ma, and sd elevation variables that were obtained from the source layers 250 m GMTEDmi, 250 m GMTEDma, 250 m GMTEDsd, respectively. These variables are shown in the five first rows of Table 1 (variable name 'elevation'). In the second case, we computed a suite of 16 derived topographic variables, including 15 continuous and 1 categorical variable. The categorical variable has 10 geomorphological classes (see Table 1, last row) that represent the most common landforms. For each of these derived variables, we used the GMTED median elevation (GMTEDmd) as the source. Compared to the mean, the median is less sensitive to outliers and less affected by the potentially skewed distribution of elevation values. Besides the GMTED, the SRTM was also used to calculate a subset of the derived variables as a comparison. For each derived variable (except elevation, see above) we used a 3×3 moving window on the underlying 250 m GMTEDmd source layer and the 90 m SRTM. The full list of variables is shown in Table 1, which provides an overview of the derived topographic variables, the aggregated variables at coarser spatial grains, and the specific source layers (GMTED or SRTM). The third column reports the algorithm used compute each variable and can be used to look up the specific formula used in calculating the derived variables. The value of the derived variables can change slightly from software to software in accordance with the implemented algorithm.

Table 1 List of the derived and aggregated topographic variables.
Figure 1: Flowchart describing the suite of topographic variables.
figure 1

The source layers provide the basis for the derived variables, which in turn are then aggregated to coarser spatial grains. First, the derived topographic variables are calculated at the original spatial grain of the source layers (250 m for GMTED and 90 m for SRTM) using a moving window of 3×3 grid cells (gray square). Second, all derived topographic variables are aggregated to coarser spatial grains of 1, 5, 10, 50 and 100 km using a non-overlapping window and various aggregation approaches (see Table 1 for an overview of all newly-developed variables with their aggregation metrics and spatial grain).

Derived topographic continuous variables

The derived continuous variables include slope, aspect (including sine and cosine values), eastness, northness, four heterogeneity variables (roughness, terrain ruggedness index, topographic position index, vector ruggedness measure), two curvature variables (profile curvature and tangential curvature), and the first and second order partial derivatives of elevation (variables list in Table 1). The partial derivatives describe the rate of change of the slope and curvature while keeping the aspect directions constant (in our case along north-south and east-west directions)27,28(Fig. 2). Based on the median elevation of the source layer (GMTEDmd), we first calculated slope and aspect, which are the rate of change of elevation in magnitude and orientation for the steepest descent vector, respectively. The aspect is a circular variable therefore sine and cosine transformation are needed prior to any calculation, including the aggregation to a coarser spatial grain. The sine and cosine of the aspect can be used to emphasize differences in the north/south and east/west exposition. Using aspect and slope, we calculated northness and eastness, which are the sine of the slope, multiplied by the cosine and sine of the aspect, respectively29. They provide continuous measures describing the orientation in combination with the slope (i.e., a circular variable is transformed into a continuous one, ranging from -1 to 1). In the north hemisphere, a northness value close to 1 corresponds to a northern exposition on a vertical slope (i.e., a slope exposed to very low amount of solar radiation), while a value close to -1 corresponds to a very steep southern slope, exposed to a high amount of solar radiation.

Figure 2: Graphical representation of landform shapes based on slope and curvature.
figure 2

Slope is the rate of change of elevation in the direction of the steepest descent, whereas the second order partial derivative (N-S slope) is the slope in the North-South direction. The profile and tangential curvatures identify concavity and convexity in the direction of the slope, or perpendicular to the slope. The second order partial derivatives (E-W slope) identify the curvature in the East-West direction.

Measures of topographic heterogeneity: Topographic heterogeneity can be described as the variability of elevation values within an area. It can be measured using summary statistics, such as the standard deviation, or specific indices expressing the rate of elevational change in response to changes in location30. In this study four indices were calculated to express topographic heterogeneity. Terrain Ruggedness Index (TRI) is the mean of the absolute differences in elevation between a focal cell and its 8 surrounding cells. It quantifies the total elevation change across the 3×3 cells31. Flat areas have a value of zero whereas mountain areas with steep ridges have positive values, which can be greater than 2000 m in the Himalaya area. Topographic Position Index (TPI)32 is the difference between the elevation of a focal cell and the mean of its 8 surrounding cells. Positive and negative values correspond to ridges and valleys, respectively, while zero values correspond generally to flat areas (with the exception of a special case where a focal cell with a value 5 can have surrounding cells with values of 4×1 and 4×9, resulting in a TPI of 0). Roughness33 is expressed as the largest inter-cell difference of a focal cell and its 8 surrounding cells. Vector Ruggedness Measure (VRM)30 quantifies terrain ruggedness by measuring the dispersion of vectors orthogonal to the terrain surface. Slope and aspect are decomposed into 3-dimensional vector components (in the x, y, and z directions) using standard trigonometric operators, and by calculating the resultant vector magnitude within a user-specified moving window size (in this study 3×3). The VRM quantifies local variation of slope in the terrain more independently than the TPI and TRI methods30. VRM values range from 0-1 in flat and rugged regions, respectively. The four variables TRI, TPI, VRM, and Roughness provide a description of the terrain profile and surface heterogeneity of the landscape surface. In addition to these, the standard deviation of other derived topographic variables can also be used to describe the profile roughness.

Measures of terrain curvature: Curvature attributes are based on the change of slope or aspect in a particular direction (graphical representation in Fig. 2 and full variable list in Table 1). The profile curvature measures the change rate of slope along a flow line. It affects the acceleration or deceleration of surface water flow along the surface28 and thus influences erosion and deposition of soils27,34. In contrast, the tangential curvature measures the change rate perpendicular to the slope gradient and is related to the convergence and divergence of flow across a surface27,28,34. The unit of curvature is radians per meter, where positive and negative values indicate convex and concave surfaces, respectively. Concave curvature promotes soil deposition while convex promotes soil erosion. The slope is obtained by mathematical calculation of the first derivative, whereas the curvature is the second derivative. In general, the curvature is highly sensitive to potential errors in the source DEMs because the second derivatives highlight local terrain irregularities27.

The first and second order partial derivatives28 of the elevation are obtained by keeping the North-South or the East-West direction constant during the slope and profile curvature calculations (Fig. 2). The first order partial derivatives of elevation are useful for distinguishing the slope changes in the North-South from those in the East-West direction. The second order partial derivatives depict the change of profile curvatures (i.e., the convexity or concavity features of the terrain) in the North-South or the East-West direction. The first order identifies the slope change in one direction and is characterized by a smooth surface, whereas the second order shows a salt-and-pepper features that highlight the profile variation on the micro scale.

Derived topographic categorical variables

The categorical variable consists of 10 geomorphological landform classes. Geomorphological landform elements are additional topographical features that can be extracted from DEMs using morphometry, which identifies geomorphons (geomorphologic phonotypes)13. The output of this method is a raster with grid cell values indicating one of the ten most common landform elements: flat, peak, ridge, shoulder, spur, slope, hollow, footslope, valley, and pit (schematic representation in Fig. 3, Fig. 4b)

Figure 3: Symbolic representation of the 10 most common landform elements obtained with the GRASS add-on r.geomorphon.
figure 3

(Figure adapted from with the author's permission—Dr Jarek Jasiewicz).

Figure 4: Exemplary map showing the Shannon index of the geomorphological landforms, aggregated to 1 km: a) global view, b) magnification of the 10 underlying geomorphological landforms, c) magnification of the derived Shannon index (the magnification area is part of the Alps and is delineated in plot a).
figure 4

The box in c) represents the study area in Figure 5, and the line 3) identifies the location of the profile depicted in Figure 6. The arrows 1 (Andes) and 2 (Indonesia) drawn in a) point to the location of topographic variable profiles shown in Supplementary Figs 1.

Aggregated topographic variables

The aggregation to coarser spatial grains can be seen as a re-sampling approach that transforms the fine-grain grids to a coarser spatial grain. The derived topographic variables were aggregated to 1, 5, 10, 50 and 100 km spatial grains using different aggregation windows (Fig. 1, dimension of the aggregation window for the five coarser spatial grains were 4×4, 20×20, 40×40, 200×200, 400×400 cells for the GMTED; 10×10, 50×50, 100×100, 500×500, 1000×1000 cells for the SRTM).

All derived continuous variables were aggregated to the coarser spatial grains (sample overview in Fig. 5) by calculating the median, average, minimum, maximum and standard deviation of the values of grid cells covered by the aggregation window. The categorical variable (geomorphological landform with 10 classes) was aggregated by calculating six metrics: percentage of each class, number of classes, the majority class, the Shannon diversity index, and two gray level co-occurrence matrix (GLCM) based texture metrics (entropy and uniformity)(Fig. 5). The definitions of these six metrics are:

  • Percentage of each class: Percent cover of a given landform class within the aggregation window.

  • Number of classes: The total number of different landform classes within the aggregation window.

  • Majority: The landform class that covers most grid cells of the aggregation window. In case where more than one class is predominant (same number of pixels), a random selection was permitted to choose only one class.

  • Shannon Index: A diversity index based on the proportion of grid cells covered by the landform types within the aggregation window. Higher values indicate more landform types and/or types having more similar proportions within an aggregation window35(Figs. 4a and 4c).

  • Entropy: a GLCM-based second-order image texture metric which quantifies the disorderliness of the spatial arrangement of pixel values (landform types in this case) within the aggregation window. A higher value indicates that different landform types are distributed more randomly within an aggregated window36.

  • Uniformity: a GLCM-based second-order image texture metric which quantifies the uniformity of pixel values (landform types in this case) within an aggregation window. It is also called the angular second moment36. A higher value indicates that different landform types are distributed more regularly within an aggregated window.

Figure 5: A subset of the derived topographic variables using the 250 m GMTED source layer that have been aggregated to 1 km spatial grain (4×4 cells).
figure 5

The geographic extent (76×72 km) refers to the Alps regions close to Liechtenstein, i.e., the box in Figure 4c. The continuous variables (from ‘a’ to ‘r’) were aggregated using the median value. The categorical variables (Figure 5s-w) were aggregated using six metrics: percent cover of each class (in this case percent of ridge), number of classes, the majority class, Shannon index, entropy and uniformity.

Ancillary user-specified derived topographic variables

From the derived topographic variables, other user-specified and customized variables can be created at different spatial grains. For example, the coefficient of variation (cv) of the profile curvature at 1 km resolution can be calculated as

pcurv_1KMcv_GMTEDmd.tif=pcurv_1KMmn_GMTEDmd.tif/ pcurv_1KMsd_GMTEDmd.tif

The range (rg) of the slope at 5 km can be computed as

slope_5KMrg_GMTEDmd.tif=slope_5KMma_GMTEDmd.tif- slope_5KMmi_GMTEDmd.tif

Tools and work flow

All calculations were processed in parallel using open-source software at the Yale Center for Research Computing at Yale University. To allow parallel and distributed processing of our work-flow, we split the GMTED raster data set into 4 x 2 tiles (43200 x 33600 cells each) and the SRTM raster into 36 x 12 tiles (12000 x 12000 cells). In both cases, the neighboring tiles overlapped with 2 grid cells (thus GMTED: 43204 x 33604 cells; SRTM: 12004 x 12004 cells). To accelerate the computation, the global DEM was sent to each single computational node and each single tile was processed by one CPU core. The neighboring tiles overlapped with 2 grid cells to avoid any border artifacts during the calculation of the derived variables. After the variable calculation, these duplicate cells were then removed when merging all tiles to global maps.

The derived topographic variables were computed with the Geospatial Data Abstraction Library (GDAL,, version number 1.10.0)37 and with the Geographic Resources Analysis Support System software (GRASS,, version number 7.0.0)28,38. Table 1 reports the GDAL or GRASS commands used for each derived variable calculation. GDAL and GRASS provide fast and flexible computation features and functions for raster-based scripted automated workflows, and allow processing of very large data sets due to efficient algorithms and memory management. In the context of our work, they allowed on-the-fly calculations of true geodesic distances in a latitude-longitude coordinate reference system, enabling direct work in the native projection system of both the GMTED and SRTM products, i.e., the World Geodetic System 1984 (EPSG:WGS84).

To aggregate the derived continuous variables to coarser spatial grains, we used the Processing Kernel for geospatial data (pktools,, version number 2.6.3)39. The pkfilter function with the —down flag option allowed us to run aggregations for user-specified defined window sizes while the —filter flag option allowed selection of the aggregation approach (mn, mi, mn, md, sd). The aggregation for the derived categorical variable was performed with pkfilter for the percent count and majority. For the Shannon index, entropy and uniformity, a customized python script was implemented. We provided example code at for users to calculate and aggregate custom variables at specific spatial grains. Moreover, on the same page we provide example R codes to download a specific study area given a bounding box extent.

Data Records

We provide aggregated topographic variables derived from the 250 m GMTED at the spatial grains of 1, 5, 10, 50, and 100 km. For a subset of variables (see variable list in Table 1) we also provide the aggregated variables from the SRTM source layer. All variables are available for download at Data Citation 1. A visualization of the layers is given online at, where users can browse a subset of variables.

Each variable, aggregated at different spatial grains, is distributed at a global extent (56S—84N latitude—excluding Antarctica) in a compressed GeoTiff file format in the WGS84 coordinate reference system (EPSG:4326 code). All layers were stored as floating point (Float32 datatype) for maximum precision, allowing the computation of custom variables (e.g., coefficient of variation). In addition the derived topographic variables at the original 250 m GMTED or 90 m SRTM can be recomputed on demand.

Technical Validation

In this section we compared the differences and correlations between the derived topographic variables and also among the aggregated topographic variables at different spatial grains. In particular we explored the (i) divergence of the most common variables obtained starting from two source layers (GMTED and SRT) aggregated at the different spatial grain, (ii) correlation among the topographic variables that characterized the terrain heterogeneity, and (iii) correlation among the topographic variables that describe the relief forms and shapes. The correlation analysis highlights the multicollinearity among variables and can be useful to select uncorrelated independent variables in regression models to ensure appropriate inference40.

Topographic variable profile

To evaluate the effects of the aggregation to coarser spatial grains we compared the profiles of the variables along an elevation gradient (Fig. 6 left side). Roughness, TPI and TRI variables derived from the 250 m GMTED showed a higher variance (Fig. 6c,f,h, fluctuation of the blue lines) compared to those derived from the 90 m SRTM (red lines). This was expected as any adjacent 90 m-cells in the SRTM data would have a smaller elevation gradient relative to the focal cell, compared to the GMTED with a larger cell size of 250 m. In fact the three variables were computed as a function of the difference of a central pixel and its surrounding cell. Thus the GMTED derived variables have higher values with a higher fluctuation. Likewise, VRM values derived from the SRTM showed a higher sensitivity to local variations in the input data (e.g., red line peaks in Fig. 6h) and to DEM resolution compared to the VRM derived from the GMTED. The aspect and slope derived variables based on SRTM also showed a higher variability than those obtained by the GMTED (Fig. 6l,n,p,r,t).

Figure 6: Profile of the topographic variables for a transect line of 28 km in the Alps region close to Liechtenstein.
figure 6

Geographic location depicted in Figure 2c. On the left: variable values obtained from 250 m GMTED and 90 m SRTM, on the right: variable values after a median aggregation at 1, 5 and 10 km (for other profiles in different areas see Supplementary Fig. 1).

We also evaluated and compared the effects of aggregation for the 1, 5 and 10 km grid cell size (Fig. 6 right side and for 1-5-10-50-100 km in Supplementary Fig. 1). In general, GMTED and SRTM derived variables showed a higher variability at 1-5 km spatial grains, and tended to show similar spatial trends at coarser grains (>10 km, dashed lines, see also Supplementary Fig. 1—right side). The aggregated variables based on GMTED displayed more fluctuation than those derived from the SRTM. This was due to the fact that adjacent cells of SRTM had less vertical difference than adjacent cells of GMTED, therefore producing smaller values of heterogeneity also when aggregated (median) to a coarser spatial grain.

Heterogeneity comparison

Topographic heterogeneity, or terrain roughness, was defined as the spatial variability in elevation and also by the feature and relative distribution of the different landform elements within a given area. In the first case, the heterogeneity was described by the four heterogeneity variables (TRI, TPI, VRM and roughness) or their aggregated medians at coarser spatial grains. In addition, the standard deviation of the other derived variables (e.g., standard deviation of the slope) also provided information about the amount of topographic variation or dispersion at a given level of aggregation (from 1 to 100 km), describing indirectly the spatial-vertical heterogeneity. In the second case, the five metrics of the geomorphological landforms (percent, Shannon index, entropy, uniformity, count) described terrain shape heterogeneity. Fig. 7 shows the cross-correlation and hierarchical clustering dendrogram among all aggregated topographic variables that express directly or indirectly the terrain heterogeneity. The dendrogram is useful to see how ‘far or close’ two variables are, and how they can used to depict different features of the terrain.

Figure 7: Correlation matrix plot (32×32 variables) for the GMTED derived topographic variables (aggregated to 1 km spatial grain), describing heterogeneity and roughness in the Alps region depicted in Figure 2b (2400×1600 cells).
figure 7

Variable name and aggregation approach abbreviation are reported in Table 1. The scale bar reports Pearson's positive (red) and negative (blue) correlation coefficients. Circles in the plots have different sizes according to the absolute values of correlation coefficients. The GMTED derived topographic variables are labeled in red and blue to better distinguish the column and row of the plot and are ordered according to a hierarchical clustering on the values obtained from 200,000 1-km pixels randomly selected from the Alps region.

Topographic shapes comparison

The topographic shapes of a relief in terms of slope, aspect and curvature was described by a group of variables (aspect cosine, aspect sine, slope, eastness, northness, profile and tangential curvature, first and second order partial derivatives) that emphasized one of the terrain shapes or described the features of two shapes combined. The former case was the second order partial derivative in the East-West slope direction that combined curvature information in a particular slope direction. To understand the relationship and collinearity among those variables, we depicted a correlation plot and the relative hierarchical clustering in Fig. 8, which identifies two main branches. The upper branch includes all the topographic variables that describe profile curvatures, whereas the lower branch includes all the variables that are indirectly derived from aspect and slope. In particular, the curvature variables are strongly correlated in the upper left part of Fig. 8.

Figure 8: Correlation matrix plot (11×11 variables) for the GMTED derived topographic variables (aggregated at 1 km spatial grains), describing the relief shape in terms of slope, aspect and curvatures in the Alps region depicted in Figure 2b (2400×1600 cells).
figure 8

Variable name and aggregation approach abbreviation are reported in Table 1. The scale bar reports Pearson's positive (red) and negative (blue) correlation coefficients. Circles in the plots have different sizes according to the absolute values of correlation coefficients. The GMTED derived topographic variables are labeled in red and blue to better distinguish the column and row of the plot and are ordered according to a hierarchical clustering on the values obtained from 200,000 1 km pixels randomly selected from the Alps region.

Quality control and data limitation

A visual inspection of the 250 m and 1 km GMTED derived variables revealed a few artifacts and issues. We documented striping and/or blocky artifacts visible especially in Eurasia (above 60N latitude, see Supplementary Fig. 4 showing an area of 840×700 km in Siberia). The artifacts were visible in all the GMTED derived variables with different level of magnitudes. These artifacts were due to the production method of the non-SRTM DTED dataset (see the note by the GMTED developer21) and could not be corrected prior to processing the topographic variables. We found that the Canadian area covered by the CDED did not present the same artifacts. Nonetheless a vertical gap was visible between the GMTED derived from SRTM, and the GMTED derived from the CDED (Northwest Territory in Canada). Artifacts and vertical gaps were more visible and evident in flat areas where the pixel value fluctuation was due to data acquisition methods rather than effective altitudinal variations. Beside the artifacts visible in the GMTED-derived variables, we found that the SRTM-derived variables also presented some anomalies (Supplementary Fig. 5). The SRTM artifacts were due to void filling procedures performed during the SRTM4.1dev24 production workflow. In the same area, the GMTED derived variables did not present such anomalies, due to a better filling procedure mixed with a smoothed effect of the 250 m resolution21.

Despite these limitations the GMTED is still the only available DEM covering the full globe at 250 m spatial grain. We advise users to note the presence of artifacts in the area above 60N latitude and carefully check for possible effects in their own analyses and results.

Usage Notes

The newly-developed topographic variables (Data Citation 1) have a wide variety of potential applications in ecology, biogeography, conservation and biodiversity science, land use and land cover change, physical geography, hydrological and climate sciences. For instance, the variables are ready to use for topographical analyses, or as predictors for assessing species distributions across multiple spatial grains over large spatial extents in a standardized framework4143. For hydrological applications, the newly developed variables can be used in the context of flow and erosion modeling at different spatial grains.

More specifically, slope and curvature can serve as useful input variables in erosion and hydrological models, as well as in species distribution models to depict micro-habitats that are mainly driven by the shape of the fine-grain topography. In climate science, some of these topographic layers can be used as covariates in the interpolation of temperature and precipitation for local, regional or global layers. Topographic variables are also useful for land use change modeling applications that involve the determination of suitability and locations for different land use types (e.g., agriculture, residential, recreation). While the correlation analysis (Figs. 7 and 8) shows how several of the derived variables are closely related over a large spatial extent, we highlight that over smaller spatial extents, an accurate description of the local topography is better provided by a mixture of different variables (Fig. 5, e.g., TRI combined with the eastness and profile curvature).

We provide several aggregation levels to be used for scale-dependent sensitivity analyses and models, or as a basis during the implementation of a given algorithm. From a computational point of view, the variables with a coarser spatial grain (e.g., 50 and 100 km) can be used during the testing of code or workflow development as they are less computationally demanding than the variables at 250 m or 1 km spatial grain. In the spirit of reproducible research we provide the scripting procedure ( to calculate custom topographic variables, and to aggregate these variables to specific spatial grain. The procedure can also be used to recompute the derived topographic variables at the original resolution (250 m GMTED and 90 m SRTM4.1dev). Moreover, we also show how to load the GeoTiff format in R and how to make a colorful map. Users are thus encouraged to use their own DEM layers and implement the scripting procedure to generate the desired topographic variables at different spatial grain by changing the parameter of aggregation. Additional layers regarding other topographic variables (e.g., topographic wetness index) are currently under development, and we encourage potential users to contact authors about future products updates.

The suite of newly-developed topographic variables at 1 km spatial grain can be useful in combination with other 1 km global layers, such as the consensus land-cover layers44, the global habitat heterogeneity metrics44 and freshwater environmental variables45 for species distribution modeling46 or environmental analyses and models in general. This combination with other environmental layers (e.g., solar radiation, relative humidity, and soil moisture) representing ecological mechanisms offer broad potential, but was beyond the scope of our study. Overall, we expect that the current terrain layers will benefit a range of uses in geography, geology, hydrology, ecology and biogeography, and especially applications requiring large spatial extents, a rich stack of different terrain variables, and/or versatility to address multiple spatial grains4749.

Additional information

How to cite this article: Amatulli, G. et al. A suite of global, cross-scale topographic variables for environmental and biodiversity modeling. Sci. Data 5:180040 doi: 10.1038/sdata.2018.40 (2018).

Publishers note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.



  1. 1

    Stein, A. & Kreft, H. Terminology and quantification of environmental heterogeneity in species-richness research. Biological Reviews 90, 815–836 (2015).

    Article  Google Scholar 

  2. 2

    Moore, I. D., Grayson, R. B. & Ladson, A. R. Digital terrain modelling: a review of hydrological, geomorphological, and biological applications. Hydrological processes 5, 3–30 (1991).

    ADS  Article  Google Scholar 

  3. 3

    Elith, J. & Leathwick, J. R. Species distribution models: ecological explanation and prediction across space and time. Annual Review of Ecology, Evolution, and Systematics 40, 677 (2009).

    Article  Google Scholar 

  4. 4

    Guisan, A. & Thuiller, W. Predicting species distribution: offering more than simple habitat models. Ecology letters 8, 993–1009 (2005).

    Article  Google Scholar 

  5. 5

    Alexander, C., Deák, B. & Heilmeier, H. Micro-topography driven vegetation patterns in open mosaic landscapes. Ecological Indicators 60, 906–920 (2016).

    Article  Google Scholar 

  6. 6

    Bogaart, P. W. & Troch, P. A. Curvature distribution within hillslopes and catchments and its effect on the hydrological response. Hydrology and Earth System Sciences Discussions 3, 1071–1104 (2006).

    ADS  Article  Google Scholar 

  7. 7

    Grünewald, T. et al. Statistical modelling of the snow depth distribution in open alpine terrain. Hydrology and Earth System Sciences 17, 3005–3021 (2013).

    ADS  Article  Google Scholar 

  8. 8

    Farahmand, A. & AghaKouchak, A. A satellite-based global landslide model. Natural Hazards and Earth System Science 13, 5 (2013).

    Article  Google Scholar 

  9. 9

    Amatulli, G., Rodrigues, M. J., Trombetti, M. J. & Lovreglio, R. Assessing long-term fire risk at local scale by means of decision tree technique. Journal of Geophysical Research: Biogeosciences 11, G4 (2006).

    Google Scholar 

  10. 10

    Mandel, J. T., Bildstein, K. L., Bohrer, G. & Winkler, D. W. Movement ecology of migration in turkey vultures. Proceedings of the National Academy of Sciences 105, 19102–19107 (2008).

    CAS  ADS  Article  Google Scholar 

  11. 11

    Kays, R., Crofoot, M. C., Jetz, W. & Wikelski, M. Terrestrial animal tracking as an eye on life and planet. Science 348, aaa2478 (2015).

    Article  Google Scholar 

  12. 12

    Hannah, L. et al. Fine-grain modeling of species’ response to climate change: holdouts, stepping-stones, and microrefugia. Trends in ecology & evolution 29, 390–397 (2014).

    Article  Google Scholar 

  13. 13

    Jasiewicz, J. & Stepinski, T. F. Geomorphons-a pattern recognition approach to classification and mapping of landforms. Geomorphology 182, 147–156 (2013).

    ADS  Article  Google Scholar 

  14. 14

    Blöschl, G. & Sivapalan, M. Scale issues in hydrological modelling: a review. Hydrological processes 9, 251–290 (1995).

    ADS  Article  Google Scholar 

  15. 15

    Bierkens, M. F. P. et al. Hyper-resolution global hydrological modelling: what is next? Everywhere and locally relevant. Hydrological processes 29, 310–320 (2015).

    ADS  Article  Google Scholar 

  16. 16

    Hurlbert, A. H. & Jetz, W. Species richness, hotspots, and the scale dependence of range maps in ecology and conservation. Proceedings of the National Academy of Sciences 104, 13384–13389 (2007).

    CAS  ADS  Article  Google Scholar 

  17. 17

    Domisch, S., Jähnig, S. C., Simaika, J. P., Kuemmerlen, M. & Stoll, S. Application of species distribution models in stream ecosystems: the challenges of spatial and temporal scale, environmental predictors and species occurrence data. Fundamental and Applied Limnology/Archiv für Hydrobiologie 186, 45–61 (2015).

    Article  Google Scholar 

  18. 18

    Arefi, H. & Reinartz, P. Accuracy enhancement of ASTER global digital elevation models using ICESat data. Remote Sensing 3, 1323–1343 (2011).

    ADS  Article  Google Scholar 

  19. 19

    Larigauderie, A. & Mooney, H. A. The Intergovernmental science-policy Platform on Biodiversity and Ecosystem Services: moving a step closer to an IPCC-like mechanism for biodiversity. Current Opinion in Environmental Sustainability 2, 9–14 (2010).

    Article  Google Scholar 

  20. 20

    Jetz, W., McPherson, J. & Guralnick, R. P. Integrating biodiversity distribution knowledge: toward a global map of life. Trends in ecology & evolution 27, 151–159 (2012).

    Article  Google Scholar 

  21. 21

    Danielson, J. J. & Gesch, D. B. Global multi-resolution terrain elevation data 2010. US Department of the Interior and US Geological Survey (2011), Report 2011–1073, Page 34.

  22. 22

    Hong, S. H., Jung, H. S. & Won, J. S. Extraction of ground control points (GCPs) from synthetic aperture radar images and SRTM DEM. International Journal of Remote Sensing 27, 3813–3829 (2006).

    ADS  Article  Google Scholar 

  23. 23

    Farr, T. G. & Kobrick, M. Shuttle radar topography mission produces a wealth of data. American Geophysical Union 81, 583–585 (2000).

    ADS  Article  Google Scholar 

  24. 24

    Jarvis, A., Reuter, H. I. & Nelson, A. Hole-filled seamless SRTM data V4, International Centre for Tropical Agriculture (CIAT). (2008).

  25. 25

    Reuter, H. I., Nelson, A. & Jarvis, A. An evaluation of void filling interpolation methods for SRTM data. International Journal of Geographic Information Science 21, 983–1008 (2007).

    Article  Google Scholar 

  26. 26

    Bamber, J. L., Gomez-Dans, J. L. & Griggs, J. A. A new 1 km digital elevation model of the Antarctic derived from combined satellite radar and laser data-Part 1: Data and methods. The Cryosphere 3, 101 (2009).

    ADS  Article  Google Scholar 

  27. 27

    Wilson, J. P. & Gallant, J. C. Terrain analysis: principles and applications (John Wiley & Sons, 2000).

    Google Scholar 

  28. 28

    Neteler, M. & Mitasova, H. Open source GIS: a GRASS GIS approach. Springer Science & Business Media 689 (2013).

  29. 29

    Fassnacht, S. R., Dressler, K. A. & Bales, R. C. Snow water equivalent interpolation for the Colorado River Basin from snow telemetry (SNOTEL) data. Water Resources Research 39, 8 (2003).

    Article  Google Scholar 

  30. 30

    Sappington, J., Longshore, K. M. & Thompson, D. B. Quantifying landscape ruggedness for animal habitat analysis: a case study using bighorn sheep in the Mojave Desert. The Journal of wildlife management 71, 1419–1426 (2007).

    Article  Google Scholar 

  31. 31

    Riley, S. J., DeGloria, S. D. & Elliot, R. Index That Quantifies Topographic Heterogeneity. Intermountain Journal of Sciences 5, 1–4 (1999).

    Google Scholar 

  32. 32

    Jenness, J. Topographic position index (TPI) v. 1.2. Flagstaff, AZ: Jenness Enterprises, (2006).

    Google Scholar 

  33. 33

    Beasom, S. L., Wiggers, E. P. & Giardino, J. R. A technique for assessing land surface ruggedness. The Journal of Wildlife Management 47, 1163–1166 (1983).

    Article  Google Scholar 

  34. 34

    Schmidt, J. E., Evans, I. S. & Brinkmann, J. Comparison of polynomial models for land surface curvature calculation. International Journal of Geographical Information Science 17, 797–814 (2003).

    Article  Google Scholar 

  35. 35

    Shannon, C. E. & Weaver, W. A mathematical theory of communication, bell System technical Journal 27: 379-423 and 623-656. Mathematical Reviews (MathSciNet): MR10, 133e (1948).

  36. 36

    Haralick, R. M Textural Features for Image Classification. Systems, Man and Cybernetics, IEEE Transactions 3, 610–621 (1973).

    Article  Google Scholar 

  37. 37

    Warmerdam, F. The geospatial data abstraction library. Open source approaches in spatial data handling 87–104, Springer (2008).

  38. 38

    Neteler, M., Bowman, M. H., Landa, M. & Metz, M. GRASS GIS: A multi-purpose open source GIS. Environmental Modelling & Software 31, 124–130 (2012).

    Article  Google Scholar 

  39. 39

    McInerney, D. & Kempeneers, P. Open Source Geospatial Tools. Springer, (2014).

    Google Scholar 

  40. 40

    Dormann, C. F. et al. Collinearity: a review of methods to deal with it and a simulation study evaluating their performance. Journal Ecography 36, 27–46 (2013).

    Article  Google Scholar 

  41. 41

    Casalegno, S., Amatulli, G., Camia, A., Nelson, A. & Pekkarinen, A. Vulnerability of Pinus cembra L. in the Alps and the Carpathian mountains under present and future climates. Forest Ecology and Management 259, 750–761 (2006).

    Article  Google Scholar 

  42. 42

    Casalegno, S., Amatulli, G., Bastrup-Birk, A., Durrant, T. H. & Pekkarinen, A. Modelling and mapping the suitability of European forest formations at 1-km resolution. European Journal of Forest Research 130, 971–981 (2011).

    Article  Google Scholar 

  43. 43

    Crowther, T. W. et al. Mapping tree density at a global scale. Nature 525, 201–205 (2015).

    CAS  ADS  Article  Google Scholar 

  44. 44

    Tuanmu, M. & Jetz, W. A global, remote sensing-based characterization of terrestrial habitat heterogeneity for biodiversity and ecosystem modelling. Global Ecology and Biogeography 24, 1329–1339 (2014).

    Article  Google Scholar 

  45. 45

    Domisch, S., Amatulli, G. & Jetz, W. Near-global freshwater-specific environmental variables for biodiversity analyses in 1 km resolution. Scientific Data 2, 150073 (2015).

    CAS  Article  Google Scholar 

  46. 46

    Domisch, S., Wilson, A. M. & Jetz, W. Model-based integration of observed and expert-based information for assessing the geographic and environmental distribution of freshwater species. Ecography 39, 1078–1088 (2016).

    Article  Google Scholar 

  47. 47

    Githeko, A. K. et al. Topography and malaria transmission heterogeneity in western Kenya highlands: prospects for focal vector control. Malaria journal 5, 107 (2006).

    Article  Google Scholar 

  48. 48

    GRASS Development Team and others, Geographic resources analysis support system (GRASS) software (2011).

  49. 49

    Tuanmu, M. & Jetz, W. A global 1-km consensus land-cover product for biodiversity and ecosystem modelling. Global Ecology and Biogeography 23, 1031–1045 (2014).

    Article  Google Scholar 

Data Citations

  1. 1

    Amatulli, G. et al. PANGAEA (2017)

Download references


This study was supported in part by the facilities and staff at the Yale Center for Research Computing (YCRC). We wish to thank Steve Weston for his help and advice regarding cluster computation. We thank Dr Fernando Sedano, Dr Nate Upham and Dr Christine Chen for their comments on earlier versions of the manuscript, which substantially improved the overall article. Special thanks goes to Dr Peter Kempeneers, the developer of His tools were fundamental to implement a fast processing chain. G.A. wishes to thank also Dr Anssi Pekkarinen who introduced him to the GeoComputation world under Linux OS. S.D. was funded by the German Research Foundation DFG (grant DO 1880/1-1). This work benefited from discussions as part of the NCEAS Environment and Organisms working group (NCEAS Project 12504), especially with Rob Guralnick and Brian McGill. It was supported by NSF grant DBI 1262600, NASA grant NNX11AP72G, and the Yale Program in Spatial Biodiversity Science and Conservation.

Author information




G.A., W.J. and M.-N.T. designed the study. G.A. developed and implemented the computational methodology and the processing chain in the cluster to derive all derived continuous/categorical variables, standardized and validated the dataset layers and wrote the first manuscript draft; S.D. provided important input on the processing chain and M.-N.T. contributed scripts and additional analyses. S.D., W.J., B.P. and M.-N.T. contributed to the writing of the manuscript; J.M. and A.R. prepared the web-mapping platform and the downloading procedure. All authors discussed the results and commented on the manuscript.

Corresponding author

Correspondence to Giuseppe Amatulli.

Ethics declarations

Competing interests

The authors declare no competing financial interests.

Additional information

Supplementary information accompanies this paper at

ISA-Tab metadata

Supplementary information

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit The Creative Commons Public Domain Dedication waiver applies to the metadata files made available in this article.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Amatulli, G., Domisch, S., Tuanmu, MN. et al. A suite of global, cross-scale topographic variables for environmental and biodiversity modeling. Sci Data 5, 180040 (2018).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI:

Further reading


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing