Skip to Content
  • Article
  • Open Access

27 November 2026

28 Pages

A Local Projection-Based Geometric Framework for the Direct Derivation of Slope and Aspect from DEMs in Geographic Coordinate Systems

,
,
,
and
1
Shaanxi Key Laboratory of Earth Surface System and Environmental Carrying Capacity, College of Urban and Environmental Sciences, Northwest University, Xi’an 710127, China
2
Upper and Middle Yellow River Bureau, Yellow River Conservancy Commission of the Ministry of Water Resources, Xi’an 710021, China
*
Author to whom correspondence should be addressed.

Abstract

Slope and aspect are fundamental topographic parameters in a wide range of geoscientific applications. With the increasing availability of global digital elevation models (DEMs) in geographic coordinate systems (GCSs) based on ellipsoidal equal-angular (EEA) grids, the EEA grid algorithm has been developed to directly derive slope and aspect from GCS DEMs, thereby avoiding the need for projection transformation (PT) to projected coordinate systems (PCSs). However, its geometric treatment of inter-cell distances is not fully consistent with the Cartesian assumptions of terrain surface models and its mathematical formulations are relatively complex. To address this limitation, this study develops a local projection-based geometric framework based on the existing EEA grid algorithm. Specifically, the framework replaces the ellipsoidal arc lengths used to determine distance parameters with Euclidean distances on a locally projected planar surface, which is more consistent with the assumptions of terrain surface models. Two simplified formulations of the EEA grid algorithm are further developed by approximating the planar distance parameters along the two coordinate directions. The framework is systematically evaluated using analytical Gaussian surfaces and real-world DEMs under varying latitudes, spatial resolutions, and levels of elevation variability, with comparisons against the planar square (PS) grid algorithm and the PT method. The results show that, in Gaussian surface experiments, the EEA grid algorithm achieves slope and aspect accuracy comparable to that of the PS grid algorithm in the PCS, with mean RMSE differences below 0.4268° and 0.5974°, respectively. Compared with the PT method, it generally achieves higher accuracy, with mean RMSE advantages of at least 1.4972° for slope and 34.4247° for aspect. Tests on real-world DEMs further show that the PT method requires approximately 2–6 times and 14–32 times the computational time of the EEA algorithm at 1″ and 3″ resolutions, respectively. Overall, the proposed framework provides a geometrically consistent and computationally efficient alternative for deriving slope and aspect directly from GCS DEMs.

1. Introduction

Slope and aspect are fundamental topographic parameters at the local scale. Slope represents the angle between the terrain surface and the horizontal plane, whereas aspect indicates the orientation of the slope direction relative to geographic north. These parameters play essential roles in various geoscientific applications, including geomorphological analysis [1,2], hydrological modeling [3,4], ecological studies [5,6], and remote sensing applications [7,8,9]. The accurate derivation of slope and aspect is therefore a prerequisite for reliable geospatial analysis.
Existing approaches for deriving slope and aspect from digital elevation models (DEMs) were primarily developed for planar square (PS) grids in projected coordinate systems (PCSs) [10,11,12,13]. Typically, a Cartesian coordinate system is established within a local 3 × 3 cell window, and finite-difference schemes or local surface-fitting techniques are used to estimate the elevation gradients (p and q, component parameters that determine the slope and aspect as explained in Section 2.1) [14]. In PS grids, raster cells have uniform dimensions expressed in linear units consistent with those used for elevation. Because these approaches operate on planar grids, their accuracy may be affected by projection distortions, particularly over large spatial extents where minimizing distortion across the entire study area can be challenging. However, the increasing demand for global-scale environmental and Earth-system studies, together with advances in remote sensing, has led to the availability of multiple global gridded elevation products in geographic coordinate systems (GCSs). Representative examples include SRTM [15,16], ASTER GDEM [17], and FABDEM [18]. These datasets are organized as ellipsoidal equal-angular (EEA) grids, where cells are defined as curved ellipsoidal trapezoids with constant angular spacing in latitude and longitude. GCSs provide continuous global coverage without introducing projection distortions or spatial discontinuities associated with certain PCSs, thereby facilitating the seamless integration of DEMs and other large-scale geospatial datasets. However, because cell dimensions are defined in angular units, EEA cells vary in size and shape across the ellipsoid when measured in linear units. Consequently, conventional PS grid algorithms for slope and aspect cannot be directly applied to EEA grids. Although global terrain parameter datasets have been developed to support applications such as ecological modeling, geomorphology, geology, and hydrology [19,20,21], they are generally generated by first transforming GCS DEMs into PCSs and then applying conventional PS grid algorithms. These datasets are also typically distributed in PCSs and do not fully capitalize on the aforementioned advantages of GCSs. Obtaining terrain parameters in GCSs therefore requires an additional transformation from PCSs back to GCSs. Such a projection transformation (PT) method involves coordinate transformations and repeated resampling, which may alter cell geometry, spatial positions, and elevation values, potentially affecting the accuracy of the derived terrain parameters [20]. These additional processing steps may increase computational overhead, particularly when handling large global datasets.
These limitations highlight the need for directly deriving slope and aspect on EEA grids while maintaining both high accuracy and efficiency. Research on this topic remains limited, with the EEA grid algorithm having been originally proposed and subsequently developed by Florinsky [22,23,24]. This algorithm builds on the basic idea of PS grid algorithms, establishing a local coordinate system within a cell neighborhood on the ellipsoid, and uses the Evans surface model to estimate elevation gradients (Section 2.2). However, further improvements are needed for this algorithm in terms of theoretical formulation and empirical validation. From the theoretical perspective, with local Earth curvature neglected, the distances from cells to coordinate axes are represented by ellipsoidal arc lengths in the gradient calculations. This treatment is inconsistent with the planar Cartesian assumptions of the Evans model. In addition, the distances from individual cells to the coordinate axes are not uniform, resulting in more complex expressions for elevation gradients than the PS grid algorithm. The potential to simplify these expressions and reduce computational complexity while maintaining acceptable slope and aspect accuracy has not been explored. From the empirical perspective, the algorithms have been evaluated using only a limited range of terrain conditions represented by real-world DEMs. Because reliable reference values for slope and aspect are generally unavailable for natural terrain, these evaluations rely primarily on comparisons with alternative algorithms. Such comparisons reveal relative differences but cannot independently establish the absolute accuracy. Moreover, the limited range of terrain conditions represented by the real-world DEMs constrains systematic investigation of the effects of latitude, spatial resolution, and elevation variability on algorithm accuracy, as these three factors directly influence the estimation of local elevation gradients.
To address these issues, this study develops a refined formulation for slope and aspect derivation from EEA grid DEMs and systematically validates the algorithm. First, local ellipsoidal neighborhoods are projected onto a plane to establish a Cartesian coordinate framework consistent with the requirements of the Evans model. Second, the complex expressions of the elevation gradients are simplified and the changes in slope and aspect accuracy are quantified. Third, Gaussian surfaces are introduced to simulate terrains, which provides analytically derived reference slope and aspect values for accuracy assessment. Finally, the refined algorithm is evaluated against the PS grid algorithm and the PT method using both Gaussian surfaces and real-world DEMs across a broad range of latitudes, resolutions, and elevation variabilities. Significantly, although this study aims to evaluate the refined algorithm on a global scale, the poles—where geographic coordinates exhibit geometric singularities—and their adjacent area are excluded from the evaluation because these singularities can affect the geometric representation of EEA grids and the stability of gradient calculations. In addition, the evaluation covers the range of spatial resolutions of the aforementioned global gridded elevation datasets, providing practical guidance for deriving slope and aspect from these datasets.

2. Algorithm Development

2.1. The PS Grid Algorithm

For a continuous land surface, slope and aspect (in degrees) are determined by the elevation gradients p and q in the east–west and north–south directions, respectively:
slope = arctan p 2 + q 2 ⋅ 180 ∕ π ,
aspect = 180 − 180 / π ⋅ arctan q / p + 90 ⋅ p / p ,
Among the methods for estimating p and q, the Evans model is a widely used local surface fitting approach representing the terrain within a 3 × 3 DEM window (Figure 1a) using a second-order polynomial [11]:
z = r ⋅ x 2 2 + t ⋅ y 2 2 + s ⋅ xy + p ⋅ x + q ⋅ y + u ,
where x and y are planar coordinates of the cells; z denotes the elevation; and r, t, s, p, q, and u are polynomial coefficients. The coefficients p and q correspond to the elevation gradients in Equations (1) and (2).
Figure 1. The 3 × 3 cell window in (a) planar coordinate system and (b) a plane projected from the Earth ellipsoid.
With the central cell as the origin, the x- and y-axes aligned with the east–west and north–south directions, respectively (Figure 1a). The elevations of nine cells are denoted as z1–z9; the distances between cell centers and coordinate axes are represented by w1–w12. For a PS grid, these distances are uniform, allowing all cell coordinates to be expressed by a single parameter w. Substituting these coordinates into Equation (3) and solving for the polynomial coefficients by least squares gives
p = z 3 + z 6 + z 9 − z 1 − z 4 − z 7 6 w q = z 1 + z 2 + z 3 − z 7 − z 8 − z 9 6 w .
The corresponding slope and aspect in planar coordinates are then obtained by substituting Equation (4) into Equations (1) and (2).

2.2. The EEA Grid Algorithm

Equation (3) is defined in planar coordinates; therefore, deriving slope and aspect from an EEA grid DEM based on the Evans model requires converting angular units into linear distances and transforming ellipsoidal geometry into a local planar representation.
The local projection strategy shown in Figure 1b is adopted to satisfy the geometric assumptions of the Evans model. Specifically, the centroids of the two corner cells in the upper row (z1, z3) are symmetric with respect to the central meridian plane. The same symmetry applies to the two corner cell centroids in the lower row (z7, z9). Consequently, the chords connecting the upper and lower pairs of corner cell centroids are both perpendicular to the central meridian plane and therefore parallel to each other. These two distinct parallel chords uniquely define a plane containing all four corner cell centroids. Accordingly, the local ellipsoidal surface is projected onto this plane. Black solid curves denote arcs along meridians and parallels connecting adjacent cell centroids on the ellipsoid, while black solid lines represent the corresponding chords connecting cell centroids on the projected plane. A local Cartesian system is then defined in the projected plane, with x- and y-axes oriented along the east–west and north–south directions, respectively. The centroids of the other five cells on the ellipsoid are orthogonally projected onto the plane, yielding points n1, n2, m1, m2, and O on the coordinate axes. This projection is selected to prioritize geometric clarity and simplicity in constructing the planar coordinates of the nine cell centroids, while also avoiding substantial projection distortion. The coordinates are determined based on ellipsoidal chord lengths and their relationships with the relevant geometric elements in the projected window.
Figure 2 illustrates the cross-sections associated with the local window, which can be used to facilitate the derivation of coordinates for the cell centroids. In the parallel plane containing z1, z2, and z3 (Figure 2a), n1 is located at the midpoint of chord z1z3 on the y-axis. Therefore, the x-coordinates of z1 and z3 are −z1z3/2 and z1z3/2, respectively. Similarly, the x-coordinates of z7 and z9 are −z7z9/2 and z7z9/2. The chord lengths z1z3 and z7z9 are calculated using the parallel chord formula (Equation (6)).
Figure 2. (a) Cross-section of the parallel plane, (b) left portion of the projected plane, and (c) cross-section of the meridian plane. The auxiliary lines and points used in the coordinate derivation are also marked.
The x-coordinate of m1 is derived from the geometry shown in Figure 2b. A perpendicular from z1 intersects m1O at point C and z7n2 at point C′, respectively. By similar triangles: m1C = z1m1 × (z7n2 − z1z3/2)/z1z7, which gives m1O = z1z3/2 + z1m1 × (z7z9/2 − z1z3/2)/z1z7, where z1z7 is obtained from the meridional chord formula (Equation (7)), and z1m1 is derived from the geometric relationship shown in Figure 2c.
In Figure 2c, m1 divides the chord z1z7 into segments z1m1 and m1z7. Let y1, y4, and y7 denote the y-coordinates of z1, z4, and z7 on the meridian ellipse, respectively. These coordinates are given by the parametric equations of the ellipse: y = b sinθ, where b is the semi-minor axis of the Earth ellipsoid, and θ is the parametric latitude related to the geodetic latitude φ by
θ = arctan b 2 / a 2 ⋅ tan φ ,
where a is the semi-major axis. By similar triangles, (y1 − y7)/(y4 − y7) = z1z7/m1z7, and therefore: z1m1 = z1z7 − z1z7 × (y4 − y7)/(y1 − y7). The x-coordinate of m1 is −m1O, while that of m2 is m1O due to symmetry. The x-coordinates of n1, O, and n2 are zero.
The y-coordinate of z1, (i.e., distance z1C) is obtained using the Pythagorean theorem: z 1 C = z 1 m 1 2 − m 1 C 2 . Because z1z3 is parallel to the x-axis, n1 and z3 share the same y-coordinate. Similarly, the y-coordinate of z7 is −CC′, where CC ′ = m 1 z 7 2 − z 7 z 9 / 2 − m 1 O 2 . Thus, n2 and z9 have y-coordinates −CC′, while m1, O, and m2 have a zero y-coordinate. At this point, the coordinates of all cells have been expressed in terms of chord lengths along the meridians and parallels.
Given ellipsoidal parameters a and b, and DEM resolution ω, chord lengths along parallels (Cpar) and meridians (Cmer) are
C par = 2 a ⋅ sin Δ λ 2 ⋅ cos θ ,
C mer = a 2 cos θ 1 − cos θ 2 2 + b 2 sin θ 1 − sin θ 2 2 ,
where Δλ is the longitude difference along a parallel, θ is the parametric latitude of the parallel, and θ1 and θ2 are the parametric latitudes of cells along a meridian.
Within a 3 × 3 window, the upper, central, and lower cell latitudes (φupper, φcentral and φlower) satisfy
φ upper = φ central + ω φ lower = φ central − ω .
Substituting Equation (8) into Equations (5)–(7) determines all chord lengths and cell coordinates. For given values of ω, a, and b, these coordinates depend only on the central latitude φ.
Let the x-coordinates of z3 and z1, m2 and m1, and z9 and z7 be represented by ±g1(φ), ±g2(φ), ±g3(φ), respectively. The y-coordinates of z1, n1, and z3 are denoted as f1(φ), and those of z7, n2, and z9 as −f2(φ). Omitting the explicit dependence on φ for brevity, substitution of these coordinates and elevations z1–z9 into Equation (3) and applying least-squares fitting yields the EEA grid p and q:
p = g 1 g 3 2 f 2 f 1 + f 2 z 3 − z 1 + g 2 g 1 2 f 1 2 + g 3 2 f 2 2 z 6 − z 4 + g 1 2 g 3 f 1 f 1 + f 2 z 9 − z 7 2 g 2 2 g 1 2 f 1 2 + g 3 2 f 2 2 + g 1 2 g 3 2 f 1 + f 2 2 , q = 1 3 f 1 f 2 f 1 + f 2 g 1 4 + g 2 4 + g 3 4 { f 1 2 g 1 2 g 3 2 − g 2 2 + f 2 2 g 1 2 g 2 2 + g 2 4 + g 3 4 z 1 + z 3        − f 2 2 g 1 4 + g 1 2 g 2 2 + g 3 4 − f 1 2 g 1 4 + g 2 2 g 3 2 + g 3 4 z 4 + z 6        − f 1 2 g 1 4 + g 1 4 + g 2 2 g 3 2 − f 2 2 g 3 2 g 2 2 − g 1 2 z 7 + z 9        + f 2 2 g 1 4 3 z 2 − z 5 + g 2 4 z 2 − 3 z 5 + g 3 4 − 2 g 1 2 g 2 2 z 2 − z 5        + f 1 2 g 2 4 3 z 5 − z 8 + g 3 4 z 5 − 3 z 8 + g 1 4 − 2 g 2 2 g 3 2 z 5 − z 8        − 2 f 2 2 g 3 2 g 2 2 − g 1 2 z 8 + f 1 2 g 1 2 g 3 2 − g 2 2 z 2 } .
It should be noted that Equation (9) actually reproduces the original EEA formula proposed by Florinsky [22] in its analytical form. However, the difference lies in how the parameters g1–g3, f1, and f2 are calculated. In this study, these parameters are derived from planar distances obtained through local projection, whereas the original EEA formula directly uses arc lengths on the ellipsoid. Combining Equation (9) with Equations (1) and (2) yields the refined EEA grid algorithm for slope and aspect derivation. Accordingly, for a GCS DEM with ellipsoidal parameters a and b, slope and aspect can be expressed as functions of resolution ω, latitude φ, and elevation z.

2.3. Simplification of the EEA Grid Algorithm

The original expressions of p and q are complex. Although the x- and y-coordinates of the cells within the local 3 × 3 window are strictly different, the expressions of p and q can be simplified by assuming that the differences in these coordinates are negligible. Accordingly, the distance parameters associated with the x- and y-coordinates are grouped into two common parameters based on their directions. Under the same angular resolution in a GCS, the variations in distance between adjacent cells are smaller along the y-axis than along the x-axis, owing to the geometric characteristics of meridian and parallel. Therefore, the simplification is performed in the following two steps:
  • f1 and f2 are first replaced by a common parameter f, while g1, g2, and g3 remain unchanged, yielding the initial simplified form EEA_EY:
    p = 2 g 1 g 3 2 z 3 − z 1 + g 1 2 g 2 + g 2 g 3 2 z 6 − z 4 + 2 g 1 2 g 3 z 9 − z 7 2 g 1 2 g 2 2 + 8 g 1 2 g 3 2 + 2 g 2 2 g 3 2 , q = 1 6 f g 1 4 + g 2 4 + g 3 4 [ g 1 2 g 3 2 g 2 4 + g 3 4 z 1 + z 3 + g 2 2 g 3 2 − g 1 2 g 2 2 z 4 + z 6 − g 1 2 g 3 2 g 1 4 + g 1 4 z 7 + z 9 + 3 g 1 4 + g 2 4 + g 3 4 − 2 g 1 2 g 3 2 z 2 − g 1 4 + g 2 4 + 3 g 3 4 − 2 g 1 2 g 3 2 z 8 + 2 g 2 2 g 1 2 − g 3 2 z 5 ] .
  • g1, g2, and g3 are further replaced by a common parameter g, resulting in the further simplified form EEA_EYX:
    p = z 3 + z 6 + z 9 − z 1 − z 4 − z 7 6 g q = z 1 + z 2 + z 3 − z 7 − z 8 − z 9 6 f .
In both simplification steps, the common parameter f is determined as the arithmetic means of the original coordinate distances, while g is determined using the value of g2. These two steps substantially reduce the complexity of the original EEA grid formulas. The accuracy of the resulting simplified formulations is quantitatively evaluated in Section 4.3.

3. Experimental Design

The evaluation of the refined EEA grid algorithm was performed using both mathematical surfaces and real-world DEMs, with the effects of resolution, latitude, and elevation variability systematically investigated. In the mathematical surface experiments, the EEA grid algorithm and its simplified forms were compared with the PS grid algorithm and the PT method in terms of error statistics and spatial patterns. The PS grid algorithm, which has been widely validated in terrain analysis [14], was used as the benchmark. Although the PS and EEA grids have different geometric structures and their grid locations generally do not coincide exactly, the errors of both algorithms were calculated independently against their reference values. For the PT method, the dimensions and locations of the resulting cells after two resampling processes are exactly the same as those of the EEA grid. For each grid, the reference slope and aspect values were analytically derived from the Gaussian surface at the same location, allowing the accuracy of the above algorithms and method to be compared. In real-world DEM experiments, the relative performance of the EEA grid algorithm and the PT method were further compared in terms of derived terrain parameters and computational efficiency under various terrain conditions.

3.1. Construction of Composite Terrain Model

Mathematical surface models are widely used for terrain simulation in digital terrain analysis [14,25] because they enable the analytical determination of true topographic parameters. In this study, a composite Gaussian surface is adopted, defined as
z = A 1 − x m 2 ⋅ exp − x m 2 − y n + 1 2 − B 0.2 ⋅ x m − x m 3 − y n 5   ⋅ exp − x m 2 − y n 2 − C ⋅ exp − x m + 1 2 − y n 2 ,
The parameters controlling the surface shape are initially set to A = 1800, B = 6000, C = 200, m = 5250, and n = 5250, with a domain of −9282 ≤ x, y ≤ 9282 (Figure 3). These parameter values were selected through preliminary experiments to provide a suitable test surface for slope- and aspect-derivation algorithms. The resulting surface incorporates fundamental terrain features—including peaks, ridges, saddles, and valleys—and its elevation range exceeds 10 km, covering the actual condition on the Earth’s surface.
Figure 3. (a) Three-dimensional profile and (b) contours of the Gaussian surface.

3.2. Selection of Projection

When comparing topographic parameters derived from the EEA and PS grids, projection distortion in the PCS should be properly controlled to reduce its influence on the comparison. Therefore, the sinusoidal projection is selected because its grid geometry provides a relatively simple and interpretable basis for examining the effects of projection-induced changes in grid geometry. Specifically, there is no distortion along the central meridian. Its parallels are straight, equally spaced, and perpendicular to the central meridian, while the east–west spacing between meridians decreases systematically with latitude. Compared with other common projections without these characteristics, such as transverse Mercator, this configuration exactly allows the effects of latitude—one of the critical factors determining the value of derived slope and aspect in GCSs—on grid spacing variation to be examined in a straightforward manner. In addition, the WGS 84 ellipsoid is adopted as the reference GCS.
Figure 4a illustrates the sinusoidal projection in the Northern Hemisphere with a central meridian at 108° E. The Southern Hemisphere is geometrically symmetric, and the choice of central meridian does not affect the results, as indicated by the p and q formulas. Near the equator and central meridian, projected longitude–latitude grids are nearly square and aligned with the x- and y-axes, whereas distortion increases with latitude, causing the grids to become progressively trapezoidal. Considering these characteristics, the Gaussian surface is placed on the central meridian. Figure 4b and Figure 4c show the projected grid geometry at the equator and 84° N, representing minimum and pronounced distortions, respectively. Although the spatial extents are comparable, the east–west dimensions of angular grids decrease substantially with latitude, while the north–south dimensions remain nearly unchanged.
Figure 4. (a) Sinusoidal projection in the Northern Hemisphere with a central meridian at 108°E, and its geometric structure at the latitudes of (b) 0° N and (c) 84° N.

3.3. Derivation of Slope and Aspect Under Different Latitude, Resolution, and Elevation Variability Conditions

To investigate the effects of the three key factors on the accuracy of the EEA grid algorithm, representative latitude and resolution sequences, as well as three elevation variability levels, were designed. The latitude sequence ranges from 0° N to 89° N, with 5° intervals from 0° N to 85° N and 2° intervals from 85° N to 89° N. The resolution sequence ranges from 1″ to 60″, with 3″ additionally included between 1″ and 5″ and 5″ intervals thereafter. Elevation variability is represented by three levels (3, 2 and 1), corresponding to the original Gaussian surface and two horizontally stretched variants generated by multiplying m and n by 10/7 and 13/7, respectively. Elevation variability is quantified using elevation standard deviation. The denser latitude sampling at high-latitude regions can capture the effects of rapid meridian convergence and grid deformation, while 90° N is excluded because the convergence of all meridians at the pole violates the geometric assumptions of the EEA grid algorithm. The inclusion of 1″ and 3″ resolutions covers the spatial resolutions of widely used global DEM products, while the maximum resolution interval is limited to 60″ because coarser grids become less representative of local terrain variability. The selected Gaussian surface parameters produce slope and aspect ranges comparable to those of real-world terrains, providing a comprehensive evaluation of algorithm performance.
To locate the Gaussian surfaces on the Earth ellipsoid, the coordinates x, y, and z in Equation (12) are defined in meters. For the initial case (i.e., 0° N and 1″ resolution), the origins of the three Gaussian surface variants are placed at (108° E, 0° N), with the x-axis oriented eastward along the equator and the y-axis oriented northward along the central meridian. Topographic parameters are then derived in both the PCS and GCS.
For the GCS, a sample set with a 1″ interval is first established within each target-latitude region, and its corresponding distribution in the sinusoidal projection is obtained through projection transformation. The true slope and aspect are analytically calculated from the first-order derivatives (∂z/∂x and ∂z/∂y) of Equation (12) at the projected locations. A corresponding 1″ Gaussian surface DEM is generated by evaluating Equation (12) at these locations; estimated slope and aspect are then derived using the EEA grid algorithm and the PT method, respectively.
For the PCS, a sample set with a 30.7151 m interval is established. This interval corresponds to the north–south dimension of a 1″ cell at the Gaussian surface origin, ensuring comparable sampling spacing between the PCS and GCS in at least one direction. The true slope and aspect are calculated using the same analytical approach, while estimated values are obtained using the PS grid algorithm.
For other combinations of latitude, resolution, and elevation variability, the same procedures are applied after shifting the Gaussian surface origin to the target latitude and adjusting the sampling interval accordingly.

3.4. Real-World DEMs

The 1″ and 3″ SRTM datasets were selected because they are widely used global DEM products and provide sufficient spatial resolution to preserve local topographic characteristics relevant to slope and aspect. Furthermore, nine representative 1° × 1° regions were selected across three latitude ranges and three elevation variability levels (Figure 5), with the corresponding elevation standard deviations (SDs) provided for each region. Owing to the complexity of real-world terrain, the SDs of the three elevation variability levels are not expected to match those of the Gaussian surfaces exactly. However, their relative order is preserved.
Figure 5. The SRTM elevation data (1″ resolution) with distinct topographic characteristics across different latitude ranges. NyyW/Exxx denotes the SRTM tile identifier. Elev. SD represents elevation standard deviation (unit: meters).

3.5. Computational Efficiency Evaluation

The computational efficiency of the EEA grid algorithm relative to the PT method was evaluated under identical hardware and software conditions in a Python 3.13 environment. The core slope and aspect calculation functions of both methods were implemented in C++ 14 and exposed to Python as libraries, while projection transformations required by the PT method were performed using GDAL 3.9.2.
Execution times were measured with data input/output (I/O) operations excluded, which were identical across methods and unrelated to algorithm performance. Relative computational efficiency was quantified by the mean ratio of PT execution time to EEA execution time. For each SRTM region, slope and aspect calculations were repeated 50 times.

4. Results

4.1. Comparison of the EEA and PS Grid Algorithms on Gaussian Surface DEMs

The root mean square error (RMSE) and bias between the derived and true slope and aspect values of Gaussian surfaces were used to evaluate the accuracy of the PS and EEA grid algorithms. Since aspect is a circular variable with a period of 360°, its errors were calculated as the minimum angular differences and normalized to the range of −180° to 180°. Figure 6 presents the variations in these metrics with latitude and resolution under three elevation variability levels. For comparison, PS grid resolutions in the PCS are expressed using the same units as the GCS data and correspond to the north–south dimensions of the central GCS cells (Section 3.3). The slope bias axis is inverted for visualization.
For both algorithms, decreasing elevation variability from Level 3 to Level 1 consistently reduces slope RMSE and absolute bias across most latitude and resolution combinations. In contrast, elevation variability has a less evident influence on aspect RMSE and bias, especially for the PS grid algorithm. Nevertheless, the effects of latitude and resolution, as well as the relative performance of the two algorithms, remain generally consistent across all three levels.
For slope derived using the PS grid algorithm, the RMSE and absolute bias show similar variations with latitude and resolution, with bias remaining consistently negative. Both metrics increase substantially at coarser resolutions, while showing limited latitudinal variation. At the equator, the EEA grid algorithm produces nearly identical slope RMSE and bias to the PS grid algorithm across all resolutions. At higher latitudes, its resolution dependence remains similar but is less pronounced. The latitudinal variations in EEA slope errors also depend strongly on resolution. For resolutions finer than 10″, RMSE gradually increases from the equator to approximately 80° N before rising sharply toward very high latitudes. At coarser resolutions, it generally decreases with latitude before increasing again at very high latitudes. Absolute bias follows a broadly similar pattern but continues to decrease at very high latitudes where RMSE increases sharply. Moreover, at resolutions finer than 10″, bias changes from negative to positive and increases in magnitude with latitude.
Figure 6. Variations in the RMSE and bias of slope and aspect derived from the Gaussian surface DEM using the PS and EEA grid algorithms across latitudes and resolutions under three elevation variability levels. Black meshes represent the PS grid algorithm and colored meshes represent the EEA grid algorithm.
The slope accuracy differences of the EEA and PS grid algorithms vary with latitude and spatial resolution. Across all elevation variability levels, the EEA grid algorithm generally produces lower slope errors at resolutions coarser than 10″ and latitudes above 10° N. Within these conditions, the mean RMSE differences for Levels 1, 2, and 3 are 0.1518°, 0.3065°, and 0.6234°, respectively, while the corresponding mean bias differences are 0.1436°, 0.2814°, 0.5961°. Under the conditions where the PS grid algorithm produces lower errors, the mean RMSE differences are 0.0359°, 0.0332°, and 0.0285°, respectively, with the maximum differences of 0.3218°, 0.2937°, and 0.2283°. The corresponding mean bias differences are 0.0077°, 0.0079°, and 0.0117°, respectively, with maximum differences of 0.0340°, 0.0430°, and 0.0214°. All these maximum differences occur at 89° N with a 1″ resolution. Across all tested resolutions and latitudes, the mean differences in slope RMSE between the EEA and PS grid algorithms were 0.0853°, 0.1999°, and 0.4268° for the three levels, respectively, with lower mean RMSEs consistently achieved by the EEA algorithm.
For aspect derived using the PS grid algorithm, the RMSE shows a general increase with coarser resolution and a relatively weak dependence on latitude, following a pattern broadly similar to that of slope, but exhibits considerable fluctuations with resolutions. Aspect bias also fluctuates substantially across resolutions without a clear trend, particularly at coarse resolutions. By contrast, the influences of elevation variability and latitude are less apparent. The EEA grid algorithm exhibits broadly similar variations, but with pronounced RMSE and bias spikes at moderate-to-coarse resolutions and a marked RMSE increase in very-high-latitude regions at moderate-to-fine resolutions. Aspect bias varies less across resolutions than RMSE, although larger negative biases appear at fine resolutions in high-latitude regions. Similar to the PS grid algorithm, the influence of elevation variability is difficult to distinguish because of strong fluctuations and localized error peaks.
Overall, the EEA grid algorithm generally provides lower aspect RMSEs and absolute biases at moderate-to-coarse resolutions, despite several error spikes under these conditions. Furthermore, at higher elevation variability levels, the EEA grid algorithm achieves lower RMSEs under a greater number of latitude and spatial resolution combinations. Regarding RMSE, the mean differences under conditions favoring the EEA grid algorithm are 1.3246°, 1.6191°, and 1.3185° for Levels 1, 2, and 3, respectively, compared with 0.6336°, 0.7140°, and 0.7073° under conditions favoring the PS grid algorithm. Regarding absolute bias, the corresponding mean differences are 0.2111°, 0.4516°, and 0.2228° for the conditions favoring the EEA grid algorithm and 0.0432°, 0.0635°, and 0.1567° for the conditions favoring the EEA grid algorithm. Across all tested resolutions and latitudes, the mean differences in aspect RMSE between the EEA and PS grid algorithms were 0.3090°, 0.5974°, and 0.5761° for the three levels, respectively, with lower mean RMSEs consistently achieved by the EEA algorithm.
To examine the spatial patterns underlying the statistical results, Figure 7 presents the estimated slope and aspect of the Level 3 Gaussian surface at a 1″ resolution, together with their corresponding error maps, at 0° N and 84° N. The latter latitude was selected to represent strong geometric distortion while avoiding numerical singularities. Because the PS grid sampling arrangement at 84° N is nearly identical to that at 0° N, only one set of images is presented. For consistency, the EEA grid results are displayed in the corresponding PCS.
Figure 7. Estimated slope and aspect of the Level 3 Gaussian surface at 0° N and 84° N for the 1″ resolution case using the PS and EEA grid algorithms, along with the corresponding errors (unit: degrees).
The two algorithms produce highly similar spatial distributions of slope and aspect at both latitudes, although differences are visible in the error maps. At 0° N, their sampling arrangements are nearly identical, resulting in very similar error patterns. At 84° N, however, the EEA grid exhibits a substantially different sampling geometry, accompanied by more pronounced positive and negative deviations. The error magnitudes are also considerably larger than those at the equator and those produced by the PS grid algorithm. These spatial patterns are consistent with the statistical results in Figure 6.
Overall, despite operating on DEMs with different geometric structures, the EEA and PS grid algorithms exhibit only small differences in slope and aspect accuracy across different latitudes, spatial resolutions, and elevation variability levels.

4.2. Comparison of the EEA Grid Algorithm and PT Method on Gaussian Surface DEMs

Figure 8 presents the variations in RMSE and bias of the slope and aspect derived from the Gaussian surfaces using the EEA grid algorithm and the PT method relative to their true values. During the projection transformation, bilinear interpolation is applied to slope due to its continuous scalar property, whereas nearest-neighbor interpolation is used for aspect because it is a circular variable. These strategies are the commonly used interpolation methods for slope and aspect. The output cell size is defined as the north–south dimension of the central Gaussian surface DEM cell, expressed in meters.
Figure 8. Variations in the RMSE and bias of slope and aspect derived from the Gaussian surface DEM using the EEA grid algorithm and the PT method across latitudes and spatial resolutions under three elevation variability levels. Black meshes denote the EEA grid algorithm, whereas colored meshes denote the PT method.
For the PT method, both RMSE and absolute bias of slope and aspect generally increase as spatial resolution becomes coarser, although noticeable error spikes occur under certain latitude and resolution combinations, particularly for slope RMSE and aspect bias. At very high latitudes, slope RMSE and absolute bias increase markedly across most resolutions, except that the bias changes from negative to positive at finer resolutions. The latitudinal dependence of aspect is weaker, although RMSE increases noticeably at very high latitudes under moderate-to-coarse resolutions. While the absolute bias of aspect generally increases with decreasing resolution, Levels 1 and 2 show predominantly positive bias, whereas Level 3 is characterized mainly by negative bias.
Compared with the EEA grid algorithm, the PT method produces substantially larger slope and aspect errors under nearly all conditions. The differences are most pronounced for slope at mid-to-high latitudes and for aspect at low-to-mid resolutions. Across all tested resolutions and latitudes for the elevation variability Levels 1, 2, and 3, the mean differences in slope RMSE between the EEA grid algorithm and the PT method were 1.4972°, 1.9012°, and 2.0968°, respectively, while those for aspect RMSE were 52.5089°, 55.2324°, and 34.4247°.
To further illustrate the spatial differences between the two methods, Figure 9 presents the slope and aspect derived from the Level 3 Gaussian surface at a 1″ resolution using the PT method, together with the corresponding error maps. The spatial distributions of slope and aspect at both latitudes are generally similar to those produced by the EEA grid algorithm, but the error patterns differ markedly. A prominent feature of the PT method is the structural texture. For slope, although the error magnitudes at 0° N are comparable to those of the EEA grid algorithm, the PT method produces more extensive positive and negative error regions with larger amplitudes. At 84° N, the overall error magnitude increases substantially, with most errors being negative. For aspect, the error magnitudes at 0° N are approximately two orders of magnitude larger than those of the EEA grid algorithm. At 84° N, although most grid cells have error magnitudes comparable to those of the EEA grid algorithm, a small number of boundary cells exhibit much larger deviations, increasing the overall error.
Figure 9. Slope and aspect of the Gaussian surface estimated using the PT method, together with the corresponding errors at 0° N and 84° N (unit: degrees).

4.3. Comparison of the EEA Grid Algorithm and Its Simplified Forms Using Gaussian Surface DEMs

Figure 10 and Figure 11 illustrate the variations in slope and aspect RMSE and bias between the original EEA grid algorithm and its initial and further simplified forms across different latitudes, resolutions, and elevation variability levels.
Figure 10. Variations in slope and aspect RMSE and bias for different Gaussian surface levels between the original EEA grid algorithm and EEA_EY across latitudes and resolutions. The black mesh represents the zero-reference surface, while the colored mesh represents the differences.
Figure 11. Variations in slope and aspect RMSE and bias for different Gaussian surface levels between the original EEA grid algorithm and EEA_EYX across latitudes and resolutions. The black mesh represents the zero-reference surface, while the colored mesh represents the differences.
For EEA_EY, RMSE and bias increase slightly with decreasing resolution and increasing elevation variability; they are also approximately symmetric with respect to latitude. However, these errors are negligible compared with those of the PT and PS grid algorithms. Slope RMSE and bias are on the order of 10−7 to 10−6, while those for aspect are on the order of 10−6 to 10−4. For EEA_EYX, the differences from the original EEA grid algorithm become more pronounced. Slope RMSE and bias are on the order of 10−4 to 10−3, while those for aspect range from 10−3 to 10−1. The largest discrepancies occur mainly at very high latitudes and coarse resolutions. In contrast, over the low- and mid-latitude regions and under finer resolutions, the differences are much smaller. For example, even for the Level 3 Gaussian surface, which exhibits the largest differences, the mean RMSE and bias remain on the order of 10−4 or 10−3. Overall, EEA_EY produces results that are nearly identical to those of the original EEA grid algorithm across the tested conditions. EEA_EYX, in contrast, introduces more noticeable differences, particularly in aspect calculations at very high latitudes and coarse resolutions.

4.4. Performance of the EEA Grid Algorithm on Real-World DEMs

Because true slope and aspect values are difficult to obtain for real-world terrains, the performance of the EEA grid algorithm was evaluated by comparing its results with those obtained using the PT method. Although the PT method results do not represent the true terrain parameters, the comparison provides a basis for examining the differences between the two approaches under real-world terrain conditions. Based on the results in Section 4.3, EEA_EYX was adopted as the practical implementation of the EEA grid algorithm because it substantially simplifies the formulation while maintaining acceptable accuracy. The PT resampling procedure followed Section 4.2. Figure 12 and Figure 13 show the spatial distributions of slope and aspect differences between the two methods for nine representative regions; Figure 14 summarizes the corresponding RMSE and bias.
Figure 12. Slope differences between the PT method and the EEA grid algorithm across three latitude ranges (unit: degrees).
Figure 13. Aspect differences between the PT method and the EEA grid algorithm across the three latitude ranges (unit: degrees).
Figure 14. Differences in RMSE and bias for slope and aspect between the PT method and the EEA grid algorithm for regions with different levels of elevation variability and latitude ranges.
For slope, areas with low elevation variability (tiles N50E047, N35W097, and N20E097) show mainly random difference patterns without clear ridge- or valley-related structures. In contrast, areas with higher terrain variability exhibit difference patterns strongly associated with terrain morphology.
For the 1″ DEM, mountainous regions show approximately balanced positive and negative differences, whereas flat areas exhibit only small differences. Consequently, slope biases are close to zero for all study areas. However, their consistently negative values indicate that the PT method generally produces slightly smaller slopes than the EEA grid algorithm. No clear relationship is observed between slope bias and terrain variability, while RMSE shows a slight increase with increasing elevation variability. Under similar terrain conditions, RMSE generally increases with latitude, consistent with the Gaussian surface experiments (Figure 8, first row), despite a few local exceptions (e.g., N20E104).
For the 3″ DEM, slope biases are positive across all latitude and elevation variability conditions and are generally larger than those from the 1″ DEM. Spatially, many large positive and negative differences in mountainous areas observed for the 1″ DEM become predominantly positive, whereas flat areas remain characterized by small differences. Therefore, slope RMSE is consistently larger for the 3″ DEM. Apart from this increase in error magnitude, the variations in RMSE and bias with latitude and elevation variability remain similar to those of the 1″ DEM.
Aspect differences are substantially larger than slope differences. The largest discrepancies mainly occur in areas with gentle relief, particularly valley bottoms and drainage channels, whereas steep terrain generally exhibits smaller differences. Positive aspect biases occur in all study areas. At comparable latitudes, RMSE and bias generally decrease with increasing elevation variability, and both are consistently larger for the 3″ DEM than for the 1″ DEM.
The slope and aspect results of all SRTM regions derived using the EEA grid algorithm are provided in Appendix A (Figure A1 and Figure A2).

4.5. Computational Efficiency of the EEA Grid Algorithm Relative to the PT Method

To provide a conservative assessment of the computational efficiency of the proposed framework, the original EEA grid algorithm was compared with that of the PT method across all experimental regions using 1″ and 3″ SRTM data. The execution times of the simplified EEA formulations were also examined and found to be comparable to that of the original EEA algorithm. Figure 15 presents the ratios of the mean execution time of the PT method to those of the original EEA grid algorithm. The PT method consistently requires substantially more computation time than the EEA grid algorithm across all regions.
Figure 15. Ratios of the mean execution time of the PT method to those of the EEA grid algorithm for slope and aspect derivation in the experimental regions. Error bars represent the standard deviation of the ratios.
At 1″ resolution, the PT method requires 2.64–6.06 times more time for slope computation and 1.85–4.06 times more time for aspect computation. At 3″ resolution, these ratios increase to 19.80–31.98 and 13.75–20.68, respectively. The execution time ratios show no clear dependence on latitude or elevation variability. However, the computational efficiency advantage of the EEA grid algorithm is greater for slope and aspect computation at coarser resolutions. The small error bars indicate low variability of the execution time ratios across repeated runs.

5. Discussion

5.1. Effects of Geometric Factors on Algorithm Accuracy

It is evident from the Gaussian surface experiment that the accuracy of slope and aspect derived using the EEA and PS grid algorithms is influenced by latitude, spatial resolution, and elevation variability. For both algorithms, the smaller slope RMSE and absolute bias at lower elevation variability levels can be attributed to the reduced terrain gradients and greater consistency in elevation among neighboring DEM cells over smoother surfaces. These characteristics decrease gradient estimation errors associated with raster discretization. In contrast, the influence of elevation variability on aspect accuracy is less evident because aspect depends on the relative magnitudes of the two directional gradient components. Changes in elevation variability affect both components, but do not necessarily produce substantial changes in their relative magnitudes. This difference reflects the distinct sensitivities of slope and aspect to errors in gradient estimation.
For the PS grid algorithm, the strong dependence of slope and aspect errors on spatial resolution is mainly associated with DEM discretization and raster sampling. At coarser resolutions, larger sampling intervals tend to suppress local terrain variations, generally resulting in underestimated terrain gradients. According to Equation (1), slope is determined by the combined magnitudes of the two gradient components. Therefore, underestimation of both components leads to lower slope estimates, contributing to the increasing magnitude of RMSE and the consistently negative slope bias. In contrast, as indicated by Equation (2), aspect depends on the ratio of the two gradient components rather than their individual magnitudes. The same sampling interval may affect the two components to different extents, Therefore, the ratio of the two gradient components may either be amplified or reduced, depending on their respective errors. Consequently, aspect RMSE and bias exhibit non-monotonic variations with spatial resolution. In comparison, the latitudinal influence on PS slope and aspect accuracy is relatively weak because north–south spacing varies only slightly under equal angular intervals, despite a slight increase toward higher latitudes.
The more complex latitudinal variations in slope and aspect accuracy for the EEA grid algorithm are associated with latitude-dependent changes in grid geometry. As latitude increases, meridian convergence causes the east–west spacing between adjacent cells to decrease, whereas the north–south spacing remains relatively stable. This reduction in east–west spacing increases the longitudinal sampling density and is accompanied by an increase in grid anisotropy. The increase in sampling density may alleviate the slope underestimation associated with DEM discretization. Meanwhile, the accompanying increase in grid anisotropy makes the east–west gradient component more sensitive to local elevation variations. This sensitivity becomes more pronounced at very high latitudes and fine resolutions, where the east–west spacing becomes particularly small. The combined influence of these interrelated geometric changes therefore contributes to the increased slope and aspect RMSE observed under these conditions, with aspect exhibiting a more pronounced increase. Compared with the PS grid algorithm, the more fluctuated latitudinal variations in aspect errors of the EEA grid algorithm can be explained by a mechanism similar to that underlying their dependence on resolutions. Specifically, continuous changes in east–west spacing with latitude affect the east–west gradient component to varying degrees, thereby altering its ratio to the north–south gradient component. Variations in this ratio therefore contribute to the irregular latitudinal patterns in aspect errors. Furthermore, the transition from negative to positive slope bias at fine resolutions indicates that the influence of latitude-dependent grid geometry becomes sufficiently pronounced to offset and eventually exceed the underestimation associated with DEM discretization.
The different responses of the EEA and PS grid algorithms to latitude and spatial resolution also help explain their relative accuracy. At the equator, the two algorithms have nearly identical sampling geometries, resulting in comparable slope and aspect accuracy. As latitude increases, however, the sampling geometry of the EEA grid increasingly differs from that of the PS grid. These latitude-dependent geometric changes contribute to the relative advantage of the EEA grid algorithm for slope at mid-to-high latitudes and moderate-to-coarse resolutions, where denser longitudinal sampling may improve the representation of terrain gradients. Conversely, at high latitudes with finer resolutions, the increased grid anisotropy leads to the relative disadvantage of the EEA grid algorithm for both slope and aspect estimation. Nevertheless, under the conditions where the PS grid algorithm performs slightly better, the differences between the two algorithms remain generally small. This indicates that the proposed EEA grid algorithm can achieve slope and aspect accuracy comparable to that of the PS grid algorithm across a broad range of the tested conditions, supporting its applicability to derive slope and aspect directly from the GCS DEMs.

5.2. Advantages of the EEA Grid Algorithm over the PT Method in Accuracy and Computational Efficiency

The experimental results demonstrate that the EEA grid algorithm provides advantages over the PT method in both accuracy and computational efficiency. These advantages are closely related to the fundamental differences in their processing procedures in that the EEA grid algorithm does not require the additional reprojection and resampling operations that involved in the PT method.
In terms of accuracy, transforming a GCS DEM into a PCS can change the spatial configuration of grids, including cell sizes and locations, and requires resampling to transfer elevation values onto the new grid. After slope and aspect are derived in the PCS, the reverse transformation to a GCS requires another resampling operation to obtain the final grids. The geometric and interpolation errors introduced by these successive operations can propagate through gradient calculations and affect the resulting slope and aspect values.
To examine the influence of resampling strategies on the PT method results, we conducted additional tests on Gaussian surfaces using other commonly used interpolation methods including cubic convolution for slope and bilinear interpolation for aspect. Compared with the original strategies, cubic convolution produced smaller slope errors in extremely high latitude regions, while the differences between bilinear and cubic convolution were generally small at other latitudes. For aspect, bilinear interpolation yielded slightly larger errors compared with nearest neighbor method. Nevertheless, the overall finding that the PT method produces larger errors than the EEA grid algorithm remains unchanged with these alternative resampling strategies.
The real-world DEM experiments further show that the differences between the two approaches persist under actual terrain conditions, with their variations in relation to spatial resolution and elevation variability broadly consistent with those observed for Gaussian surfaces.
Furthermore, to quantify the spatial variations in aspect differences between the EEA grid algorithm and the PT method observed in the real-world DEM experiments, Figure 16 presents the mean absolute aspect differences across different slope classes. The results show that, across all tested resolutions, latitudes, and elevation variability levels, the aspect differences between the two approaches are consistently largest in the lowest slope class (0–5°) and decrease with increasing slope. This pattern can also be attributed to the sensitivity of aspect to changes in the ratio of the two directional gradient components. In low-slope areas, the magnitudes of both gradient components are relatively small. Consequently, even minor errors in these components can cause substantial changes in their ratio and produce considerable differences in the derived aspect.
Figure 16. Mean absolute aspect differences between the PT method and the EEA grid algorithm across slope classes for all real terrain tiles. The values above the bars indicate the percentage of samples in each slope class.
Although the specific map projection and resampling schemes examined in this study represent only one implementation of the PT method, these findings indicate that avoiding the additional PT process can help reduce the potential errors in terrain parameter derivation.
The fundamental processing differences also explain the computational efficiency advantage of the EEA grid algorithm. The PT method requires substantially more computation time than the EEA grid algorithm for both slope and aspect derivation, particularly at the 3″ resolution. These coordinate transformations and resampling operations are necessary in addition to the terrain parameter calculations. For large-scale applications involving extensive GCS DEM datasets, these additional operations can further increase processing time and workflow complexity.
Overall, the results demonstrate that the EEA grid algorithm can avoid the additional processing costs and potential accuracy losses associated with the PT method, thereby providing an effective and computationally efficient alternative for large-scale terrain analysis using GCS DEMs.

5.3. Geometric Basis and Accuracy Implications of the EEA Simplifications

The two successive simplifications of the EEA grid algorithm are based on approximating the distance parameters along the y- and x-axes, respectively. In Equation (9), f1 and f2 represent distances along the y-axis, while g1, g2, and g3 represent distances along the x-axis. To characterize the geometric differences among these distance parameters, their variations under different latitudes and spatial resolutions were examined. Since g2 lies between g1 and g3, only the difference between g1 and g3 is evaluated.
Figure 17 shows the differences between f1 and f2, as well as between g1 and g3 under different latitudes and resolutions. Both differences are very small relative to the corresponding cell dimensions under the tested conditions. For example, the maximum ratio of (f1 − f2)/f1 occurs at 45° N/S with a resolution of 60″, where f1 − f2 is approximately 0.0054 m, while f1 and f2 are both approximately 1852 m. Although the ratio (g3 − g1)/g3 approaches 1 near the poles as g1 approaches zero, it decreases rapidly with decreasing latitude. At 89° N/S and 60″ resolution, this ratio is 0.0328, with a mean value of 0.0118 across all conditions. These results illustrate the generally small differences between the distance parameters, particularly those along the y-axis, and provide a geometric basis for the adopted successive simplification strategy of the p and q expressions.
Figure 17. Variations in the differences between (a) f1 and f2 and (b) g1 and g3 with resolution and latitude.
Because the differences between f1 and f2 are extremely small relative to their magnitudes, this approximation introduces only minor deviations into the corresponding gradient component. Consequently, the influence of EEA_EY on the derived slope and aspect values is negligible. In contrast, EEA_EYX approximates g1, g2, and g3, which exhibit relatively larger differences, using a common value. As a result, the derived slope and aspect values show greater differences from those obtained using the original formulation.
It is also worth noting that the variations in slope and aspect errors introduced by the two simplifications against spatial resolution and latitude are broadly consistent with the corresponding variations in the differences between f1 and f2 and between g1 and g3, respectively. Specifically, for EEA_EY, both the slope and aspect errors and the difference between f1 and f2 increase with decreasing spatial resolution and generally reach their maximum around middle latitudes. For EEA_EYX, both the slope and aspect errors and the difference between g1 and g3 generally increase with increasing latitude and decreasing spatial resolution.
These results demonstrate that the two simplifications have different effects on the accuracy of slope and aspect estimation, and the accuracy differences among the original and simplified EEA formulations provide useful guidance for selecting an appropriate formulation in specific applications.

6. Conclusions

An EEA grid algorithm for directly deriving slope and aspect from GCS DEMs was refined and systematically evaluated. By using local ellipsoidal projection to establish planar Euclidean distances instead of directly using ellipsoidal arc lengths, the proposed algorithm provides a planar geometric basis for terrain-gradient calculation that conforms to the usage condition of the Evans surface model while retaining the algebraic forms of the original EEA gradient formulation.
Experiments using Gaussian surfaces and real-world SRTM DEMs revealed three main findings. First, the proposed algorithm achieves slope and aspect accuracy comparable to that of the PS grid method and generally higher accuracy than the PT method. Second, the two simplified formulations have different accuracy implications: EEA_EY produces nearly identical results to the original algorithm, whereas EEA_EYX introduces larger differences, particularly in aspect calculations at very high latitudes and coarse resolutions. Third, comparisons using real-world DEMs further demonstrate the advantages of the EEA algorithm over the PT method in terms of terrain parameter accuracy and computational efficiency, with their magnitudes varying with spatial resolution and terrain characteristics.
The resulting accuracy patterns and their dependence on these factors provide practical guidance for researchers in environmental and Earth-system sciences to assess the expected performance and applicability of the algorithm when deriving topographic parameters, such as slope and aspect, directly from GCS DEMs under different geographic and topographic conditions and at varying spatial resolutions. Nevertheless, this study has several limitations. The evaluation was based on selected Gaussian surfaces and SRTM DEMs, and the regions close to the poles were excluded because of the geometric singularities of geographic coordinates. Moreover, because independent reference values of slope and aspect were unavailable for the real-world DEMs, their comparison with the PT method provides evidence of relative differences rather than independent validation of absolute accuracy. In addition, the proposed framework was developed and evaluated using the Evans gradient formulation; its applicability to other gradient formulations and terrain derivatives remains to be investigated. Future work will therefore explore alternative surface-gradient models and extend the framework to other terrain and hydrological derivatives, such as curvature, flow direction, and flow accumulation.

Author Contributions

Conceptualization, Qinke Yang and Ninglian Wang; methodology, Quan Zhang and Tianmin Dang; software, Quan Zhang; validation, Quan Zhang and Tianmin Dang; formal analysis, Quan Zhang; investigation, Tianmin Dang and Qinke Yang; resources, Ninglian Wang; data curation, Xiaotian Yuan; writing—original draft preparation, Quan Zhang; writing—review and editing, Quan Zhang and Tianmin Dang; visualization, Quan Zhang; supervision, Qinke Yang and Ninglian Wang; project administration, Qinke Yang; funding acquisition, Qinke Yang and Xiaotian Yuan. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China, grant number 41371274; the Key Research and Development Program of Shaanxi Province, grant number 2024NC-YBXM-220; and the Social Science Fund Project of Shaanxi Province, grant number 2022D179.

Data Availability Statement

The 1″ SRTM data used in this study was obtained from link: https://www.earthdata.nasa.gov/data/catalog/lpcloud-srtmgl1-003(accessed on 23 November 2026). The 3″ SRTM data used in this study was obtained from the following link: https://www.earthdata.nasa.gov/data/catalog/lpcloud-srtmgl3-003 (accessed on 23 November 2026). The other data used in this study was generated by the provided code.

Acknowledgments

Special thanks to the anonymous reviewers and David Jupp from CSIRO for providing constructive suggestions.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DEMDigital Elevation Model
GCSgeographic coordinate system
EEAellipsoidal equal-angular
PSplanar square
PCSprojected coordinate system
PTprojection transformation
DSMdigital surface model
SDstandard deviation
RMSEroot mean square error

Appendix A. Slope and Aspect Derived from the 1″ SRTM Data Using the EEA Grid Algorithm

Figure A1 and Figure A2 present the slope and aspect derived from the 1″ SRTM data using the EEA grid algorithm across all regions. Results derived using the PT method and those at a 3″ resolution are omitted as they show spatial patterns highly consistent with those reported here.
Figure A1. Slope derived from 1″ SRTM data using the EEA grid algorithm in the experimental regions (unit: degrees).
Figure A2. Aspect derived from 1″ SRTM data using the EEA grid algorithm in the experimental regions (unit: degrees).

Appendix B. Effects of Local Projection on the Representation of Cell Coordinates and the Estimation of Slope and Aspect

To quantify the geometric approximation introduced by projecting the local ellipsoidal surface onto a plane, we compared the relative differences in the coordinate components of corresponding cell centroids f1, f2, g1, g2, and g3 on the ellipsoidal surface and the projected plane under different spatial resolutions and latitudes (Figure A3). Owing to the geometric symmetry of the local 3 × 3 neighborhood, the variations in the relative errors of f1 and f2 with latitude and spatial resolution are identical. The same applies to g1 and g3. The results show that the relative differences in these coordinate components are generally small, although they vary with latitude and spatial resolution. Specifically, for the tested spatial resolutions ranging from 1″ to 60″ and latitudes from 0° to 89°, the maximum relative differences between the projected-plane and ellipsoidal-surface values of f1 and f2 are less than 1%. Those for g1 and g3 are on the order of 10−7, while that for g2 does not exceed 0.015%.
Furthermore, Figure A4 presents the RMSE and bias of slope and aspect obtained using the EEA grid algorithm with projected-plane Euclidean distances and ellipsoidal-surface arc lengths, respectively. The results indicate that the differences between the two approaches are also small. Specifically, across the three elevation-variation levels and all tested latitude and resolution combinations, the slope RMSE difference does not exceed 0.1°, with a mean on the order of 10−3°. The slope bias difference does not exceed 0.01°, with a mean on the order of 10−4–10−5°. For aspect, the maximum differences in RMSE and absolute bias are less than 0.4° and 0.04°, respectively, with mean values on the orders of 10−2° and 10−4°, respectively.
Overall, these comparisons demonstrate that, relative to the ellipsoidal-surface arc-length approach adopted in Florinsky’s original EEA grid algorithm, the local projection-based approach introduced in this study produces only minor changes in the resulting centroid coordinates and terrain derivatives. This indicates that the proposed approach provides a geometrically suitable alternative for determining the distance parameters required for slope and aspect estimation from GCS DEMs while maintaining results closely comparable to those of the original EEA grid algorithm.
Figure A3. Relative error of cell distances in the local window of the projection plane with respect to that on the ellipsoid. (a) f1 and f2; (b) g1 and g3; (c) g2.
Figure A4. Variations in the RMSE and bias of slope and aspect between the EEA grid algorithm based on projection plane distance and ellipsoidal-surface arc length with resolution, latitude, and elevation variabilities.

References

  1. Ross, A.N.; Linden, P.F.; Dalziel, S.B. A Study of Three-Dimensional Gravity Currents on a Uniform Slope. J. Fluid Mech. 2002, 453, 239–261. [Google Scholar] [CrossRef] [Scilit]
  2. Li, P.; Tariq, A.; Li, Q.; Ghaffar, B.; Farhan, M.; Jamil, A.; Soufan, W.; El Sabagh, A.; Freeshah, M. Soil Erosion Assessment by RUSLE Model Using Remote Sensing and GIS in an Arid Zone. Int. J. Digit. Earth 2023, 16, 3105–3124. [Google Scholar] [CrossRef] [Scilit]
  3. Castelltort, S.; Yamato, P. The Influence of Surface Slope on the Shape of River Basins: Comparison between Nature and Numerical Landscape Simulations. Geomorphology 2013, 192, 71–79. [Google Scholar] [CrossRef] [Scilit]
  4. Ali, M.H.; Popescu, I.; Jonoski, A.; Solomatine, D.P. Remote Sensed and/or Global Datasets for Distributed Hydrological Modelling: A Review. Remote Sens. 2023, 15, 1642. [Google Scholar] [CrossRef] [Scilit]
  5. Stage, A.R.; Salas, C. Interactions of Elevation, Aspect, and Slope in Models of Forest Species Composition and Productivity. For. Sci. 2007, 53, 486–492. [Google Scholar] [CrossRef] [Scilit]
  6. Matyukira, C.; Mhangara, P.; Gidey, E. Modelling Topographic Influences on Vegetation Vigour in the Cradle Nature Reserve, Gauteng Province, South Africa. Geocarto Int. 2024, 39, 2395313. [Google Scholar] [CrossRef] [Scilit]
  7. Liu, Y.; Hiyama, T.; Yamaguchi, Y. Scaling of Land Surface Temperature Using Satellite Data: A Case Examination on ASTER and MODIS Products over a Heterogeneous Terrain Area. Remote Sens. Environ. 2006, 105, 115–128. [Google Scholar] [CrossRef] [Scilit]
  8. Li, F.; Jupp, D.L.B.; Thankappan, M.; Lymburner, L.; Mueller, N.; Lewis, A.; Held, A. A Physics-Based Atmospheric and BRDF Correction for Landsat Data over Mountainous Terrain. Remote Sens. Environ. 2012, 124, 756–770. [Google Scholar] [CrossRef] [Scilit]
  9. Shukla, T.; Tang, W.; Trettin, C.C.; Chen, G.; Chen, S.; Allan, C. Quantification of Microtopography in Natural Ecosystems Using Close-Range Remote Sensing. Remote Sens. 2023, 15, 2387. [Google Scholar] [CrossRef] [Scilit]
  10. Sharpnack, D.A.; Akin, G. An Algorithm for Computing Slope and Aspect from Elevations. Photogramm. Eng. 1969, 35, 247–248. [Google Scholar]
  11. Evans, I.S. An Integrated System of Terrain Analysis and Slope Mapping. Z. Geomorphol. 1980, 36, 274–295. [Google Scholar]
  12. Horn, B.K.P. Hill Shading and the Reflectance Map. Proc. IEEE 1981, 69, 14–47. [Google Scholar] [CrossRef] [Scilit]
  13. Zevenbergen, L.W.; Thorne, C.R. Quantitative Analysis of Land Surface Topography. Earth Surf. Process. Landf. 1987, 12, 47–56. [Google Scholar] [CrossRef] [Scilit]
  14. Zhou, Q.; Liu, X. Error Analysis on Grid-Based Slope and Aspect Algorithms. Photogramm. Eng. Remote Sens. 2004, 70, 957–962. [Google Scholar] [CrossRef] [Scilit]
  15. Jarvis, A.; Reuter, H.I.; Nelson, A.; Guevara, E. Hole-Filled SRTM for the Globe Version 4, Available from the CGIAR-CSI SRTM 90m Database. 2008. Available online: https://research.utwente.nl/en/publications/hole-filled-srtm-for-the-globe-version-4-data-grid/ (accessed on 23 November 2026).
  16. NASA JPL. NASA Shuttle Radar Topography Mission Globle 1 Arc Second; NASA Land Processes Distributed Active Archive Center: Sioux Falls, SD, USA, 2013. [Google Scholar] [CrossRef] [Scilit]
  17. NASA; METI; AIST; Japan Spacesystems and U.S.; Japan ASTER Science Team. ASTER Global Digital Elevation Model V003; NASA Land Processes Distributed Active Archive Center: Sioux Falls, SD, USA, 2019. [Google Scholar] [CrossRef]
  18. Hawker, L.; Neal, J.; Uhe, P.F.; Paulo, L.; Sosa Moreno, J.E.; Savage, J.T.S.; Sampson, C. FABDEM; University of Bristol: Bristol, UK, 2021. [Google Scholar] [CrossRef]
  19. Amatulli, G.; Domisch, S.; Tuanmu, M.-N.; Parmentier, B.; Ranipeta, A.; Malczyk, J.; Jetz, W. A Suite of Global, Cross-Scale Topographic Variables for Environmental and Biodiversity Modeling. Sci. Data 2018, 5, 180040. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Amatulli, G.; McInerney, D.; Sethi, T.; Strobl, P.; Domisch, S. Geomorpho90m, Empirical Evaluation and Accuracy Assessment of Global High-Resolution Geomorphometric Layers. Sci. Data 2020, 7, 162. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Liang, T.; Tian, F.; Zou, L.; Jin, H.; Tagesson, T.; Rumpf, S.; He, T.; Liang, S.; Fensholt, R. Global Assessment of Vegetation Patterns along Topographic Gradients. Int. J. Digit. Earth 2024, 17, 2404232. [Google Scholar] [CrossRef] [Scilit]
  22. Florinsky, I.V. Derivation of Topographic Variables from a Digital Elevation Model given by a Spheroidal Trapezoidal Grid. Int. J. Geogr. Inf. Sci. 1998, 12, 829–852. [Google Scholar] [CrossRef] [Scilit]
  23. Florinsky, I.V. Spheroidal Equal Angular DEMs: The Specificity of Morphometric Treatment. Trans. GIS 2017, 21, 1115–1129. [Google Scholar] [CrossRef] [Scilit]
  24. Florinsky, I.V. Chapter 4. Calculation Methods. In Digital Terrain Analysis; Academic Press, Elsevier: Oxford, UK, 2025; pp. 112–117. [Google Scholar]
  25. Berti, M.; Corsini, A.; Daehne, A. Comparative Analysis of Surface Roughness Algorithms for the Identification of Active Landslides. Geomorphology 2013, 182, 1–18. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.