Glossary

shapefile

A digital file format used in Geographic Information Systems (GIS) to store geometric location and attribute information of geographic features.

Shapefile

Definition

A shapefile is a popular open geospatial vector data format developed by Esri for storing geometric location and attribute information of geographic features. It has become an industry standard for exchanging geographic data in surveying, mapping, and GIS applications worldwide.

History and Development

The shapefile format was introduced by Esri in the early 1990s as part of their ArcView software. Despite being proprietary in origin, it has been released with an open specification, making it freely available for use by any software developer or organization. This accessibility has contributed to its widespread adoption across the GIS industry.

File Structure

A shapefile is not a single file but rather a collection of files with related extensions. The primary files include:

  • .shp - Contains the geometric data (points, lines, or polygons)
  • .shx - Index file that maintains the relationship between geometry and attributes
  • .dbf - DBASE database file containing attribute data and records
  • Additional supporting files may include .prj (projection information), .cpg (code page), and .qix (spatial index).

    Geometry Types

    Shapefiles support three main geometry types:

    1. Point - Individual coordinate locations used for features like survey monuments or wells 2. Polyline - Connected line segments representing features such as roads, rivers, or survey boundaries 3. Polygon - Closed shapes representing features like parcels, buildings, or administrative boundaries

    Attributes and Database Integration

    Each geometric feature in a shapefile is associated with a record in the .dbf file. This allows surveyors and GIS professionals to attach multiple attributes to each feature, such as property identification numbers, measurements, dates, or descriptive information. The attribute table can be queried and analyzed to extract specific information.

    Advantages

    Shapefiles offer several benefits that have made them the industry standard:

  • Simplicity - Easy to create, edit, and understand
  • Compatibility - Supported by nearly all GIS software packages
  • Portability - Files can be easily transferred between systems and applications
  • Open Standard - No licensing fees or proprietary restrictions
  • Established Workflows - Well-documented and familiar to most GIS professionals
  • Limitations

    Despite their popularity, shapefiles have certain constraints:

  • File Size Restrictions - Cannot exceed 2GB in size
  • Single Geometry Type - Each shapefile can only contain one geometry type
  • Limited Data Types - Restricted to basic field types compared to modern databases
  • Projection Information - Relies on external .prj files for coordinate system details
  • Character Encoding - May have issues with non-English characters
  • Applications in Surveying

    Shapefiles are extensively used in surveying for:

  • Recording boundary survey data and property descriptions
  • Storing GPS coordinates and survey measurements
  • Organizing cadastral information and parcel data
  • Creating topographic datasets
  • Exchanging survey data with clients and municipalities
  • Modern Context

    While newer formats like GeoJSON and GeoPackage have emerged, shapefiles remain ubiquitous in the surveying and GIS industries. Many organizations continue to use shapefiles as their primary data exchange format, and they remain the default output format for many surveying software applications.

    Conclusion

    The shapefile format remains a fundamental component of digital surveying and GIS workflows. Its combination of simplicity, widespread support, and established standards makes it an enduring choice for storing and sharing geographic data, despite the availability of more modern alternatives.

    All Terms
    RTKTotal StationlidarGNSSPoint CloudppkEDMBIMFotogrammetrijaGCPNTRIPdemtraversebenchmarkGeoreferencingtriangulationGPSGLONASSGalileo GNSSBeiDouCORS NetworkVRSrtxL1 L2 L5multipathPDOPHDOPVDOPGDOPFix SolutionView all →