OpenStreetMap

38.57% of UK pubs are on OpenStreetMap

Posted by IknowJoseph on 29 November 2009 in English (English)

That's how I worked it out at least.

Comment from HannesHH on 30 November 2009 at 16:49

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

Hide this comment

Comment from dankarran on 30 November 2009 at 18:46

Mapping the other 61% should be fun :)

Hide this comment

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

Hide this comment

Comment from mannequinZOD on 7 December 2009 at 02:20

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

Hide this comment

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

Hide this comment

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

Hide this comment

Leave a comment

Parsed with Markdown

  • Headings

    # Heading
    ## Subheading

  • Unordered list

    * First item
    * Second item

  • Ordered list

    1. First item
    2. Second item

  • Link

    [Text](URL)
  • Image

    ![Alt text](URL)

Login to leave a comment