[GRASS-user] d.rast.edit increase the dimension of cell

Vaclav Petras wenzeslaus at gmail.com
Mon Aug 27 17:31:35 PDT 2018


It may be helpful if you describe what you are doing, but my guess is that
d.rast.edit is not what you want. You may want to look either at some
resampling modules (e.g. r.resamp.stats) or it actually sounds more like
you want r.region which is good in case you actually want to preserve the
number of cells but just change the resolution (and extent). To get the
(cell) values to what you want, use r.mapcalc, something like:

r.mapcalc expression="new = 1000 * old"

Let us know how that goes.

Vaclav

On Thu, Aug 23, 2018 at 9:42 AM jaindamini1111 <jaindamini1111 at gmail.com>
wrote:

> I had to know that whether d.rast.edit allows us to increase the dimension
> of
> each cell?
> For example, if a cell is currently 0.001 x 0.001 m, is it possible to
> multiply these dimensions and the z value for each cell by 1000, resulting
> in a raster that preserves the morphology of the DEM but is at 1 m
> resolution?
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html
> _______________________________________________
> 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/20180827/aa8ee2d0/attachment.html>


More information about the grass-user mailing list