[GRASS-user] new to GRASS

Stephan Holl stephan.holl at intevation.de
Mon Jan 22 02:44:54 EST 2007


Hello savitri,

"savitri  negi" <savitrinegi1 at rediffmail.com> wrote at 22 Jan 2007
07:18:00 -0000:

>   
> hello all
> iam quite new to GRASS infact i started it jst a few days back
> 
> i downloaded  the source GRASS 6.2.1 source code n compiled it on my
> redhat enterprise linux machine and i was able to start GRASS n
> started using it. i also istalled the two mandatory gdal n other
> library
> 
> now say i want to display just a .tif image i did the following
> i selected the database   a location and a mapset at startup screen
> after which i was able to see the GIS manager GUI i have got say
> a .tif image. 1  ..converted the .tif image into raster using
> r.in.gdal input=filename.tif output =output raster image name
> 2  ..started the monitor x0 as d.mon x0 3  ...tried to diplay image
> on mon using d.rast= outut raster image name
> 
>  but iam unable to see anything in the x0 monitor  though the whole
> process dint showd any errors though wen i change the background
> color in d.rast window i can see a coloured surface of size of my
> original image on x0 but not the real image ,being quite new to the
> GIS field iam not able to figure out wat am i missing . right now i
> just wanted to display a tif image  or may be a .img file on the
> monitorr which iam not able to do may be anyone of u could help

You probably need to set the region correctly that it fits to the
bounding box of your imported image.

try:
g.region -p rast=<yourimported-mapname>
d.mon x0
d.rast <yourimported-mapname>

This assumes that you have imported your map correctly with r.in.gdal.

HTH

	Stephan Holl

-- 
Stephan Holl: www.intevation.de/~stephan| GISpatcher: www.gispatcher.de
Intevation GmbH: www.intevation.de      | GAV e.V.: www.grass-verein.de
Georgstr.4: 49074 Osnabrück             | Telefon:   +49(0)541. 3350832
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20070122/6dea666a/signature.bin


More information about the grass-user mailing list