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

I have a problem with r.resamp.rst
I have a raster map (orthophotoplan map) with resolution
nsres: 3.139134
ewres: 3.139134

The region is at same resolution
g.region -p -m

projection: 99 (Lambert Conformal Conic)
zone: 0
datum: bel72
ellipsoid: a=6378388 es=0.006722670022333321
north: 90524.79754
south: 88424.716894
west: 202070.014222
east: 205620.374776
nsres: 3.139134
ewres: 3.139134
rows: 669
cols: 1131

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 ?

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