<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Stephen --&nbsp;<div>Brian and I are glad to hear you are successfully using the new shapefile interface. Unfortunately, what you are asking for is not in our development plans. The graphical elements created with the 'draw' command are not based on gridded or station data in a lon/lat spatial domain, but on the page coordinates in an X,Y domain. There is no existing mechanism to convert elements from the graphics metafile buffer back into a lat/lon environment and then output a shapefile.&nbsp;</div><div><br></div><div>There may be some other software tools out there to create shapefiles based on user-defined coordinates, but it might not be such a difficult stand-alone program to write yourself. Start by looking at the examples in the shapefile library's source code.&nbsp;</div><div><br></div><div>--Jennifer</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>On Oct 25, 2010, at 11:04 AM, Stephen McMillan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>I think it's a great addition to have both the draw- and create-shapefiles capabilities in GrADS now, and have successfully done both from the latest release.</div><div><br></div>As I understand the online documentation, shapefiles can be created using only the "display" command, and that "the shape types currently supported are points and lines...." &nbsp;with lines being contour lines. &nbsp;Are there any plans to support shapefile creation using the "draw" command, such as for creating straight line segments or polygons, as it does for drawing shapefiles?<div> <br></div><div>Perhaps the developers or another user knows of a way to write shapefiles derived from drawn (not displayed) map features. &nbsp;The only way I can think of is to somehow incorporate the desired line/polygon features within a gridded file, perhaps similar to the way "lat" and "lon" are done, except crossing lat/lon lines.</div> <div><br></div><div>I am using the OpenGrADS version 2.0.a9.oga.1 on a Windows XP.</div><div><br></div><div>Thanks</div><div>Stephen McMillan</div> <pre>***************************************************
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>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></pre></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>