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
> [email protected]
> http://grass.itc.it/mailman/listinfo/grassuser
-- 
Jachym Cepicky
e-mail: [EMAIL PROTECTED]
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy

_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to