Hello, I want to download the .pbf file of Seattle directly.

I tried using BBBike.org but the data on that site is not up to date, and other services seems no manual bbox (type the 4 coordinate) extract support.

Also, I think download the plant.osm and crop it inconvenient.

There's no matter what shape it is (a rectangle or the city border), and how to get the newest .pbf file?

asked 27 Feb, 02:24

mxooc's gravatar image

mxooc
1612
accept rate: 0%

2

Maybe it would be a good idea to explain what you actually want to acheive in the end?

(27 Feb, 10:02) SimonPoole ♦
1

Opening a whole city's data in JOSM is unusual, and might be impossible.

(27 Feb, 10:22) H_mlet

Would the state of Washington be too big? This one from Geofabrik is 5 hours old:

http://download.geofabrik.de/north-america/us/washington-latest.osm.pbf

Exact procedure:

  1. Download Washington extract from Geofabrik.
  2. Download Seattle poly from ploygons.openstreetmap.fr as seattle.poly
  3. Use osmconvert: osmconvert washington.osm.pbf -B=seattle.poly -o=seattle.osm.pbf
permanent link

answered 27 Feb, 07:08

Spiekerooger's gravatar image

Spiekerooger
711817
accept rate: 12%

edited 27 Feb, 10:40

Yes, I think it will be too big and slower when render in JOSM. I also tried to use the Overpass API to download the Seattle area, but I don't know which format it is (seems it isn't a .osm but a .xml file) or how to open it. Is there a command that can convert it into a osm.pbf file in the Linux terminal?

(27 Feb, 09:45) mxooc

I generate the output .pbf file successfully, but I can't open it in JOSM because it isn't the .osm.pbf format, is there any difference between these 2 formats?

(27 Feb, 10:08) mxooc

Hm, the pbf should be a .osm.pbf. Did you try renaming it or using osmconvert with -o seattle.osm.pbf?

(27 Feb, 10:19) Spiekerooger
1

Yes, and then it can be imported. Thank you.

(27 Feb, 10:23) mxooc
1

thank you, so I edited the answer to present a step by step procedure for anyone facing the same problem.

(27 Feb, 10:38) Spiekerooger
showing 5 of 7 show 2 more comments
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:

×5

question asked: 27 Feb, 02:24

question was seen: 239 times

last updated: 27 Feb, 10:40

powered by OSQA