<div class="gmail_quote">Stephen,</div><div class="gmail_quote"><br></div><div class="gmail_quote">1) The line thickness in shp_lines is by now a known bug that we will address in the next release. It does not work for me either. I remember testing the line color, but never really the line thickness. It needs to be fixed.</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">2) About the object option, I'll let Graziano answer this one. When you do not specify an object, the code loops over *all* objects available in the shapefile. </div>
<div class="gmail_quote"><br></div><div class="gmail_quote"> Arlindo</div><div class="gmail_quote"><br></div><div class="gmail_quote">On Wed, Apr 16, 2008 at 7:58 PM, Stephen R McMillan <<a href="mailto:smcmillan@planalytics.com">smcmillan@planalytics.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><font size="2" face="sans-serif">Hello Arlindo,</font><br><br><font size="2" face="sans-serif">I was able to install this latest release
with no problem. I'm glad to see it now includes shapefile functionality.
However, contrary to the included documentation, using the 'set line...'
option appears to have no effect on either line style or thickness--just
color. Unlike the default map drawing, the shapefile boundaries (when using
shp_lines) appear much too heavy for some uses, especially on screen and
for large geographical areas. I did have "mpdraw" set to off,
as instructed. I tried image output with both primtim and gxyat, with similar
results (that is, no change in line style or thickness). Example of what
I did after opening model.ctl:</font><br><font size="2" face="sans-serif">'set mpdraw off'</font><br><font size="2" face="sans-serif">'set line 4 1 1'</font><br><font size="2" face="sans-serif">'shp_lines admin98'</font><br>
<font size="2" face="sans-serif">[image displayed as expected, other
than polygon line thickness]</font><br><font size="2" face="sans-serif">'gxyat c:\wx\out\shptest1.png'</font><br><font size="2" face="sans-serif">'set line 4 3 6'</font><br><font size="2" face="sans-serif">'shp_lines admin98'</font><br>
<font size="2" face="sans-serif">[image displayed same as previous image]</font><br><font size="2" face="sans-serif">'gxyat c:\wx\out\shptest2.png'</font><br><font size="2" face="sans-serif">[identical to shptest1.png]</font><br>
<br><font size="2" face="sans-serif">It would be very useful to be able to
control line style/thickness. Perhaps another user can confirm what I got.
Assuming it works for you, do you have any suggestions?</font><br><br><font size="2" face="sans-serif">Also, could you point me to an example
or two on how to use the shapefile "object" option. Do I have
to create a separate shapefile object, or are there objects within the
included admin98 shape files (for example). If so, how do I specify one
or more objects?</font><br><br><font size="2" face="sans-serif">Thanks--</font><br><font size="2" face="sans-serif">Stephen McMillan</font><br><br><br><p></p><table width="100%"><tbody><tr valign="top"><td width="40%"><font size="1" face="sans-serif"><b>Arlindo da Silva <<a href="mailto:dasilva@ALUM.MIT.EDU" target="_blank">dasilva@ALUM.MIT.EDU</a>></b></font><br>
<font size="1" face="sans-serif">Sent by: <a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank">GRADSUSR@LIST.CINECA.IT</a></font><p><font size="1" face="sans-serif">04/06/2008 12:17 PM</font></p><table border=""><tbody><tr valign="top">
<td bgcolor="white"><div align="center"><font size="1" face="sans-serif">Please respond to<br><a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank">GRADSUSR@LIST.CINECA.IT</a></font></div></td></tr></tbody></table><br>
</td><td width="59%"><table width="100%"><tbody><tr valign="top"><td><div align="right"><font size="1" face="sans-serif">To</font></div></td><td><font size="1" face="sans-serif"><a href="mailto:GRADSUSR@LIST.CINECA.IT" target="_blank">GRADSUSR@LIST.CINECA.IT</a></font></td>
</tr><tr valign="top"><td><div align="right"><font size="1" face="sans-serif">cc</font></div></td><td></td></tr><tr valign="top"><td><div align="right"><font size="1" face="sans-serif">Subject</font></div></td><td><font size="1" face="sans-serif">New Win32 Release of GrADS v1.9.0-rc1</font></td>
</tr></tbody></table><br><table><tbody><tr valign="top"><td></td><td></td></tr></tbody></table><br></td></tr></tbody></table><br><br><br><br><font size="3">All,</font><br><br><br><font size="3"> I just uploaded to </font><a href="http://sf.net" target="_blank"><font size="3" color="blue"><u>sf.net</u></font></a><font size="3">a new Win32 GrADS release:</font><br>
<br><br><font size="3"> </font><a href="http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=270750" target="_blank"><font size="3" color="blue"><u>http://sourceforge.net/project/showfiles.php?group_id=161773&package_id=270750</u></font></a><br>
<br><font size="3">Notice that Win32 GrADS now has its own packaged called
"grads-windows". See the ChangeLog for additional info.</font><br><br><font size="3"> This version fixes some bugs with DOS-style
text files, and includes Release 2 of the OpenGrADS extensions, with Grib-2
and Shapefile support (as well as an improved "fish"). To quickly
checkout the new features:</font><br><br><font size="3">Grib-2:</font><br><br><font size="3"> ga-> g2_open ../data/model_25.gdf</font><br><font size="3"> ga-> d g2(tmpprs)</font><br><br><font size="3">or with the % shorthand</font><br>
<br><font size="3"> ga-> % d tmpprs</font><br><br><font size="3">Shapefile:</font><br><br><font size="3"> ga-> open ../data/model.ctl</font><br><font size="3"> ga-> d ts</font><br><font size="3"> ga-> shp_polyf admin98</font><br>
<br><font size="3">Fish:</font><br><br><font size="3"> ga-> set lev 200</font><br><font size="3"> ga-> d fish_psi(ua,va)</font><br><font size="3"> ga-> clear</font><br><font size="3"> ga-> d fish_chi(ua,va)</font><br>
<br><font size="3"> For documentation,</font><br><br><font size="3"> </font><a href="http://opengrads.org/doc/" target="_blank"><font size="3" color="blue"><u>http://opengrads.org/doc/</u></font></a><br><br><font size="3"> Let me know of any problems.</font><br>
<br><font size="3"> Arlindo</font><br><font color="#888888"><br><br><font size="3">-- </font><br><font size="3">Arlindo da Silva</font><br><a href="mailto:dasilva@alum.mit.edu" target="_blank"><font size="3" color="blue"><u>dasilva@alum.mit.edu</u></font></a><font size="3"></font><br>
<br>
<br>
***************************************************<br>
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.<br>
***************************************************<br></font></blockquote></div><br><br clear="all"><br>-- <br>Arlindo da Silva<br><a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>