Documentation on DEMProcessing from GDAL?

by Vincent Sasseville   Last Updated September 11, 2019 19:22 PM

I am using python 3.X and I am transforming a DEM (from a raster GeoTIFF file) into a slop tif file. I am using GDAL and rasterio to do that.

Specifically, I am using the method:

gdal.DEMProcessing(output, input, 'slope')

My problem is I do not know what is the mathematics and what exact method GDAL uses to calculate the slope. I can't find the answer in the GDAL documentation.

Anyone can point me to that. Looking for the aspect method as well.

Thank you

Tags : gdal


Related Questions


Updated February 22, 2018 16:22 PM

Updated August 23, 2019 07:22 AM

Updated May 14, 2019 09:22 AM

Updated November 29, 2017 20:22 PM

Updated May 15, 2018 05:22 AM