[Shapelib] Example of how to create a shapefile
Frank Warmerdam
warmerdam at pobox.com
Thu Mar 16 07:29:01 PST 2006
Kleymeyer, Alan wrote:
> Thanks Frank.
>
> After some search I finally found an example of someone using the
> library so I added:
>
> DBFCreate
> DBFField(..,FTINTEGER, 11, 0)
> DBFWriteIntegerAttribute(hDBFile, 0, 0, 0)
>
> Which did the trick.
>
> It would be nice if this type of example was included somewhere in the
> sample code. The sample code included in the library is all cmdline
> driven
> so I didn't find it helpful as a specific example of how to create a
> shapefile.
Alan,
If you would like to write up a "getting started with shapelib" .html file
I will include it with the next shapelib release and on the web site.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGF, http://osgeo.org
More information about the Shapelib
mailing list