[GRASS-dev] [GRASS GIS] #3860: GRASS GIS producing different slope than GDAL
GRASS GIS
trac at osgeo.org
Tue Jun 11 00:20:27 PDT 2019
#3860: GRASS GIS producing different slope than GDAL
------------------------+-------------------------
Reporter: mazingaro | Owner: grass-dev@…
Type: defect | Status: reopened
Priority: normal | Milestone: 7.6.2
Component: Raster | Version: unspecified
Resolution: | Keywords: slope
CPU: x86-64 | Platform: Linux
------------------------+-------------------------
Comment (by mmetz):
Replying to [comment:15 mankoff]:
> Running `r.univar` at the region resolution (as above) or at the raster
resolution:
>
> {{{
> for r in $(g.list mapset=. type=raster); do
> g.region raster=${r} -a
> (echo -n "${r} "; r.univar ${r} | grep range)
> done | sort | tac
> }}}
>
> Does not change anything.
Right, this was a bug in r.slope.aspect, alignment to the input raster did
not work (difference between `G_get_window()` and `Rast_get_window()`).
Fixed in master, relbr76, and relbr74.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3860#comment:16>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list