[Qgis-user] QGIS to load spefific OpenStreetMap data

Stefan Keller sfkeller at gmail.com
Tue May 14 14:28:51 PDT 2019


Hi,

I'm preparing a talk about QGIS and OpenStreetMap for the annual
meeting of the local QGIS chapter.

=> Question: How do you (users) load specific OSM data into QGIS, like
for example all bakeries of Zurich? (ways/polygons as centroids?)

Background: QGIS 2 had a built in downloader which is gone in QGIS 3.
This instruction is 4y old [1], and this wiki page seems to be
outdated too [2].

I know, that QGIS can read OpenStreetMap XML (.osm) and .PBF files as
vector layer. And I know about these two plugins: OSMDownloader [3]
and QuickOSM [4].

* OSMDownloader requests a bbox from the user, then downloads the
whole area through the OSM API using the OGR OSM driver.
* QuickOSM generates queries in outdated Overpass XML, but accepts
also the newer Overpass QL language, like for example the following:

[out:xml];
area[name="Uster"];
(
  nwr[shop~"supermarket|bakery"](area);
);
out body;
>;
out skel qt;

:Stefan

[1] https://learnosm.org/en/osm-data/osm-in-qgis/
[2] https://wiki.openstreetmap.org/wiki/QGIS
[3] https://plugins.qgis.org/plugins/OSMDownloader/
[4] https://plugins.qgis.org/plugins/QuickOSM/


More information about the Qgis-user mailing list