Passage Data

Check a file →

How to open a shapefile without ArcGIS

Shapefile · dBASE

What you are seeing — someone sent you a zip of files with the same name and different extensions, and none of them open in anything you have.

The short answer

Nothing is wrong with the files. A shapefile is not one file: it is a set that only works together, and your computer has no program for any of them.

Three free ways to open it. QGIS opens the whole set: drag the .shp in to see the shapes, then open the attribute table. LibreOffice Calc opens the .dbf table on its own and saves it as CSV. ogr2ogr, part of GDAL, converts it in one line.

The rest of the answer — 4 more points

.shp holds the shapes. .dbf holds the table of rows and columns. .shx is an index. .prj says what the coordinates mean: which grid, which datum. .cpg, when there is one, names the character set.

The two files people delete matter most. Without the .dbf the shapes carry no information. Without the .prj nobody can say where the numbers point, and a guess can be off by hundreds of metres.

Two things look wrong and are not bugs. Column names stop at 10 characters, because the .dbf format caps them. Accented letters may be garbled, because a .dbf does not reliably state its character set; a .cpg beside it does.

A GeoPackage (.gpkg) holds the same things in one file, with no 10-character cap.

What to do now

  1. Keep the set together: .shp, .shx, .dbf and .prj. Zip the folder if it did not arrive as one.
  2. To see the shapes and the table, open the .shp in QGIS.
  3. To get a spreadsheet, export the layer as CSV. For points, set Geometry: AS_XY so the coordinates get their own columns. For lines or polygons, use AS_WKT.
  4. Read the .prj before you trust the numbers. A projected system, such as a UTM zone or a national grid, gives metres, not degrees. A different datum, such as NAD27 or ED50, gives normal-looking degrees that can sit hundreds of metres off.
Check the zip

Drop the zipped set, or the .dbf alone. We read every column, name any cut to 10 characters, and say which coordinate system the file declares, or that it declares none. Free during the testing period. No account needed. Without one, what we read trains our reader (names removed); signed in, nothing is kept.

Check the file you have →

Related