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

I want to download an OSM planet file. I make historical tiles using OSM planet files this is why I want to download one. Also, I want to experiment having this file on a remote server and try clipping out sections of it.

The OSM Planet file can be quite large (almost 30gb for the pbf version).

An issue I have come across downloading it from http://planet.osm.org is that my download get's interrupted. I'm assuming it is from my side (Comcast...). It is a http download and when http downloads break, then you have to start over again.

Is there a ftp download or another type of download available? Wouldn't it make sense with such large files?

Thanks,

Tom

asked 23 Jun '15, 01:33

tgertin's gravatar image

tgertin
70448
accept rate: 0%


Your assumption is not true. HTTP downloads can be resumed. This feature has to be supported by both the server and the client but it is quite unusual to not support it (except for many one-click hosters and similar services). Hence you should try to find out why you can't resume your download.

Resuming a HTTP download from http://planet.osm.org works fine here.

permanent link

answered 23 Jun '15, 07:58

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

It is not true that HTTP downloads cannot be resumed (see e..g the --continue option of the wget command line utility, or use some kind of download manager).

There is an FTP mirror of OpenStreetMap data, including old planet files, here: ftp://ftp.heanet.ie/pub/openstreetmap.org/

Note that if you download the "full history planet" then you can make snapshots for any point in time from that, and don't need to download tons of planet files.

permanent link

answered 23 Jun '15, 07:59

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

If you use wget on the command line to download the file (e.g.: wget http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf), and it gets interrupted, then you can just pass in the -c option and wget will automatically continue downloading the file. e.g.: wget -c http://planet.openstreetmap.org/pbf/planet-latest.osm.pbf. If that gets interrupted again, you can just call that command again and it'll pick up where it left of (etc. etc.)

permanent link

answered 23 Jun '15, 08:53

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%

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:

×56
×13

question asked: 23 Jun '15, 01:33

question was seen: 6,500 times

last updated: 23 Jun '15, 08:53

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