You are here: TWiki> OpenGIS Web>SubjectShapelib (2010-07-14, TWikiAdminUser)

Shapelib Library to Generate Shape Layers

The shapelib is a C library to create and manage shape file. On a Linux operating system, the library can simply installed with the package:

apt-get install shapelib

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:

  • .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.

The home page of the shapelib project is:

http://shapelib.maptools.org/

tip We can use shapelib in programs witch generate shape layers. The shape layers can then be imported into a PostGIS database.


Table of Contents


Database Commands

hint

dbfcreate to Create a new Shape Database

hand Go to the manual page dbfcreate

dbfadd

hand Go to the manual page dbfadd

dbfdump

hand Go to the manual page dbfdump

dbfact

hand Go to the manual page dbfact

dbfinfo

hand Go to the manual page dbfinfo

Shape Commands

shpcreate

hand Go to the manual page dbfcreate

shpadd

hand Go to the manual page dbfcreate

shpdump

hand Go to the manual page dbfcreate

shprewind

hand Go to the manual page dbfcreate

shpcat

hand Go to the manual page dbfcreate

shpcentrd

hand Go to the manual page dbfcreate

shpdxf

hand Go to the manual page dbfcreate

shpproj

hand Go to the manual page dbfcreate

-- TWikiAdminUser - 2010-05-31

Topic revision: r3 - 2010-07-14 - 08:41:04 - TWikiAdminUser
 

TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright SUBJECT.CH © 2010 by the contributing authors. All material on this collaboration platform is the property of the contributing.
Ideas, requests, problems regarding TWiki? Send feedback