[GRASS-user] problem with d.rast

Hamish hamish_nospam at yahoo.com
Fri Jul 14 23:29:06 EDT 2006


Ana:
> > I have a problm dispayinga raster file
> > 
> > I do :
> > 
> > d.mon start=x0
> > g.region -d
> > g.region rast=target
> > d.rast target
> > 
> > but it just displays a tiny rectangle which is a section of the map
> > in a corner of the monitor.
> > Maybe it was because of a previous zoom ..
> > Can anyone help me with this ? please ! How can i reset it ?

Frank B:
> You can do
> g.region rast=target
> 
> and don't forget to do d.erase after setting the region.


also you could try 

g.region zoom=target

to zoom to the extent of the data.

check map's bounds with r.info, maybe there is large amounts of null "no
data" around the actual map? fix with
 g.region zoom=oldmap
 r.mapcalc newmap=oldmap


Hamish




More information about the grass-user mailing list