I was wondering how can I export all the roads (car drivable ones) of USA from OSM? To export it with the website I need to specify some boundaries, but I need only USA's road (and obviously USA's border is not a rectangle). The same is when I try to export it from QGIS's using OpenLayers plugin and also with overpass-turbo. My final goal is to import it into POSTGIS or QGIS. I am sure this is something trivial, but I am new to OSM and can't figure it out.

Thanks!

asked 01 Apr '17, 07:38

Lianna94's gravatar image

Lianna94
11113
accept rate: 0%


For such a large region you should download an extract and filter out the roads:

http://wiki.openstreetmap.org/wiki/Planet.osm#Regional_extract_sources

There are a variety of OSM specific tools that can do this filtering as they load data into a database:

http://wiki.openstreetmap.org/wiki/Databases_and_data_access_APIs

permanent link

answered 01 Apr '17, 14:06

maxerickson's gravatar image

maxerickson
10.5k1071147
accept rate: 31%

... and see https://wiki.openstreetmap.org/wiki/Osmfilter for its features.

(03 Apr '17, 21:08) stephan75

Hi

You can download the Shape files from the following link and then extract only the roads.

http://download.geofabrik.de/north-america.html

permanent link

answered 09 Apr '17, 07:06

mmahmud's gravatar image

mmahmud
4733518
accept rate: 0%

thanks mmahmud, but how can I merge them after? Or it doesn't make sense to merge them because of the size?

(25 Apr '17, 01:38) Lianna94

Sorry, merging with what? What is the ultimate goal here? And did the extraction work?

(25 Apr '17, 03:40) mmahmud
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×273
×177
×16

question asked: 01 Apr '17, 07:38

question was seen: 1,541 times

last updated: 25 Apr '17, 03:40

powered by OSQA