How I can download "historical" osm data from http://planet.openstreetmap.org/? It is possible do it by osmosis or XAPI? I need road/railroad data from the same region (whole Europe) and from different years, but I cannot find way, how extract these data. Thanks for Help. Miroslav

asked 06 Jun '12, 14:48

kope's gravatar image

kope
55447
accept rate: 0%

edited 06 Jun '12, 21:16

SimonPoole's gravatar image

SimonPoole ♦
38.7k13287614

1

Please describe a little bit more what you mean by "historical" and "from different years". Are you referring to the historical development of the OpenStreetMap data over the past few years (since the OpenStreetMap project started in 2004) ...or do you mean the history of the railway itself (e.g. data on the railway network as it was in 1960) ?

(06 Jun '12, 18:15) Harry Wood

2 Harry Wood: I mean state of railway/railroad mapping in different years. I need compare OSM data from given year/month with commercial product (e.g. TeleAtlas, ERM etc - for example TA data from 2Q/2009 and OSM data from the same time) from the point of view of coverage by data, rightness of attributes (mainly road classes), etc.

(06 Jun '12, 18:40) kope

The history data is dumped to special planet files located in http://planet.openstreetmap.org/full-experimental/

Country level extracts can for example be found here http://odbl.poole.ch/extracts/

There is an experimental osmosis plugin located here

http://svn.openstreetmap.org/applications/utils/osmosis-history/

Note besides the files being unwieldly, a lot of the history file processing should be considered experimental at this point in time.

You can extract the data for specific points in time from the full history files, this should work for full history extracts too.

The alternative is to retrieve the individual historic planet dumps, the files with names in this format planet-YYMMDD.osm.bz2 (better in the compact .pbf binary format) and extract the region you are interested in.

The later solution will require substantially more space and computing power than getting it to work with a already existing full history extract, bur may be bit simpler.

permanent link

answered 06 Jun '12, 16:42

SimonPoole's gravatar image

SimonPoole ♦
38.7k13287614
accept rate: 19%

edited 06 Jun '12, 18:41

2

Thank you for answer, Simon. I am not familliar in OSM very well, but I think, that it is not solving of my problem. I don't need history of changes, but I need data from different time horizons (for example all roads from 31.8.2011, from 15.12.2010 etc.). I think, that I use XAPI for retrieving road data from osm database, then XAPI ask latest version of database - it is true? And I need select data from dump planet-330830.osm.bz2 for example. Now I try download appropriate planet file to my disk, try unpack it and select only roads by osmosis. But problem is size of data - iploaded dump is 16 GB for example, unpacked data are 180 GB for example etc. It is very time and disk space "expensive". That is reason, why I am looking any different way for data extracting.

(06 Jun '12, 18:31) kope

Please do not create new answers when you have further remarks, instead use the comment function.

I've expanded my answer above.

(06 Jun '12, 18:36) SimonPoole ♦

@kope: I've converted your remarks from answers into comments.

(06 Jun '12, 21:23) Tordanik
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:

×551
×219
×79

question asked: 06 Jun '12, 14:48

question was seen: 5,364 times

last updated: 06 Jun '12, 21:23

powered by OSQA