limit to resolution of CELL?

07?52?11?pm@bnr.ca>
content-type: text/plain; charset=US-ASCII
organization: University of Illinois at Urbana
mime-version: 1.0
reply-to: grassu@isis.cecer.army.mil
newsgroups: info.grass.user
originator: daemon@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@dsto.defence.gov.au
------------------------------------------------------