I'm trying to query OpenStreetMap via QGIS (for example) to get a list of all streets in Paris and their width.

example :

  1. Boulevard Sebastopol : 30m
  2. Rue Tiquetonne : 11m
  3. etc

Is there such data in OpenStreetMap ? or anywhere else ?

  • By the "width of the street", do you mean mean the distance between the buildings on either side of the street? If so this question is similar. (OSM has very good coverage for buildings in Paris) – Steven Kay Feb 13 '17 at 23:27
  • Yes the distance between buildings. I would love to consider the variable width along a street but it will be too complex to handle (as I want to color the street depending on its width). I will first try to get all "average" or minimum width of every street. Thanks for your reply, I will check this answer ! – Florian Boudot Feb 14 '17 at 11:21

OpenStreetMap data is not really setup like that. If you're familiar with editing OSM you will know that to create a road it is a simple line. So any road width that is styled is purely for the style of the map and not an actual account of the width of the roads.

Having said that you may get lucky with a crazy OSM fanatic who might have gone around the streets and measured them to add a tag with the width data (highly unlikely).

Suggestion I can think of would be to:

  1. Download Paris from geofabrik.de. This will at least give you the OSM data and all the related information.
  2. Check the French highway agency to see what information they have on on their types of roads. It may that they have a standard widths for varying road uses. This way you can create a CSV and join it to the different OSM road types.
  3. And by far the worst suggestion would be to use google earth or something and measure the widths. Then apply those measurements to similar roads.
  • This is not entirely true since OSM has a width key. See my answer. – scai Feb 13 '17 at 13:43
  • I understand and I have tried (poorly it seems) to suggest that the OSM data can hold the width information, but only if it's provided at time of creation, or through an edit. Both suggestions in your answer have been covered in my answer: The use of the width key is only useful if the "beloved OSM fanatic" has added the tag. It is not something automatically created with the data. And your second extends my point 2, as the highway key would be what the questioner needs to relate what information he can find about road widths from the French highway authorities. – Knightshound Feb 13 '17 at 14:41
  • Yes, I will have a look first at the OSM data. I could get lucky because it is Paris, it may not be the case for other locations :) Thanks for your answers. – Florian Boudot Feb 14 '17 at 11:22
  • I have downloaded the data from geofabrik.de, I searched in all attributes tables of all layers but couldn't find a key named 'width'. I am new with all GIS stuff so maybe I am not searching the right place ? Can you help me through this please ? – Florian Boudot Feb 14 '17 at 11:51
  • Then I'm afraid that information doesn't exist in OSM. Remember OSM is free opensource, and built by the general public. So the information provided is only what people have felt like adding. But that data is still useful. Like using the 'Highway' key in scai's answer. Now you will either have to hunt for width data through french construction or policy documents and join that data to the OSM highway key, or measure the roads yourself (with google) and again join that data. It's not the end of the road yet ;) – Knightshound Feb 14 '17 at 12:05

The width of a road (or other feature) in OSM can be specified with the width key. However most roads in OSM don't have this key. If the width key is not present then you can try to estimate the width using the road class (highway key) and the number of lanes, if available.

  • Streets don't have a single width. You can have an average width or you can sample the width at regular intervals to gain s more accurate picture. More useful is the number of lanes. – Stevetech Feb 13 '17 at 15:07
  • 1
    This depends on the street. A street in OSM can consist of more than a single way and thus can have multiple width tags, one for each way it consists of. – scai Feb 13 '17 at 19:36

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.