Shapefile C Library: http://shapelib.maptools.org/
API使用:
1.SHP File API: http://shapelib.maptools.org/shp_api.html
2.Attribute (.DBF) API: http://shapelib.maptools.org/dbf_api.html
shapefile格式说明及读写代码示例: http://www.gispower.org/article/arcgis/arcother/2008/48/0848115049GB922C13K2I22H7G06A4.html
原文:http://www.cnblogs.com/nightcatcher/p/3677806.html