Skip to main content
Log in

Influence of DEM orientation on the error of slope calculation

  • Research Article
  • Published:
Earth Science Informatics Aims and scope Submit manuscript

Abstract

Slope information is usually derived from digital elevation model (DEM) data. However, the orientation of DEM grids can affect the accuracy of slope estimation, which will in turn have an influence on the accuracy of other derived information based on slope. This research evaluates six commonly used algorithms for slope estimation: the second-order finite difference, the third-order finite difference, the third-order finite difference weighted by reciprocal of squared distance, the third-order finite difference weighted by reciprocal of distance and the frame finite difference and the simple difference. With synthetic data and systematic experiments by rotating DEM grids, the accuracy of the algorithms was analysed, empirically and theoretically. The main findings are as follows. When the DEM resolution is constant and one of first five algorithms is used, the error of slope calculation caused by orientation can be described by a sine function with a minimal positive period of π/2. For the last algorithm, i.e., the frame finite difference, the error of slope calculation could not be described by any periodic function. These theoretical error quantification functions were tested and verified using synthetic data sets based on six different Gaussian surfaces. The root mean square error of slope calculation by the first five algorithms can also be described by a sine function with a minimal positive period of π/4. The study also shows that the accuracy of the theoretical conclusions can be guaranteed when the expressions are expanded to the third-order by using the Taylor formula.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6

Similar content being viewed by others

References

  • Bater CW, Coops NC (2009) Evaluating error associated with lidar-derived DEM interpolation. Comput Geosci 35:289–300

    Article  Google Scholar 

  • Chow TE, Hodgson ME (2009) Effects of lidar post-spacing and DEM resolution to mean slope estimation. Int J Geogr Inf Sci 23(10):1277–1295

    Article  Google Scholar 

  • Chu TH, Tsai TH (1995) Comparison of accuracy and algorithms of slope and aspect measures from DEM. In: Proceedings of GIS AM/FM ASIA’95. 21–24 August, Bangkok, pp I-1-1–I-1-11

  • Erdoğan S (2010) Modeling the spatial distribution of DEM error with geographically weighted regression: an experimental study. Comput Geosci 36(1):34–43

    Article  Google Scholar 

  • Fei LF, He J (2009) A three-dimensional Douglas-Peucker algorithm and its application to automated generalization of DEMs. Int J Geogr Inf Sci 23(6):703–718

    Article  Google Scholar 

  • Fleming MD, Hoffer RM (1979) Machine processing of Landsat MSS data and LARS Technical Report 062879. Laboratory for Applications of Remote Sensing, Purdue University, West Lafayette

    Google Scholar 

  • Gao J, Burta JE, Zhu AX (2012) Neighborhood size and spatial scale in raster-based slope calculations. Int J Geogr Inf Sci 26(10):1959–1978

    Article  Google Scholar 

  • Hodgson ME (1998) Comparison of angles from surface slope/aspect algorithms. Cartogr Geogr Inf Syst 25(3):173–185

    Article  Google Scholar 

  • Horn B (1981) Hill shading and the reflectance map. Proc IEEE 69(1):14–47

    Article  Google Scholar 

  • Jones KH (1998) A comparison of algorithms used to compute hill slope as a property of the DEM. Comput Geosci 24(4):315–323

    Article  Google Scholar 

  • Liu X (2002) On the accuracy of the algorithms for interpreting grid-based digital terrain model. Ph.D. Dissertation, Wuhan University, Wuhan, China (in Chinese)

  • Liu X, Bian L, Lu H et al (2008) The accuracy assessment on slope algorithms with DEM error spatial autocorrelation. Acta Geod Cartogr Sin 37(2):200–206 (in Chinese)

    Google Scholar 

  • Liu H, Kiesel J, Hörmann G et al (2011) Effects of DEM horizontal resolution and methods on calculating the slope length factor in gently rolling landscapes. Catena 87(3):368–375

    Article  Google Scholar 

  • Livne E, Svoray T (2011) Components of uncertainty in primary production model: the study of DEM, classification and location error. Int J Geogr Inf Sci 25(3):473–488

    Article  Google Scholar 

  • Ritter D (1987) A vector-based slope and aspect generation algorithm. Photogramm Eng Remote Sens 53(8):1109–1111

    Google Scholar 

  • Sharpnack DA, Akin G (1969) An algorithm for computing slope and aspect from elevations. Photogramm Surv 35:247–248

    Google Scholar 

  • Shi W, Yue T (2006) A hybrid interpolation method for the refinement of a regular grid digital elevation model. Int J Geogr Inf Sci 20(1):53–67

    Article  Google Scholar 

  • Tang G, Li F, Liu X et al (2008) Research on the slope spectrum of the loess plateau. Sci China E 51(1):175–185

    Article  Google Scholar 

  • Unwin D (1981) Introductory spatial analysis. Methuen, London

    Google Scholar 

  • Wise S (2011) Cross-validation as a means of investigating DEM interpolation error. Comput Geosci 37(8):978–991

    Article  Google Scholar 

  • Zevenbergen LW, Thorne CR (1987) Quantitative analysis of land surface topography. Earth Surf Process Landf 12:47–56

    Article  Google Scholar 

  • Zhou Q, Chen Y (2011) Generalization of DEM for terrain analysis using a compound method. J Photogramm Remote Sens 66(1):38–45

    Article  Google Scholar 

  • Zhou Q, Liu X (2004) Analysis of errors of derived slope and aspect related to DEM data properties. Comput Geosci 30(4):369–378

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by the National Natural Science Foundation of China (40930531, 41001254, 41171320), the Resources and Environment Information System State Key Laboratory Open Fund Projects (2010KF0002SA). And the authors are grateful to the reviewers’ suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nan Chen.

Additional information

Communicated by: H. A. Babaie

Appendix

Appendix

\( {\widehat{f}}_x \) of 2FD is:

$$ \begin{array}{l}{\widehat{f}}_y=\frac{1}{2g}\left({z}_8^{\prime }-{z}_2^{\prime}\right)=-{f}_x \sin t+{f}_y \cos t-\frac{1}{6}{g}^2{f}_{xxx}{\left( \sin t\right)}^3+\frac{1}{2}{g}^2{f}_{xxy}{\left( \sin t\right)}^2 \cos t\hfill \\ {}-\frac{1}{2}{g}^2{f}_{xyy}{\left( \cos t\right)}^2 \sin t+\frac{1}{6}{g}^2{f}_{yyy}{\left( \cos t\right)}^3\hfill \end{array} $$

\( {\widehat{f}}_x \) of 3FD:

$$ \begin{array}{l}-\frac{1}{24}{g}^2{f}_{xxx} \sin 3t-\frac{5}{24}{f}_{xxx}{g}^2 \sin t-\frac{5}{24}{f}_{xyy}{g}^2 \sin t+\frac{1}{8}{g}^2{f}_{xyy} \sin 3t-{f}_x \sin t+{f}_y \cos t+\hfill \\ {}\frac{5}{24}{f}_{xxy}{g}^2 \cos t+\frac{1}{8}{g}^2{f}_{xxy} \cos 3t-\frac{1}{24}{g}^2{f}_{yyy} \cos 3t+\frac{5}{24}{f}_{yyy}{g}^2 \cos t\hfill \end{array} $$

\( {\widehat{f}}_x \) of 3FDWRSD:

$$ \begin{array}{l}-\frac{1}{6}{f}_{xxx}{g}^2{\left( \sin t\right)}^3+\frac{1}{6}{f}_{yyy}{g}^2{\left( \cos t\right)}^3-\frac{1}{4}{f}_{xyy}{g}^2{\left( \sin t\right)}^3+\frac{1}{4}{f}_{xxy}{g}^2{\left( \cos t\right)}^3+{f}_y \cos t\hfill \\ {}-{f}_x \sin t+\frac{1}{4}{f}_{yyy}{g}^2{\left( \sin t\right)}^2 \cos t-\frac{1}{4}{f}_{xxx}{g}^2{\left( \cos t\right)}^2 \sin t\hfill \end{array} $$

\( {\widehat{f}}_x \) of 3FDWRD:

$$ \begin{array}{l}0.094670{g}^2{f}_{xyy} \sin 3t-0.198223{g}^2{f}_{xyy} \sin t+0.198223{g}^2{f}_{xxy} \cos t+\hfill \\ {}0.094670{g}^2{f}_{xxy} \cos 3t-0.031557{g}^2{f}_{yyy} \cos 3t+0.198223{g}^2{f}_{yyy} \cos t-\hfill \\ {}0.031557{g}^2{f}_{xxx} \sin 3t-0.198223{g}^2{f}_{xxx} \sin t+1.000000{f}_y \cos t-1.000000{f}_x \sin t\hfill \end{array} $$

\( {\widehat{f}}_x \) of FFD:

$$ \begin{array}{l}\frac{1}{4}{g}^2{f}_{xxy} \cos 3t-\frac{1}{4}{f}_{xyy}{g}^2 \sin t+\frac{1}{4}{g}^2{f}_{xyy} \sin 3t-{f}_x \sin t+\frac{1}{4}{f}_{xxy}{g}^2 \cos t+{f}_y \cos t\hfill \\ {}-\frac{1}{12}{g}^2{f}_{yyy} \cos 3t+\frac{1}{4}{f}_{yyy}{g}^2 \cos t-\frac{1}{12}{g}^2{f}_{xxx} \sin 3t-\frac{1}{4}{f}_{xxx}{g}^2 \sin t\hfill \end{array} $$

\( {\widehat{f}}_x \) of SD:

$$ \begin{array}{l}-{f}_x \sin t+{f}_y \cos t-\frac{1}{2}{f}_{xx}g{\left( \sin t\right)}^2+g{f}_{xy} \sin t \cos t-\frac{1}{2}{f}_{yy}g{\left( \cos t\right)}^2-\frac{1}{6}{g}^2{f}_{xx x}{\left( \sin t\right)}^3\hfill \\ {}+\frac{1}{2}{g}^2{f}_{xx y}{\left( \sin t\right)}^2 \cos t-\frac{1}{2}{g}^2{f}_{xy y}{\left( \cos t\right)}^2 \sin t+\frac{1}{6}{g}^2{f}_{yy y}{\left( \cos t\right)}^3\hfill \end{array} $$

\( {\widehat{f}}_y \) of 2FD:

$$ \begin{array}{l}{f}_x \cos t+{f}_y \sin t+\frac{1}{6}{g}^2{f}_{xxx}{\left( \cos t\right)}^3+\frac{1}{2}{g}^2{f}_{xxy}{\left( \cos t\right)}^2 \sin t+\frac{1}{2}{g}^2{f}_{xyy}{\left( \sin t\right)}^2 \cos t\hfill \\ {}+\frac{1}{6}{g}^2{f}_{yyy}{\left( \sin t\right)}^3\hfill \end{array} $$

\( {\widehat{f}}_y \) of 3FD:

$$ \begin{array}{l}{f}_x \cos t+{f}_y \sin t+\frac{1}{6}{g}^2{f}_{xxx}{\left( \cos t\right)}^3+\frac{1}{2}{g}^2{f}_{xxy}{\left( \cos t\right)}^2 \sin t+\frac{1}{2}{g}^2{f}_{xyy}{\left( \sin t\right)}^2 \cos t\hfill \\ {}+\frac{1}{6}{g}^2{f}_{yyy}{\left( \sin t\right)}^3\hfill \end{array} $$

\( {\widehat{f}}_y \) of 3FDWRSD:

$$ \begin{array}{l}\frac{1}{4}{f}_{yyy}{g}^2{\left( \cos t\right)}^2 \sin t+\frac{1}{4}{f}_{xxx}{g}^2{\left( \sin t\right)}^2 \cos t+\frac{1}{4}{f}_{xyy}{g}^2{\left( \cos t\right)}^3+\frac{1}{4}{f}_{xxy}{g}^2{\left( \sin t\right)}^3\\ {}+\frac{1}{6}{g}^2{f}_{yyy}{\left( \sin t\right)}^3+\frac{1}{6}{g}^2{f}_{xxx}{\left( \cos t\right)}^3+{f}_y \sin t+{f}_x \cos t\end{array} $$

\( {\widehat{f}}_y \) of 3FDWRD:

$$ \begin{array}{l}-0.094670{g}^2{f}_{xxy} \sin 3t+0.198223{g}^2{f}_{xxy} \sin t+0.198223{g}^2{f}_{xyy} \cos t+\hfill \\ {}0.094670{g}^2{f}_{xyy} \cos 3t+0.031557{g}^2{f}_{yyy} \sin 3t+0.198223{g}^2{f}_{yyy} \sin t-\hfill \\ {}0.031557{g}^2{f}_{xxx} \cos 3t+0.198223{g}^2{f}_{xxx} \cos t+1.000000{f}_y \sin t+1.000000{f}_x \cos t\hfill \end{array} $$

\( {\widehat{f}}_y \) of FFD:

$$ \begin{array}{l}\frac{1}{12}{g}^2{f}_{yyy} \sin 3t+\frac{1}{4}{f}_{yyy}{g}^2 \sin t+\frac{1}{4}{f}_{xyy}{g}^2 \cos t+\frac{1}{4}{g}^2{f}_{xyy} \cos 3t+\frac{1}{4}{f}_{xxx}{g}^2 \cos t\hfill \\ {}+{f}_y \sin t+{f}_x \cos t+\frac{1}{4}{f}_{xxy}{g}^2 \sin t-\frac{1}{4}{g}^2{f}_{xxy} \sin 3t-\frac{1}{12}{g}^2{f}_{xxx} \cos 3t\hfill \end{array} $$

\( {\widehat{f}}_y \) of SD:

$$ \begin{array}{l}{f}_x \cos t+{f}_y \sin t-\frac{1}{2}{f}_{xx}g{\left( \cos t\right)}^2-g{f}_{xy} \sin t \cos t-\frac{1}{2}{f}_{yy}g{\left( \sin t\right)}^2+\hfill \\ {}\frac{1}{6}{g}^2{f}_{xx x}{\left( \cos t\right)}^3+\frac{1}{2}{g}^2{f}_{xx y}{\left( \cos t\right)}^2 \sin t+\frac{1}{2}{g}^2{f}_{xy y}{\left( \sin t\right)}^2 \cos t+\frac{1}{6}{g}^2{\left( \sin t\right)}^3{f}_{yy y}\hfill \end{array} $$

Rights and permissions

Reprints and permissions

About this article

Cite this article

Chen, N., Tang, Ga., Guo, D. et al. Influence of DEM orientation on the error of slope calculation. Earth Sci Inform 7, 277–285 (2014). https://doi.org/10.1007/s12145-014-0154-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12145-014-0154-6

Keywords

Navigation