[GRASS-user] r.stats.zonal output raster type

Markus Metz markus.metz.giswork at gmail.com
Tue Jan 26 13:47:25 PST 2021


On Sun, Jan 24, 2021 at 8:25 PM ming han <dustming at gmail.com> wrote:
>
> Hi everyone
>
>     Is it possible to let r.stats.zonal output raster to be CELL?

The output of r.stats.zonal should be as accurate as possible, thus in most
cases a floating point output is required and produced.

If you want to reduce the accuracy to integer, you can do so by creating a
new map with r.mapcalc's function round() and delete the original output
afterwards.

Markus M

>
> Thanks
> Ming
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210126/7c0e33ff/attachment.html>


More information about the grass-user mailing list