[GRASS-user] preserving original resolution with r.in.gdal

Markus Neteler neteler at osgeo.org
Thu Mar 7 12:19:06 PST 2013


On Thu, Mar 7, 2013 at 6:08 PM, Jitendra Kumar <jitendra.ncsu at gmail.com> wrote:
> Hello GRASS-Users:
>
> While importing a raster map using "r.in.gdal" it uses the resolution of the
> current region for the resulting raster map.

No, this is not the case. It always imports the full map at original resolution.

Likely you have the computation region settings different so that it *appears*
to be different.

Simply:

r.in.gdal mymap.tif output=mymap
g.region rast=mymap -p

and you'll see that it matches. See also

http://grasswiki.osgeo.org/wiki/Computational_region

Cheers
Markus


More information about the grass-user mailing list