Biểu trưng OpenStreetMap OpenStreetMap

Biểu tượng thư điện tử Biểu tượng Bluesky Biểu tượng Facebook Biểu tượng LinkedIn Biểu tượng Mastodon Biểu tượng Telegram Biểu tượng X

Thảo luận

Bình luận của HannesHH vào 30 tháng 11 năm 2009 lúc 16:49

Confess, you had a long long trip through the country last week.

Bình luận của dankarran vào 30 tháng 11 năm 2009 lúc 18:46

Mapping the other 61% should be fun :)

Bình luận của mannequinZOD vào 7 tháng 12 năm 2009 lúc 02:18

please check your statisctics. I think you a counting every entry 3 times, its more like 13%

e.g.

Pub:Gaststätte Jütten
Pub:Gaststätte Jütten
Pub:Gaststätte Jütten

You are overestimating by a factor of 3!!!
Use:
grep -ci 'Pub:' united_kingdom_Eating_Drinking.gpx

Bình luận của mannequinZOD vào 7 tháng 12 năm 2009 lúc 02:20

Check your block for my comment, the html comments are not displayed correctly here

Bình luận của IknowJoseph vào 8 tháng 12 năm 2009 lúc 19:13

mannequinZOD, have you actually tried the command you suggest?

joseph@joseph-work:~$ grep -ci 'Pub:' united_kingdom_Eating_Drinking.gpx
20742

Which is c.38% of UK pubs, or the numbers I originally posted.

Thanks for contributing, but I would recommend you try the commands you suggest before telling me I'm doing it wrong. For another view, you could also look at the shapefile I link to from my latest blog post.

Cheers, Joseph

Bình luận của IknowJoseph vào 8 tháng 12 năm 2009 lúc 19:19

Furthermore, remove the c flag and you'll see that I'm not out by a factor of three:

joseph@joseph-work:~$ grep -i 'Pub' united_kingdom_Eating_Drinking.gpx | sort | head
Pub:12 bar
Pub:13th Note Cafe
Pub:1802
Pub:1901 Bar & Bistro
Pub:26 Smithfield
Pub:2nd West
Pub:3's
Pub:3one7
Pub:3 Tuns
Pub:4 Aces

I see you've got your own statistics online now, I would recommend double checking them.

Cheers, Joseph

Đăng nhập để nhận xét