limit to resolution of CELL?

Conn Copas Conn.Copas at dsto.defence.gov.au
Tue May 14 08:00:00 EDT 1996


07?52?11?pm at bnr.ca>
content-type: text/plain; charset=US-ASCII
organization: University of Illinois at Urbana
mime-version: 1.0
reply-to: grassu at isis.cecer.army.mil
newsgroups: info.grass.user
originator: daemon at ux1.cso.uiuc.edu



charnotw writes:
> 
> Is there a limit to the resolution of CELL? I can't
> get it to produce a raster with more than 479 rows
> and 639 cols. Whats the secret?
>
hci-sg1:/usr/people/cvc 2> cd $GISBASE/../src/display/devices/CELL/
hci-sg1:/usr/share/grass/src/display/devices/CELL 3>find * -exec grep getenv 
{} \; -print
char *getenv ();
    if (NULL != (p = getenv ("GRASS_WIDTH")))
    if (NULL != (p = getenv ("GRASS_HEIGHT")))
    if (NULL == (p = getenv ("LOCATION")))
Graph_Set.c

Looks to me like you could try defining both GRASS_WIDTH and GRASS_HEIGHT to
match the extent of your region. Which begs the question of why this isn't done
automatically (same comment applies to XDRIVER_HEIGHT, etc). Anyway, you have
the choice of setting environment variables at the prompt, or putting these
definitions in your $GISRC file.


-- 
Conn V Copas
Information Technology Division
Defence Science and Technology Organisation
PO Box 1500
Salisbury            tel: +61 (0)8 25 95349
SA  5108             fax: +61 (0)8 25 95980
Australia       e-mail: Conn.Copas at dsto.defence.gov.au
------------------------------------------------------





More information about the grass-user mailing list