[GRASS-user] Raster Display

Andre Hauptfleisch ahaupt at gmail.com
Thu Nov 8 08:23:07 EST 2007


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
<ahaupt at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20071108/831dad49/attachment.html


More information about the grass-user mailing list