A shapefile, also known as an Esri shapefile, is a file format for storing geographic vector data.

You can upload shapefiles to Mapbox Studio to add custom data to your maps. When you upload shapefiles, Mapbox converts your data to vector tiles so you can create styles from it.

When uploading shapefiles, keep the following in mind:

  • Check out the Mapbox Uploads API documentation for the current size limit for shapefiles. Note that this limit applies to the shapefile’s uncompressed size, not the size of the compressed zip.
  • Shapefiles are composed of several individual files, which should be combined into a single zip file before uploading. Of these files, Mapbox can read shp, shx, dbf, prj, and index files. Any other files you upload with your zip file will be ignored.

For more information on uploading shapefiles, check out the Mapbox Studio Manual uploads page.

Download a sample shapefile