Matthijs Melissen <i...@matthijsmelissen.nl> wrote: > On 27 August 2014 17:47, Edward Betts <edw...@4angle.com> wrote: > > I've written some code to match items in Wikidata with items in OSM. > > Currently > > I have found 70,849 unique matches, where there is a one-to-one mapping > > between OSM and Wikidata objects. > > To clarify (this wasn't clear to me from your e-mail): you are not > purely matching name tags, but you also require matching objects to be > in close geographic proximity (using the location tag from Wikidata). > > Doing that, I think the chance of wrong matching is negligible. I also > looked through the list myself, and couldn't find any wrong match.
Sorry, I should've been clearer. My search starts with articles in English Wikipedia Categories, I look for the matching Wikidata items, then search OSM for items within 400m that have matching tags. For example 'Category:Castles by country' and 'historic=castle'. I compare the names with some fuzzy matching, if the names match then the two items are the same. The credit for this idea goes to Andy Mabbett (pigsonthewing), I just wrote the code. -- Edward. _______________________________________________ talk mailing list talk@openstreetmap.org https://lists.openstreetmap.org/listinfo/talk