Shapefile je najpopulárnejší formát v geografických informačných systémoch (GIS). Podporovaný v ArcGIS, QGIS, MapInfo a desiatkach ďalších aplikácií. Export obsahuje súbory .shp, .shx, .dbf a .prj v archíve ZIP.
Kľúčové vlastnosti

O formáte 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.
Aký program otvára súbory Shapefile
Nasledujúce programy a aplikácie dokážu otvoriť, upraviť a pracovať so súbormi ESRI Shapefile (SHP) (.shp.zip) exportovanými z 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).
Kto používa mapy Shapefile
Ako exportovať Shapefile
Ako súbor otvoriť po exporte
- 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.
Obľúbené mapy vo formáte Shapefile
Získajte mapové exporty vo formáte ESRI Shapefile (SHP)
Stiahnite si profesionálne mapy Shapefile z OpenStreetMap. Okamžité generovanie, ľubovoľná oblasť.
Často kladené otázky
Porovnanie s inými formátmi
Súvisiace formáty
Často exportované spolu
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