Thanks Jennifer, your answer is helpful, so I can focus elsewhere as you suggested. The new shapefile capabilities will be very useful as they are, and I much appreciate all that you and the rest of the development team have done to make it possible. Keep up the great work!<div>
<br></div><div>Stephen McMillan<br><br><div class="gmail_quote">On Tue, Oct 26, 2010 at 1:05 PM, Jennifer Adams <span dir="ltr"><<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Hi, Stephen -- <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. </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. </div>
<div><br></div><div>--Jennifer</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div><div></div><div class="h5"><div>On Oct 25, 2010, at 11:04 AM, Stephen McMillan wrote:</div><br></div></div>
<blockquote type="cite"><div><div></div><div class="h5"><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...." with lines being contour lines. 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. 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> </div></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" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</pre></blockquote></div><font color="#888888"><br><div> <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;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div style="word-wrap:break-word">
<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;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><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;text-indent:0px;text-transform:none;white-space:normal;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" target="_blank">jma@cola.iges.org</a></div><div><br>
</div><br></span></span></div></span> </div><br></font></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br></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.
***************************************************