What Is a Shapefile?

PUBLISHED ON

September 21, 2026

LAST UPDATED ON

Author

Shahin Sheikh

Quick Insight

A shapefile is a widely used file format for storing map shapes, such as building outlines, roads, or property boundaries, so GIS and mapping software can read and display them.

A shapefile is a geographic vector data format developed by Esri for storing the location, shape, and attributes of geographic features. It can represent features as points, lines, or polygons and is supported by many GIS and mapping applications. 

Why Shapefiles Matter 

  • They’re widely supported, so shapefiles created in one GIS tool can usually be opened, edited, or converted in another. 
  • They store geometry alongside attribute information, allowing each feature to carry details such as a name, ID, or category. 


The honest limit:
a shapefile is not actually a single file. It is a collection of related files that need to stay together. It also has a relatively rigid structure and lacks some of the advanced capabilities available in newer geospatial database formats. 

Types of Shapefiles 

  • Point shapefiles: Store individual locations, such as businesses, addresses, or points of interest. 
  • Line shapefiles: Store connected paths or features, such as roads, rivers, or boundaries. 
  • Polygon shapefiles: Store enclosed areas, such as building footprints, property parcels, neighborhoods, or geofences. 

Want to see how SafeGraph delivers geometry data, including shapefile-compatible formats?

Read the guide:
Geometry Data 

Frequently Asked Questions

1. What's the difference between a shapefile and GeoJSON? 

A shapefile is a widely supported, multi-file format commonly used in GIS workflows. GeoJSON is a text-based format that stores geographic features in JSON and is often easier to read, edit, and use in web mapping applications. 

No. A shapefile can store only one geometry type at a time, such as points, lines, or polygons. It cannot contain a mixture of these geometry types in the same shapefile. 

A shapefile is made up of several related files. The three core files are .shp, which stores the feature geometry, .shx, which stores an index for the geometry, and .dbf, which stores attribute information. A .prj file can also be included to define the coordinate system and projection. These related files should be kept together when moving or sharing a shapefile. 

Esri developed the shapefile format. It has since become widely supported by GIS software from Esri and other providers. 

No. Polygon data describes a type of geographic feature made up of enclosed areas. A shapefile is a file format that can store polygon data as well as point and line data. 

About the author

Shahin Sheikh

Sheikh Shahin is a content writer with five years of experience creating research-based content across data, geospatial technologies, and location intelligence. She focuses on turning complex topics into clear, engaging content that helps readers understand data-driven decision-making and emerging technology trends.

Categories

Related Terms

Curated Articles that complement the topic you’re exploring: