English

FAQ: Are there file size limitations for shapefiles?

Question

Are there file size limitations for shapefiles?

Answer

The shapefile format defines the geometry and attributes of geographically referenced features in three or more files with specific file extensions that are stored in the same project workspace.

Required shapefile component file extensions are:

.shp - The main file that stores the feature geometry.

.shx - The index file that stores the index of the feature geometry.

.dbf - The dBASE table that stores the attribute information of features.

There is a limitation on shapefile component file size, not on the shapefile size. All component files of a shapefile are limited to 2GB each.

Accordingly, the .dbf cannot exceed 2GB, and the .shp cannot exceed 2GB. These are the only component files that are likely to approach the 2GB limit.

Therefore, the total size of a shapefile (the full set of component files) can exceed 2GB.

Related Information