About

Each shapefile can describe a set of either points, lines or polygons, but not a mix of different types. A shapefile is actually a collection of related files with the same prefix but different file extensions.

Each shapefile can describe one or more features, which are individual units (points, lines or polygons) within it.

At a minimum each shapefile has three files:

  • .shp - the geometry, with descriptions of each feature;
  • .shx - the 'index file' for the geometry which points to the beginning of each feature within the .shp file;
  • .dbf - a database file (in dBase IV format) which has one row for each feature and fields describing characteristics of each.

Shapefiles may have any number of other files associated with them. For example, .prj files are often attached which contain information about the projection of the file, or .sbn and .sbx which are another kind of spatial index.

ESRI GIS Dictionary.: "... A shapefile is stored in a set of related files and contains one feature class."

history | show excerpt | excerpt history