[OSM-dev] Wikipedia Place checker

Craig Loftus craigloftus at gmail.com
Sun Apr 14 13:34:51 UTC 2013


> Good work. One can also use the wikipedia plugin for JOSM to do something
similar.

Thanks for pointing that out. Unfortunately this is broken for current JOSM
builds, and also seems to be doing something slightly different. It seems
it would take a lot of clicking/requests to check all the places in a given
category.

> Weird, I first thought I was reading this on the Wikipedia list, and
> that the list it returned was the opposite (places in OpenStreetMap
> that don't have a Wikipedia article). I suspect that would be a useful
> list for Wikipedia...

Steve, I have just added basic support for this. I have implemented it
quite simply by just reporting items returned by Overpass that were not in
the Wikipedia category. I have also added a "types" option that lets you
limit the Overpass query to specific types of place, which can be used to
produce slightly more sensible results.

$ ./wikipedia_osm_check.py -t village Category:Villages_in_Oxfordshire
Oxfordshire

Is this sort of output useful? Would it be better to do a secondary lookup,
to check for the presence of each missing article beyond the original
category?

Cheers,
Craig


On 14 April 2013 10:31, Steve Bennett <stevagewp at gmail.com> wrote:

> On Sun, Apr 14, 2013 at 1:14 AM, Craig Loftus <craigloftus at gmail.com>
> wrote:
> > I have knocked up a simple script that gets all the pages in a Wikipedia
> > category and checks them against place names from a given region using
> > Overpass.
> >
> > Passing in a category like Hamlets_in_Oxfordshire and Oxfordshire as the
> > region, I can then get a list of missing hamlets in Oxfordshire.
> >
> > https://github.com/craigloftus/wikipedia-osm-check
>
> Weird, I first thought I was reading this on the Wikipedia list, and
> that the list it returned was the opposite (places in OpenStreetMap
> that don't have a Wikipedia article). I suspect that would be a useful
> list for Wikipedia... (
>
> http://en.wikipedia.org/wiki/Wikipedia:WikiProject_Missing_encyclopedic_articles
> )
>
> Steve
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130414/65e77712/attachment.html>


More information about the dev mailing list