<br><font size=2 face="sans-serif">To add yet another way to do this, there
is a sample program in </font><a href=http://dl.maptools.org/dl/shapelib/contrib/><font size=2 color=blue face="sans-serif">http://dl.maptools.org/dl/shapelib/contrib/</font></a><font size=2 face="sans-serif">
MapToolsArchive.zip that does what you have described, only it gets the
xy values from a SqlServer database. &nbsp;It would be easy enough to stream
data in from a file instead. &nbsp;It is in c#.</font>
<br>
<br><font size=2 face="sans-serif">btw, the boilerplate text about Florida's
public records law is a new directive from our legal department --- don't
blame me :-(</font>
<br>
<br><font size=2 face="sans-serif">Hope this helps,</font>
<br><font size=2 face="sans-serif">David Gancarz</font>
<br>
<br><font size=2 face="sans-serif">Florida has a very broad public records
law. &nbsp;As a result, any written communication created or received by
City of Orlando officials and employees will be made available to the public
and media, upon request, unless otherwise exempt. &nbsp;Under Florida law,
email addresses are public records. &nbsp;If you do not want your email
address released in response to a public records request, do not send electronic
mail to this office. &nbsp;Instead, contact our office by phone or in writing.</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&lt;Mike.Sexton@ga.gov.au&gt;</b>
</font>
<br><font size=1 face="sans-serif">Sent by: shapelib-bounces@lists.maptools.org</font>
<p><font size=1 face="sans-serif">10/30/2006 11:31 PM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
Shapelib Development &lt;shapelib@lists.maptools.org&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">&lt;shapelib@lists.maptools.org&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">[Shapelib] Shapefile creation</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="Arial">Hi,</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">For some time I have been wondering how one
produces shapefiles from scratch and have found it very difficult to find
relevant information</font>
<br><font size=2 face="Arial">I have numerous files of X,Y data that describe
points, lines and polygons that I wnt to capture as shapefiles.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Fortunately I found &nbsp;the shapelib pages</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">I downloaded the shapelib tar file and shocked
myself when the make worked.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">I have been able to make some simple shapefiles
by following the instructions, and I am now wondering how I can use my
X,Y files.</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">For example: shpadd testfile.shp 10.0 1.0
20.0 2.0 30.0 3.0, works fine</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">but I want to load an X,Y file containing
1000&#8217;s of point into the shapefile. I just cant see how to stream the
coordinates into the ahpadd program</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Any advice would be greatly appreciated</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">&nbsp;</font>
<br><font size=2 face="Arial">Thanks</font>
<br><font size=2 face="Arial">Mike Sexton</font>
<br><font size=2 face="Arial">Geoscience Australia</font><font size=2><tt>_______________________________________________<br>
Shapelib mailing list<br>
Shapelib@lists.maptools.org<br>
http://lists.maptools.org/mailman/listinfo/shapelib<br>
</tt></font>
<br>