0

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%


2 Answers:
4

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
11.4k1075161
accept rate: 30%

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

(03 Apr '17, 21:08) stephan75
3

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
6085924
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

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:

×287
×195
×16

question asked: 01 Apr '17, 07:38

question was seen: 2,428 times

last updated: 25 Apr '17, 03:40

powered by OSQA