NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello Mrs., Mr.,

My name is Félix Ouellet; I work for CIVIS IT, a Canada based company, more precisely located in the province of Québec.

At the moment I am working on a project in Brazil. We want to cover urban areas within the 41 metropolitan regions of the country.

I am looking for road vector data to help us with car based surveying. Not only viewable data as in Google Maps or Bing Maps, but vector data, as you offer with the "Export XML" functionnality.

The thing is that I am looking for road data including road types, so that I can know precisely what is a highway, what is a road, what is a building, and if possible what vectors are single-way roads. I would also like to be able to download larger polygons compared with what is possible with OpenStreetLayers, so that I can cover whole urban areas.

So would you have data with those specific properties ? Would you have sample data ?

Thank you in advance.

Félix Ouellet, geomatics engineer for CIVIS IT, Québec, Canada

asked 10 Apr '12, 19:44

Biwidgh's gravatar image

accept rate: 0%

You can download an extract of all OSM data for Brazil on the Geofabrik download server at The .osm.bz2 and .osm.pbf files are a complete OSM dataset (just like you would get from the "Export XML" on the web page) that you will have to filter with suitable OSM tools. The is a set of shape files, among them one that contains all the roads. You could probably use that and use standard GIS tools to cut out the areas you are interested in.

permanent link

answered 10 Apr '12, 20:04

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 23%

edited 10 Apr '12, 20:05


You should also browse the wiki to understand how osm data is organised if you want to extract usefull info from it. Try and first. As for parsing the data, see or amongst many options.

(10 Apr '12, 20:58) Vincent de P... ♦

Thank you for your advices. I have now got data for the whole country of Brazil.

But it is not yet exactly what I am looking for: the features are not completely described as being highways vs streets; I would like to have the type of roads for 100% of the roads.

Also road data is not available for all the territory I am working on. About 80% is available in Open Street Map, but I would like 100%.

Félix Ouellet

(11 Apr '12, 16:35) Biwidgh

What do you mean "not completely described as being highways vs streets" ? Roads of an unknown type ("highway=road" in osm parlance) should be very rare. You should be able to distinguish highways from streets (whatever you feel the threshold is) for pretty much all the data. Remember that roads are only part of the osm way data : there are also buildings, landuse, lakes, regional borders, etc.

(11 Apr '12, 16:54) Vincent de P... ♦

Concerning the completeness of the data, it is true that osm still has to catch up in some regions of the world, sorry. We do believe that osm is the best way to fill the gaps, and invite you to join in. Remember that there is no such thing as a 100% complete map of a country. I wish you good luck in finding free vector data of brazilian roads that is more complete than osm; tell us if you do :)

(11 Apr '12, 17:00) Vincent de P... ♦

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 10 Apr '12, 19:44

question was seen: 7,015 times

last updated: 11 Apr '12, 18:14

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum