Hi Frank<div>yes I tried running shpcreate.c but couldnt get it to work. I loaded shpcreate.c and shpfil.h into MS visual studio 2008 but the project wouldnt compile.</div><div>I got the errors:</div><div><br></div><div><div>
1>------ Build started: Project: shpcreate, Configuration: Debug Win32 ------</div><div>1>Linking...</div><div>1>shpcreate.obj : error LNK2019: unresolved external symbol _SHPClose referenced in function _main</div>
<div>1>shpcreate.obj : error LNK2019: unresolved external symbol _SHPCreate referenced in function _main</div><div>1>C:\Users\Asus\Documents\Visual Studio 2008\Projects\shpcreate\Debug\shpcreate.exe : fatal error LNK1120: 2 unresolved externals</div>
<div>1>Build log was saved at "file://c:\Users\Asus\Documents\Visual Studio 2008\Projects\shpcreate\shpcreate\Debug\BuildLog.htm"</div><div>1>shpcreate - 3 error(s), 0 warning(s)</div><div><br></div><div><br>
</div><div><br></div><div>thanks</div><div>steve</div></div><div><br><br><div class="gmail_quote">On Sun, May 30, 2010 at 7:02 PM, Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">Steve Kwan wrote:<br>
> Hello<br>
> I want to incorporate this code into my program which simulates the flow<br>
> in a river. i would like to output the "wet areas" of a river as a shape<br>
> file for ARCGIS. can anyone help?<br>
<br>
</div></div>Steve,<br>
<br>
Are you looking for assistance on how to write polygons shape files with<br>
shapelib? Have you reviewed the docs, and sample programs like<br>
shpcreate.c and shpadd.c? It would be helpful if you could ask a more<br>
specific, and folks will be more inclined to help if you can show you have<br>
made a good faith effort to take advantage of the existing documentation<br>
and samples.<br>
<br>
Best regards,<br>
<br>
--<br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Programmer for Rent<br>
<br>
_______________________________________________<br>
Shapelib mailing list<br>
<a href="mailto:Shapelib@lists.maptools.org">Shapelib@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/shapelib" target="_blank">http://lists.maptools.org/mailman/listinfo/shapelib</a><br>
</blockquote></div><br></div>