31

How can i add OSM layer in QGIS?

The help says there is an OSM plugin i can use. But i don't see it the list of plugins. enter image description here

Or maybe there is a WMS URL for OSM i can use?

QGIS version 1.7.0-Wroclaw on Windows 7 64bit

34

March 2015 update with QGIS 2.8.1 (Wien)

Web>Openlayers plugin

enter image description here

For Raster images [after fetching python plugins] use the OpenLayers Plugin

enter image description here

For Vector (editable layers) use the OpenStreetMap Plugin

use Download OSM Data option [OSM server limits large downloads] - zoom into an area of interest first there is some info when using the plugin that the area is ok to download - this will take a minute or so to process.

To edit save as shapefile (load this into QGIS) and toggle editing

enter image description here

  • This was created on a Windows 7 (SP1) 64-bit PC with 8GB RAM. Intel i5 3.2Ghz – Mapperz Jul 29 '11 at 20:06
  • @Rostranimin updated for QGIS 2.8.1 – Mapperz Mar 2 '15 at 17:34
7

This is an old question/answer but it pops out in the Google search and it is worthwhile adding new updates as in this answer. I would comment but I don't have enough reputation.
There is no need for an extra plugin, you can use the XYZ Tile Server.

enter image description here

The URL for OpenStreetMap is:

http://tile.openstreetmap.org/{z}/{x}/{y}.png

Update for QGIS3
QGIS3 comes with a direct link to OpenStreetMap under Tile Server (XYZ), just double-click on it:

enter image description here

  • thanks, always true with my QGis 2.18.17 under Ubuntu Bionic (18.04) – bcag2 2 days ago
3

Check out this Q/A link below.

How to get OpenStreetMap as a raster layer in QGIS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.