OpenStreetMap 로고 OpenStreetMap

How many lines in planet.osm?

wieland님이 English로 2010년 11월 5일에 게시함.

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.

이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2010년 11월 5일 11:14EdLoach님의 의견

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

2010년 11월 5일 11:55wieland님의 의견

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.

2010년 11월 5일 13:37hbogner님의 의견

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

2010년 11월 5일 13:40wieland님의 의견

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.

2010년 11월 7일 12:3726eb5473101d742b174d730717409668님의 의견

The planet dump from November 3rd has 2527419825 lines.

2010년 11월 7일 16:47wieland님의 의견

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

댓글을 남기려면 로그인하세요