Shapefile
A widely used geospatial vector data format developed by Esri for storing location, shape, and attribute information for geographic features.
Detailed Definition
A shapefile is a widely used geospatial vector data format developed by Esri that stores the location, shape, and attribute information for geographic features. Despite being a legacy format, shapefiles remain one of the most commonly used formats for exchanging spatial data.
- .shp: Stores the feature geometry (points, lines, or polygons)
- .dbf: Stores the attribute data in dBASE format
- .shx: Stores the spatial index for quick access
- .prj: Stores the coordinate system and projection information (optional but recommended)
- .sbn/.sbx: Stores the spatial index (Esri-specific)
- .cpg: Specifies the character encoding
Shapefile characteristics: - Each shapefile stores a single geometry type (point, line, or polygon) - Maximum file size: 2 GB per component file - Field names limited to 10 characters - Text fields limited to 254 characters - No support for null values in the original specification - No topology or relationship classes
Common uses in mining and land management: - Mining claim boundary data (BLM distributes claim data as shapefiles) - PLSS section, township, and range boundaries - Geological maps and contacts - Drill hole locations - Mineral deposit and occurrence points - Land ownership boundaries
Advantages: - Universally supported by GIS software - Simple file-based format (no database required) - Easy to share and distribute - Well-documented specification
Limitations: - Multiple files must be kept together - Limited field name length and data types - No support for complex data structures - 2 GB size limit per file - Being superseded by GeoPackage and GeoJSON for many applications
Related Terms
GIS
Geographic Information System - software and technology for capturing, storing, analyzing, and displaying geographically referenced data.
Spatial Data
Data that describes the location, shape, and relationship of geographic features, including vector and raster formats.
Geodatabase
A database designed to store, query, and manage geographic information and spatial data, the primary data format in Esri ArcGIS.
GeoJSON
An open standard format for encoding geographic data structures using JSON, widely supported by web mapping applications.
Feature Class
In GIS, a collection of geographic features with the same geometry type and attribute schema, stored in a geodatabase.