4

I am exporting OSM data (in .osm) files to use in QGIS. I am interested in having the street names displayed. I know they are in the OSM data set because they are displayed when I browse the data online, but when I view my downloaded files and open the attribute tables for streets, most of them simply have "null" or "label" as values.

What am I doing wrong?

How can I extract data from OSM which includes the street names?

closed as off-topic by underdark Sep 22 '16 at 19:12

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This problem cannot or can no longer be reproduced. Changes to the system or to the asker's circumstances may have rendered the question obsolete, or the question does not include a procedure to enable potential answerers to reproduce the same symptoms. Such questions are off-topic as they are unlikely to help future readers, but editing them to include more details can lead to re-opening." – underdark
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Use the OSM plugin for Quantum GIS - via Plugins Fetch Python Plugins - select and install OpenStreetMap plugin. you can download from inside QGIS using bounding box. – Mapperz Jun 15 '12 at 13:50
  • 2
    Just to fill-in on Mapperz's solution: When you load an *.osm file using the plugin, you will have an option to add columns of attributes such as Name, Highway, Place, etc. The Name column will contain the highway name (if it's available). – Micha Jun 15 '12 at 14:15
  • 1
    A bit of googling would point you to this page: LINK – Alexandre Neto Sep 14 '12 at 8:13
1

An easier option I think would be to download the data as shape files and work from there. Just go to the folder of the region you are interested in and download the shp.zip version of the data you need.

0

It's probably quicker to download the OSM data based on your bbox. As mentioned above, the wiki explains this in detail [1]. To summarize what's on the osm wiki:

a) within the osm map homepage, zoom to AOI and click export;

b) use the http api and append your bbox coordinates.

[1] http://wiki.openstreetmap.org/wiki/Downloading_data#Choose_your_region

  • 1
    This will only work in sparesly detailed areas. In Central Europe, you will not even get your whole home town via the api call. Downloads from geofabrik or filtering via Overpass API are intended for such requests. – AndreJ Sep 14 '12 at 11:04
0

To add names to streets:

  • Right-click on the roads layer to the left of the window.

  • Select properties

  • Click on the Labels menu and enable "Label this layer with"

  • Select "name" option and click apply

Provided you used a detailed shp or osm file, your street names should now show up.

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