Shapefileは、地理情報システム(GIS)で最も普及したフォーマットです。ArcGIS、QGIS、MapInfoをはじめ、数十種類のアプリケーションで対応しています。エクスポートには.shp、.shx、.dbf、.prjファイルがZIPアーカイブで含まれます。
主な機能

Shapefileフォーマットについて
The shapefile was invented by ESRI in the early 1990s, and it is still the most widespread exchange format in GIS: it is read by ArcGIS, QGIS, MapInfo, GRASS, GeoPandas, PostGIS and by almost anything that can work with a map at all. Formally it is not one file but a set: geometry, an index, an attribute table, a description of the coordinate system and of the encoding.
Data is exported to a shapefile when it goes into somebody else's workflow: hand it to a contractor, load it into a municipal GIS, put it into a project where this has been the practice for years. The format is old and has limitations, but that is exactly why it is guaranteed to open without questions.
What is in the archive: a ZIP where each layer sits in its own folder as a full set of files — roads separately, buildings separately — with a README.txt description next to them. That is not done for looks: one shapefile stores only one geometry type, points, lines and polygons physically cannot live together. The coordinates are WGS84 (EPSG:4326), and the OpenStreetMap attributes are written into the table in UTF-8.
Worth knowing up front: field names are limited to ten characters and long names get truncated, and the geometry file cannot exceed 2 GB. If these limits get in the way — take GeoPackage: the same layers in one modern file and without such restrictions.
Shapefileファイルを開けるプログラム
次のプログラムおよびアプリケーションは、OSM2CDRからエクスポートしたESRI Shapefile (SHP)(.shp.zip)ファイルを開き、編集し、利用できます:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 4 files in archive
- ZIP archive with 4 files: .shp, .dbf, .shx, .prj. EPSG:4326. Field names truncated to 10 characters (dBASE limit).
Shapefile地図を利用するユーザー
Shapefileのエクスポート方法
エクスポート後の開き方
- QGIS (free) — unpack the ZIP and drag the geometry files you need into the program window, several layers at once if you like.
- ArcGIS Pro or ArcMap — Add Data and pick the layer; the projection is picked up automatically from the description file.
- GeoPandas — read_file with the path to the layer, then the usual work with the table and the geometry in Python.
- PostGIS — the shp2pgsql utility loads a layer into the database with one command, with coordinate system 4326 specified.
- If Cyrillic text turned into gibberish — set the encoding to UTF-8 in your program: that is what is written in the encoding file next to the data.
Shapefileの人気地図
ESRI Shapefile (SHP)の地図エクスポートを入手
OpenStreetMapからプロフェッショナルなShapefile地図をダウンロード。即時生成、任意の範囲に対応。
よくある質問
他のフォーマットと比較
関連フォーマット
よく一緒にエクスポートされるフォーマット
Related Articles
SHP to DWG: Opening a Shapefile in AutoCAD Without Losing Coordinates
How to convert SHP to DXF and DWG: why a shapefile is a set of files, what breaks without the .prj, import via MAPIMPORT
guideПочему слой уезжает на сто метров, хотя система координат в файле записана
usecaseSite Selection for Development: GIS Analysis with OpenStreetMap
How to use GIS and OpenStreetMap data for development site selection: infrastructure, transport, ecology, scoring analys