Logotipo do OpenStreetMap OpenStreetMap

How many lines in planet.osm?

Publicado por wieland o 5 de Novembro de 2010 en 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.

Icona de correo electrónico Icona de Bluesky Icona de Facebook Icona de LinkedIn Icona de Mastodon Icona de Telegram Icona de X

Parola

Comentario de EdLoach no 5 de Novembro de 2010 ás 11:14

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

Comentario de wieland no 5 de Novembro de 2010 ás 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.

Comentario de hbogner no 5 de Novembro de 2010 ás 13:37

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

Comentario de wieland no 5 de Novembro de 2010 ás 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.

Comentario de 26eb5473101d742b174d730717409668 no 7 de Novembro de 2010 ás 12:37

The planet dump from November 3rd has 2527419825 lines.

Comentario de wieland no 7 de Novembro de 2010 ás 16:47

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

Inicia sesión para deixar un comentario