Work with shapefiles in ArcGIS Pro
A shapefile is a vector data storage format that stores the location, shape, and attributes of geographic features with the same geometry type (such as point, line, and polygon) and the same spatial reference.
The shapefile format consists of a collection of individual files stored in the same folder. These files define the geometry and attributes of geographically referenced features in three or more files with specific file extensions that should be stored in the same project workspace. They are as follows:
.shp—The main file that stores the feature geometry; this is required..shx—The index file that stores the index of the feature geometry; this is required..dbf—The dBASE table that stores the attribute information of features; this is required.Note:
There is a one-to-one relationship between geometry and attributes, which is based on record number. Attribute records in the dBASE file must be in the same order as records in the main file.
.sbnand.sbx—The files that store the spatial index of the features..fbnand.fbx—The files that store the spatial index of the features for shapefiles that are read-only..ainand.aih—The files that store the attribute index of the active fields in a table or a theme's attribute table..atx—An.atxfile is created for each shapefile or dBASE attribute index created in ArcGIS Pro..ixs—The geocoding index for read/write shapefiles..mxs—The geocoding index for read/write shapefiles (ODB format)..prj—The file that stores the coordinate system information; this is used by ArcGIS..xml—The metadata for ArcGIS, which stores information about the shapefile..cpg—An optional file that can be used to specify the code page for identifying the character set to be used.Note:
Each file must have the same prefix, for example,
roads.shp,roads.shx, androads.dbf.
When viewing shapefiles in ArcGIS Pro, you will only see one file representing the shapefile; however, you can use Windows Explorer to view all the files associated with a shapefile.
When copying shapefiles, it is recommended that you do so in ArcGIS Pro or by using a geoprocessing tool. However, if you do copy a shapefile outside ArcGIS, ensure that you copy all the files that compose the shapefile.
You work with shapefiles in ArcGIS Pro in a similar way to working with feature classes in a geodatabase; you can add shapefiles to the map as a layer, and you can work with their fields and properties in the fields view.
Note:
Although a shapefile may appear similar to a feature class stored in a geodatabase, a shapefile does not support the advanced capabilities found in geodatabases (such as topologies, networks, attribute rules, or subtypes), which allow you to model real-world behaviors, apply rules for managing and maintaining data integrity, and use tools for working with spatial relationships of the core features and attributes. For more information about geodatabases, see What is a geodatabase.
When a shapefile is created in ArcGIS Pro, the table is prepopulated with an FID field and a Shape field. The FID field contains the unique ID number for each object (row) in the table. The Shape field defines the type of shape stored in the feature class: point, multipoint, polygon, polyline, and multipatch.
The following field data types are supported in a shapefile as user-defined fields:
Short IntegerLong IntegerFloatDoubleTextDateNote:
When using the
Datefield type in a shapefile, only NULL and Date values are supported; Date/Time values are not supported.
Add a shapefile to the map
You can access a shapefile in ArcGIS Pro using a folder connection in the Catalog pane.
To add a shapefile to a map, complete the following steps:
Browse to the location of the shapefile in the folder connection.
Right-click the shapefile, and click Add To Current Map
or point to Add To New, and click Map
.
Alternatively, you can click Add Data
on the Map tab on the ribbon, and browse to the shapefile location.
Work with shapefiles in the fields view
You can use the fields view to add or delete fields, view field properties, or modify layer properties for shapefiles. See Use the fields view for more information about the fields view.
Below are examples of some standard editing tasks you can do in the fields view. Here, edits are made to a shapefile layer named Building.
Delete unnecessary fields.
Add a new field named
BLDGTYPE.Change the layer properties of a field: visibility, read-only, or field alias.
Some field properties are read-only and are unavailable, such as Field Name.

Shapefiles and protected access
A shapefile is a dataset that consists of one or more related files stored in a folder. The folder serves as the shapefile workspace and can contain one or more shapefiles.
When protected access for Microsoft OneDrive files is enabled, file access and checkout status are applied to the individual shapefiles, rather than to the entire shapefile workspace. As a result, the OneDrive status of a single shapefile does not affect access to other shapefiles stored in the same shapefile workspace.
This behavior reflects the way shapefiles are designed. Although a shapefile consists of one or more files that work together as a single dataset, each shapefile dataset is managed independently. Managing access at the dataset level helps maintain consistency among the related files that compose the shapefile while allowing other shapefiles in the same workspace to remain available.
When a protected shapefile is checked out by one user, other users can continue to access that shapefile in a read-only state until it is checked back in. However, if the shapefile is actively being edited, it may be temporarily unavailable to other users until the edits are completed and changes have been synchronized to the cloud.
For example, a folder named GIS contains four shapefiles: Cities, Counties, Highways, and States. If User A adds the Highways shapefile to a map, ArcGIS Pro checks out only the Highways shapefile dataset. User B can continue to access Highways in a read-only state and can continue working with Cities, Counties, and States. Unlike geodatabases, checking out one shapefile does not place the entire folder workspace in a read-only state.
If User A edits the Highways shapefile, User B can continue viewing the shapefile but will not see User A's edits until the edits are completed, the shapefile is checked back in, and the changes have synchronized to the cloud.
Learn more about using ArcGIS Pro with Microsoft OneDrive and Microsoft SharePoint
Limitations of shapefiles
A shapefile has the following limitations:
Shapefile size limit: 2 GB.
Maximum field name length: 10 characters.
Maximum number of fields: 1,024.
NULL values are only supported on the
Datefield data type and are not supported for numeric or text field data types in a shapefile. To learn more about null values in shapefiles, see Geoprocessing considerations for shapefile output.A shapefile cannot store topological information or relationships.
Shapefiles and dBASE files cannot store non-English characters by default. If you need to store or use these files encoded in different code pages, follow the instructions outlined in How To: Read and write shapefile and dBASE files encoded in various code pages.
In the fields view, you can add, delete, or copy fields, but once the field is saved, you cannot alter the field properties.
Adding an attribute or spatial index is currently not supported for shapefiles on the layer properties indexes tab. See the Indexes toolset for more information about adding or removing an index in ArcGIS Pro.