OpenStreetMap標誌 OpenStreetMap

電郵圖示 Bluesky圖示 Facebook圖示 LinkedIn圖示 Mastodon圖示 Telegram圖示 X圖示

討論

HannesHH2009年11月30日16:49發表的評論

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

dankarran2009年11月30日18:46發表的評論

Mapping the other 61% should be fun :)

mannequinZOD2009年12月7日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

mannequinZOD2009年12月7日02:20發表的評論

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

IknowJoseph2009年12月8日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

IknowJoseph2009年12月8日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

登入以留言