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

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
12.7k1083176
accept rate: 32%

... 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
63861125
accept rate: 3%

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

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:

×315
×223
×18

question asked: 01 Apr '17, 07:38

question was seen: 5,251 times

last updated: 25 Apr '17, 03:40

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