OpenStreetMap

Discussion

Comment from HannesHH on 30 November 2009 at 16:49

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

Comment from dankarran on 30 November 2009 at 18:46

Mapping the other 61% should be fun :)

Comment from mannequinZOD on 7 December 2009 at 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

Comment from mannequinZOD on 7 December 2009 at 02:20

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

Comment from IknowJoseph on 8 December 2009 at 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

Comment from IknowJoseph on 8 December 2009 at 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

Log in to leave a comment