Лягатып OpenStreetMap OpenStreetMap

How many lines in planet.osm?

Дасланы wieland 5 Лістапад 2010 на English.

I am processing the planet file at home. The task is running for three days now.
I have processed more than 1 000 000 000 lines and would like to guess, when it will finish.
I know I can run
$ bunzip2 <plant.osm.bz2 | wc -l
but this will take some hours and will slow down my computer at lot.

I didn't find the question/answer in
osm.wiki/Planet.osm/FAQ
shall I put it there?

Thanks.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Абмеркаванне

Камэнтар EdLoach ад 5 Лістапад 2010 у 11:14

Do the statistics about the number of nodes/ways/etc here help? osm.org/stats/data_stats.html

Камэнтар wieland ад 5 Лістапад 2010 у 11:55

No, but I had an exception stopping my program just now at line 1092671193 :-(
I will post the answer here, as soon the count is done.

Камэнтар hbogner ад 5 Лістапад 2010 у 13:37

Do you mean lines as distance between 2 nodes or lines as ways?

Камэнтар wieland ад 5 Лістапад 2010 у 13:40

I mean lines as textlines in a textfiles. After unpacking the planet file you have an xml-text-file. A node might have one line or more.

Камэнтар 26eb5473101d742b174d730717409668 ад 7 Лістапад 2010 у 12:37

The planet dump from November 3rd has 2527419825 lines.

Камэнтар wieland ад 7 Лістапад 2010 у 16:47

Thanks. Now I know, that it stopped after less than 50% :-(

Увайдзіце каб пакінуць камэнтар