3

I want to view a .osm file that was generated from an Overpass API query.

I tried the steps given in QGIS tutorial on OSM wiki. The tutorial says

  1. Start QGIS Desktop
  2. Go to: Vector (menu) → OpenStreetMap → Import Topology from XML.
  3. Select the .osm file, and it'll suggest a name for the SpatiaLite database that will be created from this data.

But when I opened the QGIS, the vector menu does not give drop-down submenu.

Am I missing something in the steps or the QGIS tool on my machine is not installed correctly? Any suggestions?

This is the most related question I could find. But it was not very helpful when it comes to my problem.

  • 1
    Are you using QGIS 3.4? – ahmadhanb Dec 21 '18 at 9:22
  • 1
    Check this answer: gis.stackexchange.com/questions/305895/… – ahmadhanb Dec 21 '18 at 9:58
  • 1
    @ahmadhanb I'm using 3.0.3-Girona. that link is helpful. thans. – akzhere Dec 21 '18 at 10:18
  • @ahmadhanb Can I do these steps in this version of QGIS. Do I install the osm-plugin to get the submenues under Vector. As currently Vector menu shows nothing under it – akzhere Dec 21 '18 at 10:25
  • 1
    I didn’t test osm-plugin before so it’s a good chance to try it. I think no problem to use the plugin in QGIS 3.0.3. – ahmadhanb Dec 21 '18 at 11:55
2

You can load OSM data saved on your local disc into QGIS with Add Vector layer.

Alternatively, use the QuickOSM plugin. You can run your Overpass queries directly here, and load an osm file you saved to disk. Or load everything inside the canvas with the OpenStreetMap - All OSM query in the My Queries tab.

BTW you should update to QGIS 3.4, because 3.0 had lots of bugs.

0

The only way I know that the Vector menu has no any content, is having the Processing plugin unticked. Check it:

processing-plugin

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.