[GRASS-dev] Error in redrawing text layer in gis.m
epatton at nrcan.gc.ca
Fri Nov 17 14:14:21 EST 2006
Yes! I very happy to report this bug has been vanquished. Thanks very much Michael! Now I don't have to do all my figures in Arc.
From: Michael Barton
To: Patton, Eric; Hamish
Cc: grass-dev at grass.itc.it
Sent: 11/17/2006 1:30 PM
Subject: Re: [GRASS-dev] Error in redrawing text layer in gis.m
I think I found and fixed it.
It was not in grid but in the font setting environmental variable in
The script was resetting GRASS_FONT after running d.text.new. If
was not initially set, the script tried to set it to "". This caused a
failure in running d.frame -e for some reason. Anyway, if GRASS_FONT is
initially not set, it is unset (rather than being set to "") after
d.text. I think this fixes the problem.
Please test and let me know.
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
> From: "Patton, Eric" <epatton at nrcan.gc.ca>
> Date: Fri, 17 Nov 2006 09:03:35 -0500
> To: Hamish <hamish_nospam at yahoo.com>, Michael Barton
<michael.barton at asu.edu>
> Cc: <grass-dev at grass.itc.it>
> Conversation: [GRASS-dev] Error in redrawing text layer in gis.m
> Subject: RE: [GRASS-dev] Error in redrawing text layer in gis.m
>> Eric: any reason you aren't letting d.grid label the lines for you?
>> It should be formatted and rotated nicely (e.g. 44:26N)
>> (i.e. is there something about that you think could be improved?)
> The geogrid tool in gis.m doesn't allow you to change the font size.
> wanted to draw a lat-long grid over my UTM map display, but turn off
> labels so I could use a dedicated text layer with larger labels
> for making screenshots and figures for reports - the default text size
> geogrid labels are too small to read without squinting.
> PS - the text tool is the third button from the right on the top row
> buttons in gis.m.
> ~ Eric.
More information about the grass-dev