<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<DEFANGED_META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<TITLE>Updates to thematic mapping and new r.mask</TITLE>
<DEFANGED_META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005>Michael,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005>Sorry, this is a pretty dumb question I guess, but do
we need to download a new GIS manager tarfile or just a new d.vect.thematic
script or both? I noticed that the date modified for your thematic.tgz is May
2005, should it be more current or am I not looking in the right directory (<A
href="http://www.public.asu.edu/~cmbarton/files/grass_scripts/display/">http://www.public.asu.edu/~cmbarton/files/grass_scripts/display/</A>)?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005>Thanks,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005> ~ Eric.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#000080 size=2><SPAN
class=059582413-29112005></SPAN></FONT> </DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial
size=2>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><STRONG><FONT face=Arial color=#000080>Eric
Patton</FONT></STRONG></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Technologist,
Geo-Spatial Data Services</EM></FONT></DIV>
<DIV align=left><FONT size=2><FONT face=Arial color=#000080><EM>Geological
Survey of Canada (Atlantic)</EM></FONT></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Natural Resources
Canada</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Bedford Institute of
Oceanography</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Dartmouth, Nova
Scotia, Canada B2Y 4A2</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080
size=2><EM></EM></FONT> </DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Postal address: P.O.
Box 1006</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Courier address: 1
Challenger Drive</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080
size=2><EM></EM></FONT> </DIV>
<DIV align=left><FONT face=Arial color=#000080 size=2><EM>Telephone:
(902)426-7732</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080
size=2><EM>Facsimile: (902)426-4104</EM></FONT></DIV>
<DIV align=left><FONT face=Arial color=#000080
size=2><EM>E-mail: </EM></FONT><A
href="mailto:epatton@NRCan.gc.ca"><FONT face=Arial
size=2><EM>epatton@NRCan.gc.ca</EM></FONT></A></DIV>
<DIV align=left><FONT face=Arial color=#000080
size=2><EM></EM></FONT> </DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-GRASSLIST@baylor.edu
[mailto:owner-GRASSLIST@baylor.edu] <B>On Behalf Of </B>Michael
Barton<BR><B>Sent:</B> Tuesday, November 29, 2005 3:05 AM<BR><B>To:</B> grass5;
Multiple recipients of list<BR><B>Subject:</B> [GRASSLIST:9234] Updates to
thematic mapping and new r.mask<BR></FONT><BR></DIV>
<DIV></DIV><FONT face="Verdana, Helvetica, Arial"><SPAN
style="FONT-SIZE: 12px">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.<BR><BR>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.<BR><BR>Michael<BR>__________________________________________<BR>Michael
Barton, Professor of Anthropology<BR>School of Human Evolution and Social
Change<BR>Arizona State University<BR>Tempe, AZ 85287-2402<BR><BR>phone:
480-965-6213<BR>fax: 480-965-7671<BR>www: <A
href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</A>
<BR><BR></SPAN></FONT></BODY></HTML>