The library is provided with a full set of line command. The main structure of the shapes is in DBF (Data Base File) witch is used by ESRI. The shape file format consist of the the three files suffixe:apt-get install shapelib
The home page of the shapelib project is:
- .shp - holds the actual vertices.
- .shx - hold index data pointing to the structures in the .shp file.
- .dbf - holds the attributes in xBase (dBase) format.
http://shapelib.maptools.org/
dbfcreate to Create a new Shape Database dbfadd dbfdump dbfact dbfinfo shpcreate