[GRASS-user] Raster Display

Jachym Cepicky jachym.cepicky at gmail.com
Thu Nov 8 09:37:30 EST 2007


Hi,

this is usually related to your region settings. Try

g.region -p
g.region -p rast=white
d.mon x0
d.rast white
g.manual g.region

hope, it helps

jachym

Andre Hauptfleisch píše v Čt 08. 11. 2007 v 15:23 +0200:
> Good day,
> 
> I'm new to Grass. I'm trying to import an image and view it in the Map
> Display.
> 
> It seems to be working, but the dimensions are not correct. The image
> size is 512x512, but after the " d.rast" there is an output of
> "GRASS_WIDTH=685, GRASS_HEIGHT=508".
> 
> Assuming they were environmental variables, I tried to change them,
> but nothing happens.
> 
> 
> This is the output from r.info for the raster:
> 
>  +----------------------------------------------------------------------------+
>  | Layer:    white                          Date: Thu Nov  8 14:09:07
> 2007    |
>  | Mapset:   test                           Login of Creator: andreh
> |
>  | Location: spearfish60
> |
>  | DataBase: /home/andreh/workspace/grassdata
> |
>  | Title:     ( white )
> |
>  | Timestamp: none
> |
>  |----------------------------------------------------------------------------|
>  |
> |
>  |   Type of Map:  raster               Number of Categories: 1
> |
>  |   Data Type:    CELL
> |
>  |   Rows:         512
> |
>  |   Columns:      512
> |
>  |   Total Cells:  262144
> |
>  |        Projection: UTM (zone 13)
> |
>  |            N:    4928010    S:    4913700   Res: 27.94921875
> |
>  |            E:     609000    W:     589980   Res: 37.1484375
> |
>  |   Range of data:    min = 0  max = 1
> |
>  |
> |
>  |   Data Description:
> |
>  |    generated by r.in.gdal
> |
>  |
> |
>  |   Comments:
> |
>  |    r.in.gdal -o
> input="/home/andreh/workspace/project-grass/test.tiff" \   |
>  |    output="white" target="UTM"
> |
>  |
> |
>  +----------------------------------------------------------------------------+ 
> 
> Regards,
> Andre
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
-- 
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20071108/1cd6c7b0/attachment.bin


More information about the grass-user mailing list