<HTML>
<HEAD>
<TITLE>Re: [GRASSLIST:9234] Updates to thematic mapping and new r.mask</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN DEFANGED_STYLE='font-size:12.0px'>Eric,<BR>
<BR>
I just pasted the newest version of the GIS Manager to my website, along with the updated d.vect.thematic and r.mask &lt;http://www.public.asu.edu/~cmbarton/files/grass_gismgr/&gt;.<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 &nbsp;85287-2402<BR>
USA<BR>
<BR>
voice: 480-965-6262; fax: 480-965-7671<BR>
www: <a href="http://www.public.asu.edu/~cmbarton">http://www.public.asu.edu/~cmbarton</a><BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>&quot;Patton, Eric&quot; &lt;epatton@nrcan.gc.ca&gt;<BR>
<B>Date: </B>Tue, 29 Nov 2005 09:33:18 -0400<BR>
<B>To: </B>'Michael Barton' &lt;michael.barton@asu.edu&gt;, Multiple recipients of list &lt;GRASSLIST@baylor.edu&gt;<BR>
<B>Subject: </B>RE: [GRASSLIST:9234] Updates to thematic mapping and new r.mask<BR>
<BR>
</SPAN></FONT><SPAN DEFANGED_STYLE='font-size:12.0px'><FONT COLOR="#000080"><FONT FACE="Arial">Michael,<BR>
</FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial">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><BR>
</FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial">Thanks,<BR>
</FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial"> ~ Eric.<BR>
</FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
&nbsp;<BR>
&nbsp;<BR>
</FONT><FONT FACE="Arial">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
</FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial"><B>Eric Patton<BR>
</B></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial"><I>Technologist, Geo-Spatial Data Services<BR>
Geological Survey of Canada (Atlantic)<BR>
Natural Resources Canada<BR>
Bedford Institute of Oceanography<BR>
Dartmouth, Nova Scotia, Canada B2Y 4A2<BR>
</I></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial"><I>Postal address: P.O. Box 1006<BR>
Courier address: 1 Challenger Drive<BR>
</I></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"> <BR>
</FONT><FONT COLOR="#000080"><FONT FACE="Arial"><I>Telephone: (902)426-7732<BR>
Facsimile: &nbsp;(902)426-4104<BR>
E-mail: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</I></FONT></FONT><FONT FACE="Arial"><I>epatton@NRCan.gc.ca</I></FONT><FONT FACE="Verdana, Helvetica, Arial"> <a href="mailto:epatton@NRCan.gc.ca">&lt;mailto:epatton@NRCan.gc.ca&gt;</a> <BR>
&nbsp;<BR>
&nbsp;<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="100%"></FONT><FONT FACE="Tahoma"><B>From:</B> owner-GRASSLIST@baylor.edu [<a href="mailto:owner-GRASSLIST@baylor.edu]">mailto:owner-GRASSLIST@baylor.edu]</a> <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><FONT FACE="Verdana, Helvetica, Arial"><BR>
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, &quot;graduated points&quot; now is &quot;graduated_points&quot; and &quot;standard deviation&quot; becomes &quot;std_deviation&quot;. 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>
<BR>
</FONT></SPAN>
</BODY>
</HTML>