You are trying the new MyGeodata Cloud. Send feedback Back to the previous version

Vector · GIS vector

SHP — ESRI Shapefile

Esri multi-file vector format storing one geometry type per layer with attributes in a dBase table.

Type
Vector · GIS vector
Extension
.shp
Converter
Read & write
Coordinate system
Any (EPSG, ESRI, custom)
Layers
Single

What is a SHP file?

The shapefile is a vector data format developed by Esri and introduced in the early 1990s. Esri published an open technical description in 1998, and the format became a common exchange format across GIS, CAD and web mapping software. A shapefile stores a single layer with one geometry type, such as points, multipoints, polylines, polygons or multipatches, optionally with Z and M values.

A dataset consists of several files sharing a base name: .shp holds the geometry, .shx the positional index and .dbf the attributes in dBase format. The .prj file stores the coordinate reference system as WKT, .cpg declares the attribute character encoding, and further files hold optional spatial and attribute indexes. Limitations stem from its age: each component file is limited to 2 GB, field names to 10 characters, and field types are few. Date-time values and reliable null handling are lacking, and curved geometries and topology are not supported.

Shapefiles are usually exchanged between GIS analysts, surveyors, public authorities and web mapping teams. Because one dataset is spread over several files, always send or receive them together, ideally in a ZIP archive. Missing .prj or .cpg files are a frequent cause of wrong positions or garbled attribute text, and long field names get truncated to 10 characters.

Typical uses

  • Exchanging vector layers between different GIS applications.
  • Publishing boundaries, roads or points of interest from public authorities.
  • Loading vector data into web mapping servers such as GeoServer.
  • Delivering survey or planning data to clients in a widely accepted format.
Files: Minimum: .shp, .shx, .dbf; .prj for CRS; others optional indexes/encoding.

Sample SHP files — free download

Small, real datasets of the island of Saint Helena (OpenStreetMap, Copernicus DEM, Sentinel-2). Download them, open them in your software, or convert them in one click.

Preview of the sample data: Saint Helena places st-helena-places-shp.zip

Places (points)

58 places of Saint Helena (20 settlements, 17 peaks, 21 points of interest) with name, category, elevation from Copernicus DEM and OSM id. Zipped ESRI Shapefile (UTF-8 .cpg).

  • st-helena-places · Point · 58
  • EPSG:4326
  • 4.6 kB
Attributes (7)
idIntegernameStringcategoryStringkindStringelevationIntegersummaryStringosm_idString
10Jamestowntownsettlement36Capital and only port of Saint Helena293673697
22Diana's Peakpeakpeak809Highest point of Saint Helena4254622180
47Longwood Housemuseumpoi544Napoleon's residence in exile, 1815-182135798100
46Jacob's Ladderlandmarkpoi74Staircase of 699 steps from Jamestown up to Ladder Hill146163201
53Saint Helena Airportairportpoi326Island airport, scheduled flights since 2017166589674

Inside: README.txt, st-helena-places.cpg, st-helena-places.dbf, st-helena-places.prj, st-helena-places.shp, st-helena-places.shx

© OpenStreetMap contributors, ODbL 1.0 · Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena roads and paths st-helena-roads-shp.zip

Roads and paths (lines)

110 named roads, streets, tracks and paths (OSM segments merged by name) with class, surface, speed limit and length. Zipped ESRI Shapefile (UTF-8 .cpg).

  • st-helena-roads · LineString · 110
  • EPSG:4326
  • 63.5 kB
Attributes (8)
idIntegernameStringclassStringrefStringonewayStringmaxspeedIntegersurfaceStringlength_mReal
1Airport Access RoadtertiaryNonenoNonepaved13088.3
2Airport Access RoadtertiaryNoneyesNonepaved177.1
3Casons RoadtertiaryNonenoNoneNone6132.5
4China LanetertiaryNoneyesNoneNone34.1
5Commonwealth AvenuetertiaryNoneno48asphalt3035.7

Inside: README.txt, st-helena-roads.cpg, st-helena-roads.dbf, st-helena-roads.prj, st-helena-roads.shp, st-helena-roads.shx

© OpenStreetMap contributors, ODbL 1.0

Preview of the sample data: Saint Helena land cover st-helena-landcover-shp.zip

Land cover (polygons)

190 land-cover polygons (forest, scrub, farmland, residential, water, …) from OpenStreetMap with area in hectares. Zipped ESRI Shapefile (UTF-8 .cpg).

  • st-helena-landcover · Polygon · 190
  • EPSG:4326
  • 69.6 kB
Attributes (6)
idIntegerlandcoverStringosm_classStringnameStringarea_haRealosm_idString
1beachbeachNone0.6241102771696
2beachbeachSandy Bay Beach0.557550627544
3farmlandfarmlandNone4.50235798087
4farmlandfarmlandNone4.10835798079
5farmlandfarmlandNone3.73535798064

Inside: README.txt, st-helena-landcover.cpg, st-helena-landcover.dbf, st-helena-landcover.prj, st-helena-landcover.shp, st-helena-landcover.shx

© OpenStreetMap contributors, ODbL 1.0

Preview of the sample data: Saint Helena contour lines st-helena-contours-shp.zip

Contour lines (3D lines)

27 contour lines at 100 m intervals derived from Copernicus DEM, 3D lines with Z = elevation. Zipped ESRI Shapefile (UTF-8 .cpg).

  • st-helena-contours · LineString Z · 27
  • EPSG:4326
  • 93.7 kB
Attributes (3)
idIntegerelevIntegerlength_mReal
110077402.4
220097244.9
3300106037.6
440088889.8
54003772.8

Inside: README.txt, st-helena-contours.cpg, st-helena-contours.dbf, st-helena-contours.prj, st-helena-contours.shp, st-helena-contours.shx

Copernicus DEM © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA

Preview of the sample data: Saint Helena waterways st-helena-waterways-shp.zip

Waterways (lines)

117 streams and canals from OpenStreetMap with class and length. Zipped ESRI Shapefile (UTF-8 .cpg).

  • st-helena-waterways · LineString · 117
  • EPSG:4326
  • 32.8 kB
Attributes (5)
idIntegernameStringclassStringlength_mRealosm_idString
1Nonestream2144.830139205
2Noneriver143.2205323233
3The Runcanal566.2205332771
4Nonestream452.7255707505
5Nonestream431.5255707507

Inside: README.txt, st-helena-waterways.cpg, st-helena-waterways.dbf, st-helena-waterways.prj, st-helena-waterways.shp, st-helena-waterways.shx

© OpenStreetMap contributors, ODbL 1.0

Frequently asked questions

The .dbf component limits field names to 10 ASCII characters, so longer names are truncated or altered when saving to shapefile. Use shorter names or convert to a format without this limit, such as GeoPackage, if full names matter.

Ready to convert your data?

Drop the files and the Converter does the rest — no install, no account needed for your first conversions.