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

When should I use gdal_merge?

Updated February 22, 2018 16:22 PM

Masking areas outside of polygon with GDAL

Updated May 14, 2019 09:22 AM

Mosaic Imagery using GDAL Edited

Updated November 29, 2017 20:22 PM