Export Map for QGIS

Free open-source GIS. GeoPackage recommended as multi-layer format.

Best format: GEOPACKAGE
WindowsmacOSLinux

Developer: OSGeo · Category: GIS Software

Recommended Export Settings

Coordinate SystemEPSG:4326

How to open an OpenStreetMap map in QGIS

For QGIS we recommend GeoPackage: one .gpkg file with a separate layer per feature type and all OpenStreetMap tags as attributes in UTF-8. GeoJSON, Shapefile, KML and DXF are available as alternatives.

Import steps

  1. On osm2cdr.com find your place by name or draw a rectangle around the area on the map, choose the GeoPackage format and start the export. Download the file when it is ready (unzip it if it arrives as a ZIP archive).
  2. Drag the .gpkg file into the QGIS window, or use Layer → Add Layer → Add Vector Layer and select it.
  3. In the dialog that lists the layers of the file, select all of them (or only the ones you need) and click Add Layers.
  4. Set the project coordinate system (Project → Properties → CRS) — see Coordinate system below.
  5. Open the attribute table of a layer to see the OpenStreetMap tags of every object, and style the layers in Layer Properties → Symbology.

Coordinate system

The GeoPackage is stored in WGS 84 (EPSG:4326), the coordinate system of OpenStreetMap itself, so QGIS georeferences it automatically.

For measuring lengths and areas set a metric project CRS, for example the UTM zone of your area (EPSG:326xx north, EPSG:327xx south): QGIS reprojects the layers on the fly. To store a reprojected copy use right-click → Export → Save Features As.

Units

Coordinates in EPSG:4326 are degrees. Lengths and areas in metres come from a metric project CRS or from the ellipsoidal measurement setting in Project → Properties → General.

Layers

Each feature type is a separate layer in the GeoPackage — buildings, roads, water, green areas and land use, points of interest and so on. Every layer keeps all OpenStreetMap tags as attributes, so you can filter (for example by building height or road class) and label features from the attribute table.

FAQ and tips

Why GeoPackage and not Shapefile?

GeoPackage is a single file with many layers, no 10-character field-name limit and full UTF-8; Shapefile is the fallback for older tools.

Names show as question marks.

They are UTF-8 in the GeoPackage; if you use the Shapefile export, set the layer encoding to UTF-8 in Layer Properties → Source.

Alternative Formats

GEOJSON, SHP, KML, DXF

Export GEOPACKAGE Map Now