[GRASS5] Updates to thematic mapping and new r.mask

Michael Barton michael.barton at asu.edu
Tue Nov 29 02:05:15 EST 2005


This morning I committed a set of updates to d.vect.thematic. The main ones
include: 1) new thematic mapping by graduated line widths, 2) independent
coloring of lines (including around areas), 3) an option to turn off
outlines of areas and points, and 4) a change in a few options to get rid of
spaces (making scripting easier). The main thing that people need to be
aware of are changes to some of the options. For example, ³graduated points²
now is ³graduated_points² and ³standard deviation² becomes ³std_deviation².
This makes it simpler to script d.vect.thematic. It will make no difference
to people who run it from the autogenerated tcltk dialog or from the GIS
Manager (updated with the new options). But people who only run it from the
command line should check the options before doing so for the new version.
The legend for graduated line width is pretty lame, but it¹s the best I
could do with d.graph. There were a few other bug fixes, including one that
made it hang when run from the GIS Manager.

After repeatedly seeing queries about how to make a raster mask in GRASS 6,
I wrote a small script named r.script. This script brings back most of the
functionality of the GRASS 6 module r.mask. It uses r.reclass to create a
MASK raster file from an existing raster file, allowing the user to select
which cat values to include in the mask (e.g., you can make a MASK of
elevations 100-500m in a DEM). Removing a mask is still done via g.remove or
g.rename, but someone could probably add a Œremove mask¹ flag to the script
if it is really wanted. I added r.mask to the menu in the updates to the GIS
Manager that I also committed this morning. I hope this is helpful.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20051129/61f762f5/attachment.html


More information about the grass-dev mailing list