[GRASS-user] resampling (r.resamp.rst) question

Hamish hamish_nospam at yahoo.com
Mon May 15 00:46:00 EDT 2006


> I have a problem with r.resamp.rst
..
> The region is at same resolution
> g.region -p -m
..
> nsres:      3.139134
> ewres:      3.139134
..
> When i try to use r.resamp.rst for resampling a dem (to use in nviz)
> of which the resolution is :
> r.info map=dem -s
> nsres=35.38837407
> ewres=35.38837407
> 
> I have the following message :
> Resolution of the layer in entry does not correspond to the resolution
> of the current region!
> 
> What's wrong please ?

Use r.resamp.rst to set the target resolution, not g.region.

g.region res=35.38837407
 or
g.region rast=dem
g.region -p
..
nsres=35.38837407
ewres=35.38837407

r.resamp.rst ew_res=3.139134 ns_res=3.139134



Hamish




More information about the grass-user mailing list