GRASS GIS producing different slope than GDAL
|Reported by:||mazingaro||Owned by:|
When producing a slope in GRASS GIS 7.4 and 7.6 the results are different than with QGIS (GDAL) and ArcMap for the same input data and same parameter (Z ratio is 1.0 and degrees). QGIS and ArcMap generate almost the same output. In GRASS, I tried both for DCELL and FCELL and the results are same. The original layer has a resolution on 1 m and the GRASS region resolution is set to 0.5 m.
Code GRASS: r.slope.aspect elevation=DMR@PERMANENT slope=slope
Code GDAL: gdaldem slope .../DMR.tif .../slope.tif -of GTiff -b 1 -s 1.0