Shapefile er det mest udbredte format i geografiske informationssystemer (GIS). Understøttes af ArcGIS, QGIS, MapInfo og dusinvis af andre programmer. Eksporten omfatter .shp-, .shx-, .dbf- og .prj-filer i et ZIP-arkiv.
Vigtigste funktioner

Om formatet 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.
Hvilket program åbner Shapefile-filer
Følgende programmer og applikationer kan åbne, redigere og arbejde med ESRI Shapefile (SHP)-filer (.shp.zip), der er eksporteret fra OSM2CDR:
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).
Hvem bruger Shapefile-kort
Sådan eksporterer du Shapefile
Sådan åbner du filen efter eksporten
- 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.
Populære kort i Shapefile
Få korteksport i ESRI Shapefile (SHP)
Download professionelle Shapefile-kort fra OpenStreetMap. Øjeblikkelig generering, ethvert område.
Ofte stillede spørgsmål
Sammenlign med andre formater
Convert to Shapefile and back
Shapefile guides and tutorials
Relaterede formater
Ofte eksporteret sammen
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